Skip to content

Correcting a typo (?) for libs in linux #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 14, 2015
Merged

Correcting a typo (?) for libs in linux #5

merged 1 commit into from
Apr 14, 2015

Conversation

romainFr
Copy link
Contributor

At least in Ubuntu 14.04.
I was getting the ERROR: LoadError: No pre-installed libraries. Set path manually or install OpenCV. before that.

After this correction, I'm still getting the following error though:

ERROR: LoadError: UndefVarError: RTLD_GLOBAL not defined
 in anonymous at ./no file:76
 in include at ./boot.jl:250
 in include_from_node1 at ./loading.jl:129
 in reload_path at ./loading.jl:153
 in _require at ./loading.jl:68
 in require at ./loading.jl:52
while loading ~/.julia/v0.4/OpenCV/src/OpenCV.jl, in expression starting on line 71

@maxruby
Copy link
Owner

maxruby commented Apr 13, 2015

Sorry to hear that you are having trouble loading the OpenCV libs in Ubuntu. Have you seen the discussion in #3? I never had a chance to finalize a more generic script for loading the libs for Linux or Windows, simply because I mainly work on OSX. However, we can try to find a more general solution if I understand what the problem actually is. What is the path of your OpenCV libs in Ubuntu? Is your OpenCV installation working already in your system?

@romainFr
Copy link
Contributor Author

OpenCV is working, and the libraries are found (with the correction). The extra error was due to a recent change in Julia (JuliaLang/julia#10328) : dlopen and RTLD_GLOBAL should be Libdl.dlopen and Libdl.RTLD_GLOBAL throughout. I'm still getting core dumps past that, though, I'll try to investigate them when I get the time.

@maxruby
Copy link
Owner

maxruby commented Apr 14, 2015

OK. I will merge your PR after checking, but it will be good to find out what else is preventing a smooth use of OpenCV.jl in Ubuntu.

maxruby added a commit that referenced this pull request Apr 14, 2015
Correcting a typo (?) for libs in linux
@maxruby maxruby merged commit f6cb883 into maxruby:master Apr 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants