Can not finf lWand

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
gurkirt
Posts: 1
Joined: 2012-03-11T23:40:36-07:00
Authentication code: 8675308

Can not finf lWand

Post by gurkirt »

Hi

I am tring to compile a program which require imagemagick. I have installed imagemagick 6.6.2 .
Compile command line looks like this

g++ -L/usr/kerberos/lib -L../Resources/libraries/matio-1.3.3/src/.libs -o"Detector" ./src/MyBlob.o ./src/Frame.o ./src/Detector.o ./src/FetchedData.o ./src/ForegroundDetector.o ./src/Frames.o -lX11 -lmatio -lm -lz -lcurl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -ldl -lidn -lssl -lcrypto -lMagick++ -lWand -lpthread -lMagick

I keep on getting "/usr/bin/ld: cannot find -lWand"

Any clue?

Thanks in advance for your replies.
Gurkirt
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Can not finf lWand

Post by anthony »

that should be -lMagickWand and -lMagickCore

the name after the -l option generally refers to /usr/lib/lib.....so
For example -lMagickWand => /usr/lib/libMagickWand.so

However compile time -L path and -R path as well as LD_LIBRARY_PATH (compile and run time) is used to locate the library directories to look for the lib??? file.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply