chiriones
May 13th, 2004, 23:18
I'm getting this error when trying to start xfce:
/usr/libexec/ld-elf.so.1: "libgobject-2.0.so.200" not found.

I've actually had xfce running successfully on this machine a few days ago. Then I started fooling around with pkg_deinstall to try to get rid of the kde "meta port." At first I had used pkg_delete and only got rid of one package. Then I started deleting packages that I thought belonged to kde. I must have deleted the wrong thing.

I did a pkg_deinstall and pkg_add on xfce hoping it would find the dependent files it needed and install them, but it still gives me the error.

I read up on the elf libraries a bit and I don't really understand them. I added this path to ldconfig_paths in /etc/rc.conf: /usr/libexec. But that didn't do the trick.

Oh, what have I done to my FreeBSD?

Cheerio,
Chiriones

soup4you2
May 14th, 2004, 07:59
couple things to try...

make sure COMPAT4x is installed

also you can get away with

locate libgobject-2.0.so.

and symlink the library it finds with the one you need..

chiriones
May 14th, 2004, 18:37
Thanks for the reply. I think I got it resolved.
When I did a locate libgobject-2.0.so.200. nothing came up. I started taking a closer look at the packages installed using pkg_info.

I de-installed xfce. Then I noticed there was still some kde stuff on there, which I de-installed. There were also 2 versions of glib*, I think 2.4. and 1.2. I worked my way through de-installs until the glib* packages were gone, then pkg_added xfce4 again. Now it works.

Can you recommend a better way of keeping track of packages? I think this all started when I installed the kde meta port using pkg_add then I tried to uninstall it using pkg_delete, which didn't uninstall all the packages required for kde. It left a lot of stuff on there. Later I tried pkg_deinstall -R and I think that works fine.

nutznboltz
May 23rd, 2004, 10:34
There were also 2 versions of glib*, I think 2.4. and 1.2.That might not be a problem since some apps still need one or the other. I run fine with both.


$ pkg_info | grep glib
glib-1.2.10_10 Some useful routines of C programming (previous stable vers
glib-2.4.1 Some useful routines of C programming (current stable versi

Can you recommend a better way of keeping track of packages? I think this all started when I installed the kde meta port using pkg_add then I tried to uninstall it using pkg_delete, which didn't uninstall all the packages required for kde. It left a lot of stuff on there. Later I tried pkg_deinstall -R and I think that works fine.

http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html

http://subwiki.honeypot.net/cgi-bin/view/Freebsd/PortUpgrade

http://librenix.com/?inode=3380