gcc: /usr/lib/libdbh.so: No such file or directory I have dev-libs/dbh-1.0.15 installed but there was no /usr/lib/libdbh.so despite the fact that qpkg -l dbh told me there should be a symlink to that file. /bin/sh ../libtool --mode=link gcc -march=pentium3 -O3 -pipe -o xffm xffm-add_file.o xffm-add_folder.o xffm-add_node_contents.o xffm-aux.o xffm-glade_gui.o xffm-callbacks.o xffm-mcs-manager.o xffm-treestore.o xffm-treeview.o xffm-main.o xffm-widgets.o ../libs/libxffm.la ../libs/lib xffm_actions.la ../libs/libxffm_calls.la ../libs/libxffm_tubo.la ../libs/libxffm_fstab.la ../libs/libxffm_apps.la ../libs/libxffm_book.la ../li bs/libxffm_fgr.la ../smb/libxffmsmb.la libgladesupport.la -Wl,-R/usr/lib -ldbh -lm -lglib-2.0 -pthread -lgthread-2.0 -lglib-2.0 -Wl,--export-dy namic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lgli b-2.0 -L/usr/X11R6/lib -lxfce4mcs-client -lxfce4util -lglib-2.0 -lxfce4util -lglib-2.0 -Wl,--export-dynamic -L/usr/X11R6/lib -lxfcegui4 -lgtk-x 11-2.0 -lxfce4util -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib -2.0 -lxml2 -lpthread -lz -lm -lrt gcc -march=pentium3 -O3 -pipe -o .libs/xffm xffm-add_file.o xffm-add_folder.o xffm-add_node_contents.o xffm-aux.o xffm-glade_gui.o xffm-callbac ks.o xffm-mcs-manager.o xffm-treestore.o xffm-treeview.o xffm-main.o xffm-widgets.o -Wl,-R/usr/lib -pthread -Wl,--export-dynamic -Wl,--export-d ynamic ../libs/.libs/libxffm.so ../libs/.libs/libxffm_actions.so ../libs/.libs/libxffm_calls.so ../libs/.libs/libxffm_tubo.so ../libs/.libs/li bxffm_fstab.so ../libs/.libs/libxffm_apps.so ../libs/.libs/libxffm_book.so ../libs/.libs/libxffm_fgr.so ../smb/.libs/libxffmsmb.so ./.libs/libg ladesupport.a /usr/lib/libdbh.so /usr/lib/libgthread-2.0.so -L/usr/X11R6/lib /usr/lib/libxfce4mcs-client.so /usr/lib/libxfcegui4.so -lSM -lICE -lX11 /usr/lib/libgtk-x11-2.0.so /usr/lib/libxfce4util.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/ lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/l ibglib-2.0.so /usr/lib/libxml2.so -lpthread -lz -lm -lrt gcc: /usr/lib/libdbh.so: No such file or directory distcc[2016] ERROR: compile on localhost failed make[2]: *** [xffm] Error 1 make[2]: Leaving directory `/var/tmp/portage/xffm-3.99.3/work/xffm-3.99.3/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/xffm-3.99.3/work/xffm-3.99.3' make: *** [all] Error 2 !!! ERROR: xfce-base/xffm-3.99.3 failed. !!! Function src_compile, Line 28, Exitcode 2 !!! (no error message) Reproducible: Always Steps to Reproduce: 1. Try and emerge xffm-3.99.3 2. 3. Actual Results: When I tried to emerge xffm, gcc failed, saying it couldnt find /usr/lib/libdbh.so Expected Results: The software should have emerge xffm and spoken in tongues. Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r5) ================================================================= System uname: 2.4.20-gentoo-r5 i686 Intel(R) Celeron(TM) CPU 1100MHz distcc 2.10 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.2 [enabled] ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox autoaddcvs buildpkg ccache distcc" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://mail.sarai.kit/gentoo-portage" USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ libwww mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm berkdb slang readline arts aalib svga tcltk java mysql X sdl gpm tcpd pam ssl perl python esd imlib oggvorbis gnome gtk qt kde motif opengl ldap apache2 curl dga gtk2 gtkhtml i8x0 lcms mozaccess mozilla mozinterfaceinfo moznoirc moznomail mozp3p mozsvg mozxmlterm offensive samba sse tiff type1 wmf xml -3dnow"
unmerging and re-emerging dbh recreated the symlink and solved the problem.
marking invalid