Greetings.  Trying to compile a Perl module, having trouble, and no
access to a news server (so no access to Perl support), so hoping
somebody on this list has run into this problem before.

The module in question is GD, in case it matters, target platform is Red
Hat 7.

perl -MCPAN finds the GD module and downloads the source, but it fails
like so:

<snip>
LD_RUN_PATH="/usr/lib:/lib:/usr/X11R6/lib" gcc -o
blib/arch/auto/GD/GD.so  -shared -L/usr/local/lib GD.o    -L/usr/lib/X11
-L/usr/X11R6/lib -L/usr/local/lib -lgd -lpng -lz -lttf -ljpeg -lm -lX11
-lXpm 
/usr/bin/ld: cannot find -lttf
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/GD/GD.so] Error 1


This seems odd since I do have libttf installed, its files appear in
/usr/lib, and that directory is listed in the LD_RUN_PATH.

Adding and extra -L/usr/lib in the makefile, wherever I find
-L/usr/local/lib, didn't make any difference either.  Same error.

Anybody know what I might be doing wrong?

-- 
Michael Jinks, IB // Technical Entity // Saecos Corporation
"No one speaks English and everything's broken."  -- T. Waits
"Tom Waits would have made a decent sysadmin."  -- M. Jinks



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to