Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Dec 2003 16:40:39 +0000
From:      Wayne Pascoe <freebsd-questions@penguinpowered.org>
To:        freebsd-questions@freebsd.org
Subject:   Problems with Perl's Image::EXIF on 4.9-STABLE
Message-ID:  <20031227164039.GA24490@marvin.penguinpowered.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031227164039.GA24490>