|
Posted by Matthew Bates on January 16, 2005, 5:11 pm
Please log in for more thread options
Hi,
I'm currently trying to install the GD module for Perl on FreeBSD 4.10
and I'm experiencing some issues. I'm using the cpan to install but a
make test fails, reporting:
module GD: /usr/local/lib/libgd.so.2: Undefined symbol "libiconv_open"
at /usr/
local/lib/perl5/5.8.2/mach/DynaLoader.pm line 229
I'm relatively inexperienced with Perl so I'd appreciate any thought or
ideas.
Cheers,
Matt
|
|
Posted by Bill Karwin on January 16, 2005, 12:14 pm
Please log in for more thread options
Matthew Bates wrote:
> I'm currently trying to install the GD module for Perl on FreeBSD 4.10
> and I'm experiencing some issues. I'm using the cpan to install but a
> make test fails, reporting:
>
> module GD: /usr/local/lib/libgd.so.2: Undefined symbol "libiconv_open"
> at /usr/
> local/lib/perl5/5.8.2/mach/DynaLoader.pm line 229
Some Perl modules depend on non-Perl libraries. GD.pm uses libgd, for
example. GD.pm also apparently uses libiconv, a portable library for
converting between different international character sets.
Libiconv home and source can be found here:
http://www.gnu.org/software/libiconv/
Or you can install libiconv as a pre-compiled FreeBSD package.
Regards,
Bill K.
|
|
Posted by Matthew Bates on January 16, 2005, 9:44 pm
Please log in for more thread options Bill,
Thanks for your reply.
According to pkg_info, it's already installed:
libiconv-1.9.1_3 A character set conversion library
I've also noticed these errors when compiling the module from source
(with perl Makefile.PL):
Unrecognized argument in LIBS ignored: '/usr/local/lib/libiconv.so'
Unrecognized argument in LIBS ignored: '-Wl,-rpath'
Unrecognized argument in LIBS ignored: '-Wl,/usr/local/lib'
Any thoughts?
Cheers,
Matthew
Bill Karwin wrote:
> Matthew Bates wrote:
>
>> I'm currently trying to install the GD module for Perl on FreeBSD 4.10
>> and I'm experiencing some issues. I'm using the cpan to install but a
>> make test fails, reporting:
>>
>> module GD: /usr/local/lib/libgd.so.2: Undefined symbol "libiconv_open"
>> at /usr/
>> local/lib/perl5/5.8.2/mach/DynaLoader.pm line 229
>
>
> Some Perl modules depend on non-Perl libraries. GD.pm uses libgd, for
> example. GD.pm also apparently uses libiconv, a portable library for
> converting between different international character sets.
>
> Libiconv home and source can be found here:
> http://www.gnu.org/software/libiconv/ >
> Or you can install libiconv as a pre-compiled FreeBSD package.
>
> Regards,
> Bill K.
|
|
Posted by Tim Heaney on January 16, 2005, 6:10 pm
Please log in for more thread options >
> I've also noticed these errors when compiling the module from source
> (with perl Makefile.PL):
>
> Unrecognized argument in LIBS ignored: '/usr/local/lib/libiconv.so'
Try changing this to -liconv in @LIBS in Makefile.PL.
(Just guessing...'cpan> install GD' worked for me in Slackware Linux.)
Tim
|
|
Posted by Matthew Bates on January 17, 2005, 12:09 am
Please log in for more thread options Tim Heaney wrote:
>
>>I've also noticed these errors when compiling the module from source
>>(with perl Makefile.PL):
>>
>>Unrecognized argument in LIBS ignored: '/usr/local/lib/libiconv.so'
>
>
> Try changing this to -liconv in @LIBS in Makefile.PL.
>
> (Just guessing...'cpan> install GD' worked for me in Slackware Linux.)
>
> Tim
Tim,
It's a good thought, but I've already tried it.
The @LIBS: -lgd -lpng -lz -liconv
Matt
|
| Similar Threads | Posted | | math::pari on solaris 9 make failure | December 8, 2004, 6:36 am |
| Sudo.pm test failure | April 4, 2008, 2:37 pm |
| help wanted to understand reason for test failure (in Games::AlphaBeta) | August 1, 2004, 2:25 pm |
| Asking questions in 'make test' | July 27, 2004, 12:55 am |
| 'make test' strangeness ? | August 18, 2004, 4:10 am |
| GD make test problem | November 23, 2004, 6:32 am |
| GD make test failed | January 24, 2005, 9:37 am |
| Error in Make Test | June 30, 2006, 11:09 am |
| Net_SSLeay.pm-1.25 make test problem | July 19, 2005, 10:42 am |
| make test fails for XML::PARSER | August 25, 2005, 11:48 am |
|