Posted on 2005-09-06 06:47:11-07 by iiibill
Problems Building on Fedora Core 4 AMD64
When I try the standard build of PerlMagick on my Fedora Core 4 AMD64 system I get the following failure:
gcc -L/usr/local/lib -shared Magick.o -o blib/arch/auto/Image/Magick/Magick.so -L/usr/local/lib + -lMagick -L/usr/X11R6/lib -lfreetype -lz -L/usr/lib -ltiff -lfreetype -ljpeg -lpng -ldpstk -ldps +-lXext -lXt -lSM -lICE -lX11 -lbz2 -lxml2 -lz -lpthread -lm -lpthread /usr/bin/ld: cannot find -ldpstk collect2: ld returned 1 exit status make: *** [blib/arch/auto/Image/Magick/Magick.so] Error 1

But when I look around for dpstk I see:
# locate dpstk /usr/X11R6/lib/libdpstk.so.1 /usr/X11R6/lib/libdpstk.so.1.0 /usr/X11R6/lib64/libdpstk.so /usr/X11R6/lib64/libdpstk.so.1 /usr/X11R6/lib64/libdpstk.so.1.0 /usr/X11R6/lib64/libdpstk.a

Looks to me like the build procedure is not looking in the right place for the needed module. How do I fix this?
Thanks,
Bill
Direct Responses: 1837 | Write a response
Posted on 2006-02-23 14:32:58-08 by grzniuk in response to 957
Re: Problems Building on Fedora Core 4 AMD64
Hi, did this ever get resolved? I'm having the same problem on my box:
# cat /etc/redhat-release Red Hat Linux release 9 (Shrike) # uname -a Linux JIC4690 2.4.20-31.9smp #1 SMP Tue Apr 13 17:40:10 EDT 2004 i686 i686 i386 GNU/Linux # make Running Mkbootstrap for Image::Magick () chmod 644 Magick.bs rm -f blib/arch/auto/Image/Magick/Magick.so LD_RUN_PATH="/usr/lib:/usr/X11R6/lib" cc -L/usr/lib -shared -L/usr/local/lib Magick.o -o blib/arc +h/auto/Image/Magick/Magick.so -L/usr/lib -L/usr/X11R6/lib -lMagick -ltiff -ljpeg -lpng -ldpstk - +ldps -lXext -lXt -lSM -lICE -lX11 -lbz2 -lxml2 -lpthread -lm -lpthread /usr/bin/ld: cannot find -ldpstk collect2: ld returned 1 exit status make: *** [blib/arch/auto/Image/Magick/Magick.so] Error 1 # locate libdpstk /usr/X11R6/lib/libdpstk.so.1 /usr/X11R6/lib/libdpstk.so.1.0
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.