Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 400995 - sci-visualization/gnuplot-4.6rc1 ld: cannot find -lpng14
Summary: sci-visualization/gnuplot-4.6rc1 ld: cannot find -lpng14
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 411305 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-01-27 07:44 UTC by Anton Kochkov
Modified: 2012-04-10 00:05 UTC (History)
2 users (show)

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


Attachments
full build log (gnuplot.log,138.13 KB, text/plain)
2012-01-27 07:44 UTC, Anton Kochkov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Kochkov 2012-01-27 07:44:22 UTC
Created attachment 300025 [details]
full build log

c++  -O2 -march=core2 -mfpmath=sse -mmmx -msse -msse2 -mssse3 -pipe -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -DQT_SHARED -pthread -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore -I/usr/include/pango-1.0   -pthread -DQT_SHARED -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore     -Wl,-O1 -Wl,--as-needed -L/usr/lib -Wl,-O1 -Wl,--as-needed -o gnuplot_qt gnuplot_qt.o QtGnuplotWindow.o QtGnuplotApplication.o QtGnuplotWidget.o QtGnuplotScene.o QtGnuplotItems.o QtGnuplotEvent.o moc_QtGnuplotWindow.o moc_QtGnuplotApplication.o moc_QtGnuplotWidget.o moc_QtGnuplotScene.o moc_QtGnuplotEvent.o qrc_QtGnuplotResource.o -L/usr/lib/qt4 -lQtNetwork -lQtSvg -lQtGui -lQtCore   -lm  -pthread -lz -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0  
/usr/lib/gcc/i686-pc-linux-gnu/4.5.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lpng14
collect2: ld returned 1 exit status
make[3]: *** [gnuplot] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/sci-visualization/gnuplot-4.6_rc1/work/gnuplot-4.6.rc1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/sci-visualization/gnuplot-4.6_rc1/work/gnuplot-4.6.rc1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sci-visualization/gnuplot-4.6_rc1/work/gnuplot-4.6.rc1'
make: *** [all] Error 2
 [31;01m*[0m ERROR: sci-visualization/gnuplot-4.6_rc1 failed (compile phase):
 [31;01m*[0m   emake failed
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of 'emerge --info =sci-visualization/gnuplot-4.6_rc1',
 [31;01m*[0m the complete build log and the output of 'emerge -pqv =sci-visualization/gnuplot-4.6_rc1'.
 [31;01m*[0m The complete build log is located at '/var/tmp/portage/sci-visualization/gnuplot-4.6_rc1/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/sci-visualization/gnuplot-4.6_rc1/temp/environment'.
 [31;01m*[0m S: '/var/tmp/portage/sci-visualization/gnuplot-4.6_rc1/work/gnuplot-4.6.rc1'
Comment 1 Anton Kochkov 2012-01-27 07:46:13 UTC
forgot to add - i have installed libpng-1.5.7
Comment 2 Ulrich Müller gentoo-dev 2012-01-27 13:51:10 UTC
Looks like a late fallout of the libpng15 upgrade.

Actually, you should have a news item ("eselect news list") for this. Just read the 2011-10-15-libpng15 item and follow its instructions.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2012-01-27 16:26:05 UTC
wieneke ~ # eselect news read 8
2011-10-15-libpng15
  Title                     Upgrade to libpng15
  Author                    Samuli Suominen <ssuominen@gentoo.org>
  Posted                    2011-10-15
  Revision                  1

After upgrading from libpng14 to libpng15 it's important that you rebuild
cairo and gdk-pixbuf as soon as possible if they are installed.

Then you can proceed with rebuilding the rest of the software against the new
library:

# revdep-rebuild --library libpng14.so.14 -- --keep-going

Note: It might be necessary to run the previous command more than once.

If you find packages not building with the message "ld: cannot find -lpng14",
they are likely caused by broken libtool archives (.la) in your system.

You can identify those files with following one-liner:

# find /usr/ -name '*.la' -exec grep png14 {} +

Once you have identified the broken files, you can either delete them,
edit them in place and replace png14 with png15, or re-emerge the packages
they belong to.

More information and help is available at the following forum post:

http://forums.gentoo.org/viewtopic-t-894950.html
Comment 4 Ulrich Müller gentoo-dev 2012-04-10 00:05:32 UTC
*** Bug 411305 has been marked as a duplicate of this bug. ***