gnome-session undefined symbol
Hi
I am using Slackware 9.1 and till now i was working in bash. But yesterday i tried to install Gnome 2.4 (which comes with slack 9.1). Now its giving me error ---- SESSION_MANAGER=local/darkstar:/tmp/.ICE-unix/12449 gnome-session: relocation error: /usr/lib/libgtk-x11-2.0.so.0: undefined symbol: g_type_class_add_private ---- and then the xwindows dies any helps or hints on this will be appreciated thanks guru :Pengy: |
Guru, did you install the libs needed by gnome such as gtk?
|
yes i did
is you talking about this package, i installed it again gtk+2-2.2.4-i486-1.tgz still no luck :( |
I've got the same problem. Nobody has a solution? :(
|
Hi, if they're not already installed you need to install the glib libraries from the l/ directory of the slackware cdrom.
glib-1.2.10-i386-2.tgz and glib2-2.2.3-i486-1.tgz (Slack 9.1). The glib2 package contains the gobject library where the g_type_class_add_private function is defined. |
Quote:
|
Alright, if you're sure you've got the gtk and glib packages installed then maybe pango is the causing the problem.
Try, Code:
ls /usr/lib/*pango* directory of the first slackware CD. |
i have pango libs installed ... :(
|
Ok, where is gnome installed? Is it in /opt/gnome or somewhere else? Possibly the linker isn't finding the libraries.
|
Maybe your libgtk-x11-2.0 is too recent for your Gnome installation so you have to upgrade Gnome as well (gnome 2.6)
|
its in /usr/local/gnome
where i can fix the link problem ? |
So is there a subdirectory in the gnome directory called /lib where all the shared libraries are stored?
If so you may need to add that directory to the /etc/ld.so.conf file so the linker can find them. Code:
cat /etc/ld.so.conf Code:
/usr/local/gnome/lib Code:
/sbin/ldconfig |
i checked, there is no /lib in gnome dir.
all the required libs are in /usr/lib .. also pango |
Hi. Ok if you've installed all the packages form the slackware cdrom then the versions of the libraries shouldn't be causing any problems.
It still looks as if you're either missing a library somewhere, or the linker can't find it. Could you please post the output of: Code:
grep -ir g_type_class_add_private /usr/lib |
After looking into this further I believe keefaz was on the right track. :)
I assumed you had just installed gtk2 from the package on the first slackware 9.1 cd ( gtk+2-2.2.4-i486-1.tgz ). Please also post the output from, Code:
ls -l /usr/lib/libgtk-x11-2.0.so.0 Code:
ls /usr/lib/*gtk* Thanks. |
All times are GMT -5. The time now is 05:17 PM. |