Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jan 2005 10:08:52 +0200
From:      Peter Pentchev <roam@ringlet.net>
To:        "Michael C. Shultz" <reso3w83@verizon.net>
Cc:        scott@sremick.net
Subject:   Re: mpeg4ip requires IPv6?
Message-ID:  <20050106080852.GA2066@straylight.m.ringlet.net>
In-Reply-To: <200501051610.41268.reso3w83@verizon.net>
References:  <20041229214708.81770.qmail@web53607.mail.yahoo.com> <200501051610.41268.reso3w83@verizon.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--OgqxwSJOaUobr8KG
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Jan 05, 2005 at 04:10:38PM -0800, Michael C. Shultz wrote:
> On Wednesday 29 December 2004 01:47 pm, Scott I. Remick wrote:
>=20
>=20
> I don't have the begining of this thread so I'm not sure what you
> did to get the following output but I noticed
> a few things worth commenting on just the same...
>=20
> > --- Michael Johnson <ahze@ahze.net> wrote:
> > > Others have reported this also, I am unable to reproduce it but if
> > > you 'make config' and turn on IPV6 support everything should work.
>=20
> [snipped no relevent stuff]
>=20
> > aa -lusbhid /usr/local/lib/libmp4v2.so -Wl,--rpath -Wl,/usr/local/lib
> > /usr/bin/ld: warning: libc.so.4, needed by
> > /usr/local/lib/libmp4v2.so, may conflict
> > with libc.so.5
>=20
> I don't have  libc.so.4 on my FreeBSD-5 Stable system, are you running=20
> FreeBSD 4 or 5?
>=20
> locate libc.so on my FreeBSD 5.3 returns:
>=20
> /lib/libc.so.5
> /usr/compat/linux/lib/libc.so.6
> /usr/lib/libc.so
>=20
> If you are running FreeBSD 5 you probably have dependencies linked
> to out of date libraries and the dependencies should be upgraded, if
> your running FreeBSD 4 then never mind.

Exactly.  The libc.so.4 shared library is used in FreeBSD 4.  Apparently
it is still present on Scott's system, and even worse, it is actually
used by the libmp4v2.so library.

Scott, your best bet would be to look through /usr/lib, find all
libraries that are present in several versions (libc.so.4 and libc.so.5,
libm.so.2 and libm.so.3, and so on), and make a list of the old
libraries from your 4.x system (libc.so.4 and libm.so.2 in this case).
Then, use something like the following (all on one line):

  find /usr/local /usr/X11R6 -type f -perm +111 | xargs ldd -f '%A\t%o\n' |
      fgrep -e libc.so.4 -e libm.so.2

This will show you all executable files which are linked directly against
either libc.so.4 or libm.so.2.  Then, for the libraries (again all on one
line):

  find /usr/local /usr/X11R6 -type f -name \*.so\* | xargs ldd -f '%A\t%o\n=
' |
      fgrep -e libc.so.4 -e libm.so.2

This will show you all libraries linked against outdated libraries.

After that, find which packages those files come from (using pkg_info -qW),
deinstall them and rebuild them after you've removed the outdated libraries
=66rom /usr/lib.

G'luck,
Peter

--=20
Peter Pentchev	roam@ringlet.net    roam@cnsys.bg    roam@FreeBSD.org
PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
When you are not looking at it, this sentence is in Spanish.

--OgqxwSJOaUobr8KG
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFB3PIT7Ri2jRYZRVMRAlVyAJ9LyT8E6d4Z+LorHL737qKOrx9iGgCcDMxu
wucYU28hrJmI3gRvmpmBdFQ=
=oc2N
-----END PGP SIGNATURE-----

--OgqxwSJOaUobr8KG--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050106080852.GA2066>