Date: Sun, 26 Nov 2006 19:35:31 +0100 From: Armin Arh <armin@pubbox.net> To: service <service@fixer.com> Cc: freebsd-questions@freebsd.org Subject: Re: packages failing to load Message-ID: <20061126183530.GA686@pubbox.net> In-Reply-To: <45693927.9040606@fixer.com> References: <4567C6EF.4040008@fixer.com> <20061125160051.GA761@pubbox.net> <45693927.9040606@fixer.com>
next in thread | previous in thread | raw e-mail | index | archive | help
libc and libm are system libraries. These are not ports. You find them in the compat4X and compat5X stuff coming along with FreeBSD itself. Look on a close Mirror for files like ./5.4-RELEASE/compat3x: CHECKSUM.MD5 compat3x.aa compat3x.ab compat3x.inf compat3x.mtree install.sh ./5.4-RELEASE/compat4x: CHECKSUM.MD5 compat4x.aa compat4x.ab compat4x.inf compat4x.mtree install.sh # -> fetch the complete directories, then cd compat3x sh install.sh # etc. Installing compat3x, compat4x from any release will work an all boxes. Thus, you can fetch the stuff from 6.1-RELEASE, install this on your 5.5, and it will work on your 7.X, too! + It does no harm to your disk, because it's small. enjoy, Armin -- PUBBOX Postmaster + spam-killer. Free email addresses at http://pubbox.net/ On Sat, Nov 25, 2006 at 11:50:15PM -0700, service wrote: > That worked. libexpt.so.6 was successfully installed. Now I need > 'libc.so.5' and 'libm.so.2'. Any idea where I can find these 2 files? > I tried 'pkg_info -L' on a lot of files with no luck. i also went back > to my older releases with no luck also. > > Thanks in advance, > bruce > > Armin Arh wrote: > > >Look for a package called 'expat-2.0.0'. > >Once you got one look into it like this > > > >pkg_info -L expat-2.X.tar.gz > > > >It should then state there is a '/usr/local/lib/libexpat.so.6' in it. > >If so, install it. > > > >Nevertheless this may fail if it uses some syscall of FBSD-5.5 not > >present in FBSD5.4, but i don't think so. > > > >If all that fails, compile it yourself, like this: > > > >cd /usr/ports/textproc/expat2 > >make install && make clean > > > > > >I have FreeBSD-6.2 running, but without expat2. My packages > >still use expat1. Simply because i built every bit from ports, > >to have no braindamage with precompiled stuff wanting newest > >libraries. > > > >Looks like this on my Desktop: > >---------------- > >armin@lance pkg_info -L /var/db/pkg/expat-1.95.8_3/ > >Information for expat-1.95.8_3: > > > >Files: > >/usr/local/man/man1/xmlwf.1.gz > >/usr/local/bin/xmlwf > >/usr/local/include/expat.h > >/usr/local/include/expat_external.h > >/usr/local/lib/libexpat.a > >/usr/local/lib/libexpat.so > >/usr/local/lib/libexpat.so.5 > > > >armin@lance ldconfig -r |grep expat > > 438:-lexpat.5 => /usr/local/lib/libexpat.so.5 > > 680:-lexpat.4 => /usr/local/lib/libexpat.so.4 > >armin@lance uname -a > >FreeBSD lance.net.schlund.de 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #8: Sun > >Nov 12 21:59:06 CET 2006 > >god@lance.net.schlund.de:/usr/src/sys/i386/compile/LANCE i386 > >---------------- > > > >bye, > > Armin > > > > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061126183530.GA686>