Hi,
I am trying to install the GD.pm perl module in one alpha machine with
perl 5.004_01. I think that I have successfull installed the GD on my
alpha machine, and all the required library files is in /usr/local/lib
directory. But when I try to make the makefile using the given perl
script, the perl script can't find the correct library ( this perl script
uses ExtUtils::MakeMaker).
I have seen that the linux ld and the tru64 ld are different, and i am
thinking that this probably is my problem. That script try to input the
the directory above in the search path, but it doesn't works. I am asking
you if someone had this trouble before and have fixed, or if you have any
idea how to install this.
here is the part where it is done:
... skipping ....
my _at_extrasearch = qw( -L/usr/lib/X11 -L/usr/X11R6/lib -L/usr/X11/lib
-L/usr/local/lib );
... skipping ....
push _at_extralibs, "-lgd","-lz","-lpng","-lttf";
... skipping ....
if ($^O ne 'freebsd') {
push _at_extralibs,_at_extrasearch,'-lX11','-lXpm';
}
.......
this is my ls -l in that respective directory:
...skipping
-rw-r--r-- 1 bin bin 258474 Feb 23 16:49 libgd.a
-rw-r--r-- 1 root system 324088 Feb 22 19:24 libpng.a
-rwxr-xr-x 1 root system 278528 Feb 22 19:24 libpng.so.2.1.0.5
-rw-r--r-- 1 root system 630 Feb 23 14:30 libttf.la
lrwxrwxrwx 1 root system 15 Feb 23 14:30 libttf.so ->
libttf.so.4.2.0
-rwxr-xr-x 1 root system 475136 Feb 23 14:30 libttf.so.4.2.0
-rw-r--r-- 1 root system 112378 Feb 22 18:52 libz.a
and the perl script output :
'ABSTRACT' is not a known MakeMaker parameter name.
'AUTHOR' is not a known MakeMaker parameter name.
'CAPI' is not a known MakeMaker parameter name.
Note (probably harmless): No library found for -lgd
Note (probably harmless): No library found for -lz
Note (probably harmless): No library found for -lpng
Note (probably harmless): No library found for -lttf
Note (probably harmless): No library found for -lXpm
Writing Makefile for GD
Thanks in advances,
Marcio Henrique Leiner
Received on Wed Feb 23 2000 - 22:28:54 NZDT