Front page | perl.perl5.porters |
Postings from January 2004
[perl #25275] library switch recognition problem possibly
Thread Next
From:
Warren Dodge
Date:
January 26, 2004 20:44
Subject:
[perl #25275] library switch recognition problem possibly
Message ID:
rt-3.0.8-25275-72229.3.54072594042485@perl.org
# New Ticket Created by Warren Dodge
# Please include the string: [perl #25275]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=25275 >
This is a bug report for perl from warren.dodge@tektronix.com,
generated with the help of perlbug 1.34 running under perl v5.8.3.
-----------------------------------------------------------------
[Please enter your report here]
I am trying to load the "GD" module into perl5.8.3
I have build the gd application in a non-standard place.
When I do the make test it fails because the libgd.so is not found.
On linux you can't seem to use the -R/libpath switch so I am adding
-Wl,-rpath -Wl,/tools/perl5.8.3/support/lib instead.
The perl Makefile.PL step has these messages.
_____________________________________________________________________________
perl Makefile.PL
NOTICE: This module requires libgd 2.0.12 or higher.
it will NOT work with earlier versions.
See www.cpan.org for versions of GD that are compatible
with earlier versions of libgd.
If you are using Math::Trig 1.01 or lower, it has a bug that
causes a "prerequisite not found" warning to be issued. You may
safely ignore this warning.
Type perl Makefile.PL -h for command-line option summary
Where is libgd installed? [/usr/lib] /tools/perl5.8.3/support/lib
Please choose the features that match how libgd was built:
Build JPEG support? [y]
Build FreeType support? [y]
Build XPM support? [y]
If you experience compile problems, please check the @INC, @LIBPATH and @LIBS
arrays defined in Makefile.PL and manually adjust, if necessary.
Checking if your kit is complete...
Looks good
Unrecognized argument in LIBS ignored: '-Wl,-rpath'
Unrecognized argument in LIBS ignored: '-Wl,/tools/perl5.8.3/support/lib'
Writing Makefile for GD
It seems it should recognize these switches as legal LIBS switches.
I assume this is in the main portion of perl.
do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
category=core
severity=low
---
Site configuration information for perl v5.8.3:
Configured by warrend at Fri Jan 23 16:16:51 PST 2004.
Summary of my perl5 (revision 5.0 version 8 subversion 3) configuration:
Platform:
osname=linux, osvers=2.4.21-4.elhugemem, archname=i686-linux-thread-multi
uname='linux tekcs22 2.4.21-4.elhugemem #1 smp fri oct 3 17:31:20 edt 2003 i686 i686 i386 gnulinux '
config_args='-Dmksymlinks -Dprefix=/tools/perl5.8.3'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -I/tools/perl5.8.3/support/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O3',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -I/tools/perl5.8.3/support/include'
ccversion='', gccversion='3.3.2', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='gcc', ldflags =''
libpth=/lib /usr/lib /tools/perl5.8.3/support/lib
libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=/lib/libc-2.3.2.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.3.2'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fpic', lddlflags='-shared'
Locally applied patches:
---
@INC for perl v5.8.3:
/tools/perl5.8.3/lib/5.8.3/i686-linux-thread-multi
/tools/perl5.8.3/lib/5.8.3
/tools/perl5.8.3/lib/site_perl/5.8.3/i686-linux-thread-multi
/tools/perl5.8.3/lib/site_perl/5.8.3
/tools/perl5.8.3/lib/site_perl
.
---
Environment for perl v5.8.3:
HOME=/login/warrend/lxhome
LANG=C
LANGUAGE (unset)
LANGVAR=en_US.UTF-8
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH=/stdapps/lsf/2.4.21/bin:/stdapps/lsf/local/bin:/stdapps/lsf/2.4.21/bin:/stdapps/lsf/local/bin:/tools/gcc-3.3.2/bin:/tools/perl5.8.3/bin:/tools/gnuplot-3.8j.0/bin:/usr/bin:/bin:/usr/X11R6/bin
PERL_BADLANG (unset)
SHELL=/bin/tcsh
Thread Next
-
[perl #25275] library switch recognition problem possibly
by Warren Dodge