Fwd: [Mimedefang] graphdefang perl module install help

Mitch Mitch at 0Bits.COM
Tue Sep 16 12:39:00 EDT 2003


Basically when you built libgd.so.2 it did not add an automatic
dependency for libiconv. This means you must either rebuild libgd.so
and add -liconv manually or add -liconv to your perl build line for
GD.so.

I.e. although there are missing iconv symbols:

core /usr/local/lib% nm libgd.so.2|grep ico
          U libiconv
          U libiconv_close
          U libiconv_open

There is no dependency on libiconv.so in libgd.so.2:
core /usr/local/lib% ldd libgd.so.2
         libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x40047000)
         libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40056000)
         libjpeg.so.62 => /usr/local/lib/libjpeg.so.62 (0x40117000)
         libfreetype.so.6 => /usr/local/lib/libfreetype.so.6 (0x40135000)
         libpng.so.3 => /usr/lib/libpng.so.3 (0x40181000)
         libz.so.1 => /usr/lib/libz.so.1 (0x401af000)
         libm.so.6 => /lib/libm.so.6 (0x401be000)
         libc.so.6 => /lib/libc.so.6 (0x401e1000)
         libdl.so.2 => /lib/libdl.so.2 (0x40311000)
         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

-------- Original Message --------
Subject: [Mimedefang] graphdefang perl module install help
Date: Tue, 16 Sep 2003 12:27:57 -0400 (EDT)
From: Mary Verge DeSisto <mverge at epnet.com>
Reply-To: mimedefang at lists.roaringpenguin.com
To: mimedefang at lists.roaringpenguin.com

I have been having a hard time getting the required perl modules installed and
Was wondering if anyone else has experienced the same problem.
This is on solaris 8 with perl 5.6.1 and gcc 3.2.1.
I needed libgd, so I installed it and freetype, xpm, jpeg, libpng and libiconv.

When I try to install GD from CPAN I get a fatal relocation error and a
libiconv_open referenced symbol not found error.  I have searched through google
and have not found anything pertinent.  Sorry if this is an inappropriate post
for this list, but I am at a real loss here and was hoping to tap into the
expertise on this list.

thanks,
-Mary

PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/u01/perl-5.6.1/lib/5.6.1/sun4-solaris -I/u01/perl-5.6.1/lib/5.6.1 -e 'use
Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/GD..........Can't load './blib/arch/auto/GD/GD.so' for module GD: ld.so.1:
/usr/bin/perl: fatal: relocation error: file /usr/local/lib/libgd.so.2: symbol
libiconv_open: referenced symbol not found at
/u01/perl-5.6.1/lib/5.6.1/sun4-solaris/DynaLoader.pm line 206.
  at t/GD.t line 13
Compilation failed in require at t/GD.t line 13.
BEGIN failed--compilation aborted at t/GD.t line 13.



_______________________________________________
MIMEDefang mailing list
MIMEDefang at lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang




More information about the MIMEDefang mailing list