Skip to content
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

Compilation successful but install unsuccessful: Calling executables throws libraries missing error #1102

Closed
saurabhkm opened this issue Mar 4, 2018 · 2 comments

Comments

@saurabhkm
Copy link

saurabhkm commented Mar 4, 2018

I followed the exact install instruction on the installation page and could successfully build the binaries and they work perfectly in the build folder but on running make install and then calling opj_compress/opj_decompress throws the following error:

opj_compress: error while loading shared libraries: libopenjp2.so.7: cannot open shared object file: No such file or directory

Seems like the make install is not copying the build properly. Please advice.

@szukw000
Copy link
Contributor

szukw000 commented Mar 4, 2018

@saurabhkm ,

  1. Which version of openjp2 did you use?
  2. Which operating system do you use?
  3. Which compiler did you use?
  4. Which version of cmake did you use?
    winfried

@saurabhkm
Copy link
Author

saurabhkm commented Mar 6, 2018

Thanks for the response Winfried.
This is for openjpeg2.3 on ubuntu 16.04.
I could fix this by installing libpng and running ldconfig!
I'll go ahead and close this.

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

No branches or pull requests

2 participants