Date: Mon, 14 Nov 2005 15:17:05 -0500 From: Kris Kennaway <kris@obsecurity.org> To: My mailing Lists <mylists@obitori.net> Cc: freebsd-questions@freebsd.org Subject: Re: SOLVED: package contains missing "libgmodule" Message-ID: <20051114201704.GA98749@xor.obsecurity.org> In-Reply-To: <200511132133.49710.mylists@obitori.net> References: <33242.10.1.1.100.1131917578.squirrel@barcroft.lake> <200511131330.35028.ringworm01@gmail.com> <200511132133.49710.mylists@obitori.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--qMm9M+Fa2AknHoGS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Nov 13, 2005 at 09:33:49PM -0500, My mailing Lists wrote: > Thanks for your reply, Michael. Of course, you are right. I should have= been=20 > more specific. I had reinstalled glib version 2, but that did not solve = my=20 > problem. Just to be double sure, after I read your email, I reinstalled= =20 > glibc-2.8.3 AGAIN, but still got the error. =20 >=20 > Your email got me thinking. I wanted to do: >=20 > find / -iname libgmodule* >=20 > This would search for every file named libgmodule* in the file system on = the=20 > version of find that I've found on linux systems. I kept boinking the BS= D=20 > version, so I ran: >=20 > $ find / | grep libgmodule*=20 > /usr/local/lib/libgmodule-2.0.so.0 > /usr/local/lib/libgmodule-2.0.so > /usr/local/lib/libgmodule-2.0.a > /usr/local/lib/libgmodule12.a > /usr/local/lib/libgmodule12.so > /usr/local/lib/libgmodule12.so.3 >=20 > I added a link and tried artsd: >=20 > $ ls -l libgmodule* > -rw-r--r-- 1 root wheel 8220 Nov 13 19:02 libgmodule-2.0.a > lrwxr-xr-x 1 root wheel 19 Nov 13 19:02 libgmodule-2.0.so ->=20 > libgmodule-2.0.so.0 > -rwxr-xr-x 1 root wheel 12701 Nov 13 19:02 libgmodule-2.0.so.0 > lrwxr-xr-x 1 root wheel 19 Nov 13 21:11 libgmodule-2.0.so.600 ->=20 > libgmodule-2.0.so.0 >=20 > This time, I got the same exact error, but for the library: >=20 > libgthread-2.0.so.600 >=20 > I added a link to libgthread-2.9.so.0. >=20 > $ ls -l libgthread* > -rw-r--r-- 1 root wheel 12668 Nov 13 19:02 libgthread-2.0.a > lrwxr-xr-x 1 root wheel 19 Nov 13 19:02 libgthread-2.0.so ->=20 > libgthread-2.0.so.0 > -rwxr-xr-x 1 root wheel 17820 Nov 13 19:02 libgthread-2.0.so.0 > lrwxr-xr-x 1 root wheel 19 Nov 13 21:14 libgthread-2.0.so.600 ->=20 > libgthread-2.0.so.0 >=20 > Now, artsd and everything else is happy. I have sound on KDE. I don't k= now=20 > if the missing links are the result of something I deinstalled, but shoul= dn't=20 > a reinstall of the port or package recreate those links? I am not trying= to=20 > complain, just want to figure out if I stumbled on a bug, or if these is = just=20 > another instance of me boinking my own system. >=20 The problem is that you have ports that rely on the OLDER version of the library than that installed by the current port. This is because you didn't upgrade them properly. When you upgrade a port like glib, you need to also upgrade everything that depends on glib. The easiest way to do this is using a tool like portupgrade (Michael will tell you to use portmanager :-) Kris P.S. The symlinks you created may cause the application to be unstable, since the new and old libraries are not identical and do not have the same interface. --qMm9M+Fa2AknHoGS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDePDAWry0BWjoQKURAiA6AJ4hN3T681NWZJHfkBy9KA+CnVeHSgCfdFrL qo5ytXqxm1sL6CEAJA4Faqw= =/lo1 -----END PGP SIGNATURE----- --qMm9M+Fa2AknHoGS--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051114201704.GA98749>