Problems with Perl's Image::EXIF on 4.9-STABLE

Wayne Pascoe freebsd-questions at penguinpowered.org
Sat Dec 27 08:39:33 PST 2003


Hi all,

I'm trying to install perl's Image::EXIF module on FreeBSD 4.9-STABLE.
I'm using perl 5.8.2 installed from ports.

I've installed libexif from /usr/ports/graphics/libexif and tried to
install Image::EXIF from CPAN.

make test fails with 
# Using Test.pm version 1.24
Can't load 'blib/arch/auto/Image/EXIF/EXIF.so' for module Image::EXIF:
blib/arch/auto/Image/EXIF/EXIF.so: Undefined symbol "gpstags" at
/usr/local/lib/perl5/5.8.2/mach/DynaLoader.pm line 229.
 at test.pl line 10
 Compilation failed in require at test.pl line 10.

Skipping the test and forcing the install leaves me with a non-working
module. Trying to use it, I get :

$ perl -e 'use Image::EXIF; print "hello\n";'
Can't load
'/usr/local/lib/perl5/site_perl/5.8.2/mach/auto/Image/EXIF/EXIF.so' for
module Image::EXIF:
/usr/local/lib/perl5/site_perl/5.8.2/mach/auto/Image/EXIF/EXIF.so:
Undefined symbol "gpstags" at
/usr/local/lib/perl5/5.8.2/mach/DynaLoader.pm line 229.
 at -e line 1
 Compilation failed in require at -e line 1

It looks like ld cannot use the EXIF.so file because of an undefined
symbol. I can't find any other dependencies listed for this module, and
I'm not exactly sure what this LD error message means.

Cany anyone advise me on a fix for this ? 

Thanks in advance,

-- 
Wayne Pascoe
Give me enough medals, and I'll win any war.
- Napolean


More information about the freebsd-questions mailing list