Date: Sun, 09 Mar 2008 20:12:45 -0400 From: Vinny <vinny-mail-01+f.questions20080309@palaceofretention.ca> To: freebsd-questions <freebsd-questions@freebsd.org> Subject: How did references to libc.so.7 get in my 6.3 ports? Message-ID: <47D47CFD.7000001@palaceofretention.ca>
next in thread | raw e-mail | index | archive | help
Hello Everyone, I was trying to use portupgrade on totem and ran into a problem with references for libc.so.7 failing to resolve. I have a libc.so.6, of course, seeing as libc.so.7 is for FreeBSD 7, isn't it? uname -a FreeBSD the.pal...ofretention.ca 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #0: Wed Jan 16 09:32:16 EST 2008 root@the.pal...ofretention.ca:/usr/obj/usr/src/sys/THE i386 Here is the history output of what I've done: 125 18:45 cd /usr/ports 126 18:45 whereis totem 127 18:45 cd multimedia/totem 128 18:45 portupgrade -rRpP multimedia/totem ...failed here due to libc.so.7 reference in libxlst 129 20:14 cd ../../textproc/libxslt 130 20:14 make clean 131 20:14 make install package ...failed here due to a deinstall/reinstall issue for libgcrypt, just to vex me. 132 20:17 make install package -DFORCE_PKG_REGISTER ...failed here due to libc.so.7 reference in libxlst 133 20:18 make clean 134 20:19 make ...failed here due to libc.so.7 reference in libxlst 135 20:20 ls /lib/libc.* ...only libc.so.6 136 20:20 cd ../.. 137 20:20 cvsup self-ports-supfile 138 20:27 cd textproc/libxslt ...update ports tree and try again 139 20:27 make clean 140 20:27 make install package ...failed here due to libc.so.7 reference in libxlst and so on. My current theory is that I've fetched a package that was linked on a FreeBSD 7 system. How can I find out which one? The command that was likely the culprit was: portupgrade -rRpP multimedia/totem Check this out: $ cd /usr/local/bin $ ldd totem totem: libtotem-plparser.so.1 => /usr/local/lib/libtotem-plparser.so.1 (0x280bc000) libhal.so.1 => /usr/local/lib/libhal.so.1 (0x280cb000) libglade-2.0.so.0 => /usr/local/lib/libglade-2.0.so.0 (0x280d4000) libgnome-desktop-2.so.2 => /usr/local/lib/libgnome-desktop-2.so.2 (0x280ea000) libgnomeui-2.so.0 => /usr/local/lib/libgnomeui-2.so.0 (0x280fd000) libjpeg.so.9 => /usr/local/lib/libjpeg.so.9 (0x28186000) libstartup-notification-1.so.0 => /usr/local/lib/libstartup-notification-1.so.0 (0x281a3000) libbonoboui-2.so.0 => /usr/local/lib/libbonoboui-2.so.0 (0x281ab000) libSM.so.6 => /usr/local/lib/libSM.so.6 (0x28204000) libICE.so.6 => /usr/local/lib/libICE.so.6 (0x2820c000) libgnome-keyring.so.0 => /usr/local/lib/libgnome-keyring.so.0 (0x28223000) libgnomecanvas-2.so.0 => /usr/local/lib/libgnomecanvas-2.so.0 (0x28232000) libgnome-2.so.0 => /usr/local/lib/libgnome-2.so.0 (0x2825e000) libgnomevfs-2.so.0 => /usr/local/lib/libgnomevfs-2.so.0 (0x28271000) libssl.so.4 => /usr/lib/libssl.so.4 (0x282c9000) libcrypto.so.4 => /lib/libcrypto.so.4 (0x282f8000) libavahi-glib.so.1 => /usr/local/lib/libavahi-glib.so.1 (0x283f0000) libavahi-client.so.3 => /usr/local/lib/libavahi-client.so.3 (0x283f3000) libavahi-common.so.3 => /usr/local/lib/libavahi-common.so.3 (0x28401000) libutil.so.5 => /lib/libutil.so.5 (0x2840c000) libesd.so.2 => /usr/local/lib/libesd.so.2 (0x28419000) libaudiofile.so.0 => /usr/local/lib/libaudiofile.so.0 (0x28422000) libpopt.so.0 => /usr/local/lib/libpopt.so.0 (0x28447000) libart_lgpl_2.so.5 => /usr/local/lib/libart_lgpl_2.so.5 (0x2844e000) libgtk-x11-2.0.so.0 => /usr/local/lib/libgtk-x11-2.0.so.0 (0x28464000) libgdk-x11-2.0.so.0 => /usr/local/lib/libgdk-x11-2.0.so.0 (0x287d3000) libatk-1.0.so.0 => /usr/local/lib/libatk-1.0.so.0 (0x28858000) libgdk_pixbuf-2.0.so.0 => /usr/local/lib/libgdk_pixbuf-2.0.so.0 (0x28871000) libpangocairo-1.0.so.0 => /usr/local/lib/libpangocairo-1.0.so.0 (0x28889000) libXinerama.so.1 => /usr/local/lib/libXinerama.so.1 (0x28892000) libXi.so.6 => /usr/local/lib/libXi.so.6 (0x28895000) libXcursor.so.1 => /usr/local/lib/libXcursor.so.1 (0x288a6000) libXfixes.so.3 => /usr/local/lib/libXfixes.so.3 (0x288af000) libcairo.so.2 => /usr/local/lib/libcairo.so.2 (0x288b4000) libpng.so.5 => /usr/local/lib/libpng.so.5 (0x2892a000) libpangoft2-1.0.so.0 => /usr/local/lib/libpangoft2-1.0.so.0 (0x2894c000) libfontconfig.so.1 => /usr/local/lib/libfontconfig.so.1 (0x2897a000) libexpat.so.6 => /usr/local/lib/libexpat.so.6 (0x289a4000) libfreetype.so.9 => /usr/local/lib/libfreetype.so.9 (0x289c5000) libpango-1.0.so.0 => /usr/local/lib/libpango-1.0.so.0 (0x28a2b000) libbonobo-2.so.0 => /usr/local/lib/libbonobo-2.so.0 (0x28a66000) libbonobo-activation.so.4 => /usr/local/lib/libbonobo-activation.so.4 (0x28abf000) libORBitCosNaming-2.so.0 => /usr/local/lib/libORBitCosNaming-2.so.0 (0x28ad3000) libgconf-2.so.4 => /usr/local/lib/libgconf-2.so.4 (0x28ad8000) libORBit-2.so.0 => /usr/local/lib/libORBit-2.so.0 (0x28b0a000) libgstvideo-0.10.so.0 => /usr/local/lib/libgstvideo-0.10.so.0 (0x28b5c000) libgstaudio-0.10.so.0 => /usr/local/lib/libgstaudio-0.10.so.0 (0x28b5f000) libgstbase-0.10.so.0 => /usr/local/lib/libgstbase-0.10.so.0 (0x28b76000) libgstinterfaces-0.10.so.0 => /usr/local/lib/libgstinterfaces-0.10.so.0 (0x28b9a000) libXxf86vm.so.1 => /usr/local/lib/libXxf86vm.so.1 (0x28ba3000) libdbus-glib-1.so.2 => /usr/local/lib/libdbus-glib-1.so.2 (0x28ba8000) libdbus-1.so.3 => /usr/local/lib/libdbus-1.so.3 (0x28bc2000) libXtst.so.6 => /usr/local/lib/libXtst.so.6 (0x28bf9000) libgstpbutils-0.10.so.0 => /usr/local/lib/libgstpbutils-0.10.so.0 (0x28bfe000) libgstreamer-0.10.so.0 => /usr/local/lib/libgstreamer-0.10.so.0 (0x28c08000) libgobject-2.0.so.0 => /usr/local/lib/libgobject-2.0.so.0 (0x28c9a000) libgmodule-2.0.so.0 => /usr/local/lib/libgmodule-2.0.so.0 (0x28cd4000) libgthread-2.0.so.0 => /usr/local/lib/libgthread-2.0.so.0 (0x28cd8000) libxml2.so.5 => /usr/local/lib/libxml2.so.5 (0x28cdd000) libz.so.3 => /lib/libz.so.3 (0x28dff000) libm.so.4 => /lib/libm.so.4 (0x28e10000) libglib-2.0.so.0 => /usr/local/lib/libglib-2.0.so.0 (0x28e29000) libintl.so.8 => /usr/local/lib/libintl.so.8 (0x28ec8000) libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28ed1000) libXrandr.so.2 => /usr/local/lib/libXrandr.so.2 (0x28fc6000) libXext.so.6 => /usr/local/lib/libXext.so.6 (0x28fcc000) libXrender.so.1 => /usr/local/lib/libXrender.so.1 (0x28fd9000) libX11.so.6 => /usr/local/lib/libX11.so.6 (0x28fe1000) libXau.so.6 => /usr/local/lib/libXau.so.6 (0x290c5000) libXdmcp.so.6 => /usr/local/lib/libXdmcp.so.6 (0x290c8000) librpcsvc.so.3 => /usr/lib/librpcsvc.so.3 (0x290cd000) libpthread.so.2 => /lib/libpthread.so.2 (0x290d5000) libc.so.6 => /lib/libc.so.6 (0x290f9000) libc.so.7 => not found (0x0) libicui18n.so.36 => /usr/local/lib/libicui18n.so.36 (0x291db000) libpcre.so.0 => /usr/local/lib/libpcre.so.0 (0x29301000) libgailutil.so.18 => /usr/local/lib/libgailutil.so.18 (0x29325000) libXcomposite.so.1 => /usr/local/lib/libXcomposite.so.1 (0x2932c000) libXdamage.so.1 => /usr/local/lib/libXdamage.so.1 (0x2932f000) libm.so.5 => not found (0x0) libc.so.7 => not found (0x0) libz.so.4 => not found (0x0) libm.so.5 => not found (0x0) libthr.so.3 => not found (0x0) libc.so.7 => not found (0x0) libz.so.4 => not found (0x0) libm.so.5 => not found (0x0) libthr.so.3 => not found (0x0) libc.so.7 => not found (0x0) libm.so.5 => not found (0x0) libc.so.7 => not found (0x0) libm.so.5 => not found (0x0) libz.so.4 => not found (0x0) libthr.so.3 => not found (0x0) libc.so.7 => not found (0x0) libz.so.4 => not found (0x0) libm.so.5 => not found (0x0) libthr.so.3 => not found (0x0) libc.so.7 => not found (0x0) libz.so.4 => not found (0x0) libm.so.5 => not found (0x0) libc.so.7 => not found (0x0) libm.so.5 => not found (0x0) libc.so.7 => not found (0x0) libthr.so.3 => not found (0x0) libc.so.7 => not found (0x0) libthr.so.3 => not found (0x0) libc.so.7 => not found (0x0) libthr.so.3 => not found (0x0) libc.so.7 => not found (0x0) libthr.so.3 => not found (0x0) libc.so.7 => not found (0x0) libc.so.7 => not found (0x0) libc.so.7 => not found (0x0) libthr.so.3 => not found (0x0) libc.so.7 => not found (0x0) libz.so.4 => not found (0x0) libm.so.5 => not found (0x0) libc.so.7 => not found (0x0) libc.so.7 => not found (0x0) libicuuc.so.36 => /usr/local/lib/libicuuc.so.36 (0x29332000) libicudata.so.36 => /usr/local/lib/libicudata.so.36 (0x29439000) libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x29de9000) Does anyone have any guidance on how to recover from this? Also, have any packages built on FreeBSD 7 been inadvertently placed in a 6.x repository? Am I missing something obvious? Other possible problem: Power cycle crash occurred a day or so earlier. The fsck processes did not required manual intervention on the next boot--is this an indication that no files were lost? Could I have lost some files (like libc.so.7, for instance) because of the crash? Thanks for helping, Vinny
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47D47CFD.7000001>