Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 329665 - media-libs/swfdec-0.8.4 requires media-libs/libpng-1.2, media-libs/libpng-1.4.3 installed
Summary: media-libs/swfdec-0.8.4 requires media-libs/libpng-1.2, media-libs/libpng-1.4...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-24 06:04 UTC by Clemens Hlauschek
Modified: 2010-07-24 08:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.