Skip Menu |

This queue is for tickets about the Prima CPAN distribution.

Report information
The Basics
Id: 82964
Status: resolved
Priority: 0/
Queue: Prima

People
Owner: Nobody in particular
Requestors: myra.nelson [...] hughes.net
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.36
Fixed in: (no value)



Subject: Test failure Can't load 'blib/arch/auto/Prima/Prima.so' for module Prima:
After building Prima make test fails with the following error message. PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl Can't load 'blib/arch/auto/Prima/Prima.so' for module Prima: blib/arch/auto/Prima/Prima.so: undefined symbol: FreeMapObject at /usr/lib/perl5/core_perl/DynaLoader.pm line 190. at test/Tester.pl line 34. Compilation failed in require at test/Tester.pl line 34. BEGIN failed--compilation aborted at test/Tester.pl line 34. make: *** [test_dynamic] Error 255 perl v5.16.2 built for x86_64-linux-thread-multi Prima 1.36 Linux gandalf 3.7.4-1-ARCH #1 SMP PREEMPT Mon Jan 21 23:05:29 CET 2013 x86_64 GNU/Linux gtk2 2.24.14 gcc 4.7.2 I attached the complete build log. Myra
Subject: perl-prima-1.36-1-x86_64-build.log

Message body is not shown because it is too large.

Hi, FreeMapObject comes from libungif, which changed API between v4 and v5. In v4 the function is called FreeMapObject, and in v5 GifFreeMapObject. Chances are that either Prima detected the ungif version incorrectly, or there are installation problems, i.e. header and library files have different versions onl your system. Can you possibly find out what GIFLIB_MAJOR/GIFLIB_MINOR/GIF_LIB_VERSION are defined to in your gif_lib.h ? And what does libungif.so (the one pointed by "ldd ./blib/auto/Prima/Prima.so") export, GifFreeMapObject or FreeMapObject? (f.ex. "nm /usr/lib/libungif.so" can find that out). /dk
From: myra.nelson [...] hughes.net
On Fri Jan 25 18:03:40 2013, KARASIK wrote: Show quoted text
> Hi, > > FreeMapObject comes from libungif, which changed API between v4 and
v5. In Show quoted text
> v4 the function is called FreeMapObject, and in v5 GifFreeMapObject. > Chances are that either Prima detected the ungif version incorrectly, or > there are installation problems, i.e. header and library files have > different versions onl your system. > > Can you possibly find out what GIFLIB_MAJOR/GIFLIB_MINOR/GIF_LIB_VERSION > are defined to in your gif_lib.h ? And what does libungif.so (the one > pointed by "ldd ./blib/auto/Prima/Prima.so") export, GifFreeMapObject or > FreeMapObject? (f.ex. "nm /usr/lib/libungif.so" can find that out). > > > /dk
Thanks for your quick response, however this make take some time to sort out. "ldd ./blib/auto/arch/Prima/Prima.so" doesn't show anything for GifFreeMapObject, but wait it gets better. "nm /usr/lib/libunfig.so or .so.4 or .so.4.1.6 comes back with no symbols. Since I've already tipped my hand, from gif_lib.h for 4.1.6 has #define GIF_LIB_VERSION " Version 4.1, ". No Major, Minor, etc. My guess is that throughs a major monkey wrench in the works. Occassionally using Arch does present some interesting problems. I'm going to have to determine how much breakage will occur, so far fontforge; imlib2; and mencoder, and besides re-compiling those if I will cause any other problems. So for now, if it were me, I'd mark this as stalled or won't fix and let me sort it out on my end. Again, thanks for the quick response, your time, and assistance. Myra
From: myra.nelson [...] hughes.net
On Sat Jan 26 00:14:32 2013, myra.nelson@hughes.net wrote: Show quoted text
> On Fri Jan 25 18:03:40 2013, KARASIK wrote:
> > Hi, > > > > FreeMapObject comes from libungif, which changed API between v4 and
> v5. In
> > v4 the function is called FreeMapObject, and in v5 GifFreeMapObject. > > Chances are that either Prima detected the ungif version
incorrectly, or Show quoted text
> > there are installation problems, i.e. header and library files have > > different versions onl your system. > > > > Can you possibly find out what
GIFLIB_MAJOR/GIFLIB_MINOR/GIF_LIB_VERSION Show quoted text
> > are defined to in your gif_lib.h ? And what does libungif.so (the one > > pointed by "ldd ./blib/auto/Prima/Prima.so") export,
GifFreeMapObject or Show quoted text
> > FreeMapObject? (f.ex. "nm /usr/lib/libungif.so" can find that out). > > > > > > /dk
> > Thanks for your quick response, however this make take some time to sort > out. > > "ldd ./blib/auto/arch/Prima/Prima.so" doesn't show anything for > GifFreeMapObject, but wait it gets better. "nm /usr/lib/libunfig.so or > .so.4 or .so.4.1.6 comes back with no symbols. Since I've already tipped > my hand, from gif_lib.h for 4.1.6 has #define GIF_LIB_VERSION " Version > 4.1, ". No Major, Minor, etc. > > My guess is that throughs a major monkey wrench in the works. > Occassionally using Arch does present some interesting problems. I'm > going to have to determine how much breakage will occur, so far > fontforge; imlib2; and mencoder, and besides re-compiling those if I > will cause any other problems. > > So for now, if it were me, I'd mark this as stalled or won't fix and let > me sort it out on my end. > > Again, thanks for the quick response, your time, and assistance. > > Myra
Please mark this closed. Prima builds and tests fine with giflib-5.0.4. I'll just have to wait until imlib2 and some others catch up to the latest version of giflib to be able to use Prima. Thanks again for all your assistance. Myra
good to know, thank you!