>>> emerge app-games/frozen-bubble-0.9.3-r1 to / >>> md5 ;-) frozen-bubble-0.9.3.tar.bz2 >>> Unpacking source... >>> Unpacking frozen-bubble-0.9.3.tar.bz2 >>> Source unpacked. Can't load '/usr/lib/perl5/site_perl/5.6.1/i686-linux/auto/SDL_perl/SDL_perl.so' for module SDL_perl: libpng.so.2: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.6.1/i686-linux/DynaLoader.pm line 206. at /usr/lib/perl5/site_perl/5.6.1/i686-linux/SDL.pm line 9 Compilation failed in require at /usr/lib/perl5/site_perl/5.6.1/i686-linux/SDL.pm line 9. BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.6.1/i686-linux/SDL.pm line 9. Compilation failed in require at -e line 1. BEGIN failed--compilation aborted at -e line 1. *** I need perl-SDL installed make: *** [dirs] Error 1 libpng-1.2.3 does not generate a libpng.so.2 link (nor do I know if it can, safely). Is this a dependency problem requiring the older libpng library?
emerge dev-perl/SDL-sdlpl
Actually, it's renamed to sdl-perl
sdl-perl is already emerged (it's a dependency of frozen-bubble, I believe)
emerge libpng emerge sdl-perl emerge frozen-bubble
qube, that work for you?
Not at my computer at the moment, but both sdl-perl and libpng are already emerged, and I was getting the error from emerge frozen-bubble, so I'd say no.
ok, my suggestion was to RE-emerge those. Would you please try that and report?
Qube, reopen if the problem persists.
emerge -C libpng sdl-perl emerge libpng sdl-perl emerge frozen-bubble Calculating dependencies ...done! >>> emerge app-games/frozen-bubble-0.9.3-r1 to / >>> md5 ;-) frozen-bubble-0.9.3.tar.bz2 >>> Unpacking source... >>> Unpacking frozen-bubble-0.9.3.tar.bz2 >>> Source unpacked. Can't load '/usr/lib/perl5/site_perl/5.6.1/i686-linux/auto/SDL_perl/SDL_perl.so' for module SDL_perl: libpng.so.2: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.6.1/i686-linux/DynaLoader.pm line 206. at /usr/lib/perl5/site_perl/5.6.1/i686-linux/SDL.pm line 9 Compilation failed in require at /usr/lib/perl5/site_perl/5.6.1/i686-linux/SDL.pm line 9. BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.6.1/i686-linux/SDL.pm line 9. Compilation failed in require at -e line 1. BEGIN failed--compilation aborted at -e line 1. *** I need perl-SDL installed make: *** [dirs] Error 1 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 2, Exitcode 2 !!! (no error message) !!! emerge aborting on /usr/portage/app-games/frozen-bubble/frozen-bubble-0.9.3-r1.ebuild .
seems to be a portage issue. do you have both libpng's installed? I know you're getting sick of all these emerge thingies, but please try this: emerge unmerge libpng emerge libpng emerge sdl-perl emerge frozen-bubble There's a glitch in portage which currently removes some symlinks, which is being worked on.
I have only libpng-1.2.3. A while ago, libpng-1.0.x and 1.2.x could coexist, but then I'm not sure what happened. As it is now, emerging libpng-1.0.x alone works to allow frozen-bubble to work. Emerging both libpng's, in the proper version order, causes sdl-perl and hence frozen-bubble to be compiled partially against the wrong libpng version (it states it's using the wrong png.c). Emerging libpng-1.2.x alone and generating a libpng.so.2 symlink compiles, but fails with an incompatible png version error. Ideas?
what that tells me is that one of the dependencies of sdl-perl was compiled against the old libpng. So, keep the old one removed for now, and remerge libsdl, as well as sdl-image. (We're only a couple of packages away from deprecating the old libpng, so this a good thing to do anyway)
remerging libsdl and sdl-image fixed the problem