shared libraries

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
kh263

shared libraries

Post by kh263 »

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?
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: shared libraries

Post by anthony »

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.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply