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

Bug 5382

Summary: merge/compile of gdk-pixbuf fails
Product: Portage Development Reporter: Seth Rothberg <sethmr>
Component: UnclassifiedAssignee: Spider (RETIRED) <spider>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Seth Rothberg 2002-07-22 06:42:26 UTC
I receive the following compile failure message when trying to emerge or 
compile gdk-pixbuf: 
 
i686-pc-linux-gnu-gcc -shared  gnome-canvas-pixbuf.lo  -L/usr/lib  
-L/usr/X11R6/lib /usr/lib/libgnomeui.so /usr/lib/libart_lgpl.so  
/usr/lib/libgdk_imlib.so -lSM -lICE /usr/lib/libgtk.so /usr/lib/libgdk.so  
/usr/lib/libgmodule.so -ldl -lXi -lXext -lX11 /usr/lib/libgnome.so  
/usr/lib/libgnomesupport.so /usr/lib/libesd.so /usr/lib/libaudiofile.so -lm  
-ldb1 /usr/lib/libglib.so  -Wl,-soname -Wl,libgnomecanvaspixbuf.so.1 -o  
.libs/libgnomecanvaspixbuf.so.1.0.0  
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.1/../../../../i686-pc-linux-gnu/bin/ld:  
cannot find -ldb1  
collect2: ld returned 1 exit status  
make[3]: *** [libgnomecanvaspixbuf.la] Error 1  
make[3]: Leaving directory  
`/var/tmp/portage/gdk-pixbuf-0.18.0-r1/work/gdk-pixbuf-0.18.0/gdk-pixbuf'  
make[2]: *** [all-recursive] Error 1  
make[2]: Leaving directory  
`/var/tmp/portage/gdk-pixbuf-0.18.0-r1/work/gdk-pixbuf-0.18.0/gdk-pixbuf'  
make[1]: *** [all-recursive] Error 1  
make[1]: Leaving directory  
`/var/tmp/portage/gdk-pixbuf-0.18.0-r1/work/gdk-pixbuf-0.18.0'  
make: *** [all-recursive-am] Error 2  
  
!!! ERROR: The ebuild did not complete successfully.  
!!! Function src_compile, Line -26, Exitcode 2  
!!! (no error message)  
  
!!! emerge aborting on   
/usr/portage/media-libs/gdk-pixbuf/gdk-pixbuf-0.18.0-r1.ebuild .  
 
 
The relevant line seems to be "can not find -ldb1". Well, neither can I. It 
seems to me that maybe portage hasn't figured my dependencies properly. 
 
I'm compiling on a Pentium III. My CPU flags from make.conf are: 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer" 
CXXFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer" 
 
My compiler is gcc3.1. 
 
I installed from a stage 1 cd and a separate 1.3b tarball. 
 
Hope this is enough info. 
 
Thanks, 
Seth Rothberg 
 
Thanks, 
Seth
Comment 1 Spider (RETIRED) gentoo-dev 2002-07-25 06:52:37 UTC
hmm, this looks like a missing dependency.
try to emerge db-1.85-r1

Comment 2 Spider (RETIRED) gentoo-dev 2002-07-25 16:57:23 UTC
okay, the dependency is now fixed in portage as well, thankyou for your
cooperation :)