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

Bug 138430

Summary: links needs libpng in graphics mode!
Product: Gentoo Linux Reporter: Manuel Hartl <icecep>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: config.log from emerge of links

Description Manuel Hartl 2006-06-29 00:57:23 UTC
checking for util/locker.h... no
checking for util/application.h... no
checking for inflate in -lz... no
checking for png.h... yes
checking for libpng/png.h... yes
checking for png_create_info_struct in -lpng... no
configure: error: You need libpng to compile Links in graphics mode

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/links-2.1_pre20/work/links-2.1pre20/config.log
Comment 1 Manuel Hartl 2006-06-29 00:58:55 UTC
Created attachment 90400 [details]
config.log from emerge of links
Comment 2 UncleOwen 2006-06-29 02:23:34 UTC
Hmm... looks like that is already handled in the ebuild... Please post emerge -p links and emerge --info
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2006-06-29 09:12:47 UTC
configure:6913: checking for png_create_info_struct in -lpng
configure:6932: i686-pc-linux-gnu-gcc -o conftest -march=k8 -pipe -O3 -fomit-frame-pointer -m3dnow -msse -msse2 -mmmx -mfpmath=sse    -I/usr/include/SDL -D_REENTRANT  conftest.c -lpng  -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -lXext -lX11 -lvga -lssl -lcrypto -ldl   -ldl -lgpm -lpcre -lm  1>&5
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: warning: libdirectfb-0.9.so.22, needed by /usr/lib/libSDL.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: warning: libfusion-0.9.so.22, needed by /usr/lib/libSDL.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: warning: libdirect-0.9.so.22, needed by /usr/lib/libSDL.so, not found (try using -rpath or -rpath-link)
/usr/lib/libSDL.so: undefined reference to `DirectFBCreate'
/usr/lib/libSDL.so: undefined reference to `DirectFBErrorString'
/usr/lib/libSDL.so: undefined reference to `DirectFBError'
/usr/lib/libSDL.so: undefined reference to `DirectFBInit'
collect2: ld returned 1 exit status
configure: failed program was:
#line 6921 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char png_create_info_struct();



Looks like you missed to run `revdep-rebuild` after updating DirectFB. If this isn't the case, reopen please.