Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 329665

Summary: media-libs/swfdec-0.8.4 requires media-libs/libpng-1.2, media-libs/libpng-1.4.3 installed
Product: Gentoo Linux Reporter: Clemens Hlauschek <clemens>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Clemens Hlauschek 2010-07-24 06:04:39 UTC
emerge fails:

/bin/grep: /usr/lib64/libpng12.la: No such file or directory
/bin/sed: can't read /usr/lib64/libpng12.la: No such file or directory
libtool: link: `/usr/lib64/libpng12.la' is not a valid libtool archive
make[4]: *** [libswfdec-0.8.la] Error 1

after "ln -s /usr/lib64/libpng14.la /usr/lib64/libpng12.la", emerge fails with 

/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpng12
collect2: ld returned 1 exit status



Reproducible: Always

Steps to Reproduce:
1.emerge =media-libs/swfdec-0.8.4
2.
3.

Actual Results:  
build error

Expected Results:  
clean install
Comment 1 Clemens Hlauschek 2010-07-24 06:19:57 UTC
same problem for www-plugins/gnash-0.8.7:

libtool: link: cannot find the library `/usr/lib64/libpng12.la' or unhandled argument `/usr/lib64/libpng12.la'


Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-07-24 08:08:27 UTC
Remove all those symlinks you may have created and re-emerge libpng-1.4.3, and read the postinst message.
It has a script you need to run to fix .la files.