shared libraries
shared libraries
My application is having trouble loading the shared library libMagick++.so.1 . Where must this file be? Are there environment variables that must point to this file?
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: shared libraries
It must be in a standard library directory like /usr/lib, as set by the ldconfig command.
OR in the directories specified (in order) by the LD_LIBRARY_PATH under UNIX, or the equivalent under Macs.
The ldd command given the executable file as an argument will list the libraries wanted and the librarys it matched up to those wants. This lets you check you are getting the right library for special cases such as having multiple versions of some library.
OR in the directories specified (in order) by the LD_LIBRARY_PATH under UNIX, or the equivalent under Macs.
The ldd command given the executable file as an argument will list the libraries wanted and the librarys it matched up to those wants. This lets you check you are getting the right library for special cases such as having multiple versions of some library.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/