LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-16-2003, 02:03 AM   #1
xlord
Member
 
Registered: Mar 2002
Posts: 75

Rep: Reputation: 15
slackware error..


ok im new to slackware and i have a few problems..
when i try to start xchat.. i get this error..

bash-2.05a$ xchat
xchat: error while loading shared libraries: libgmodule-1.2.so.0: cannot open shared object file: No such file or directory

can anyone please tell what this means and how to fix it..
i have added a search on google but didnt find anything that would help
 
Old 01-16-2003, 03:19 AM   #2
Config
Member
 
Registered: Jan 2001
Location: Switzerland
Distribution: Gentoo
Posts: 376

Rep: Reputation: 30
The package system of slackware doesn't seem to handle dependencies. THe error means, that xchat is trying to load a library it cannot find, but which is neede for xchat to run. These libraries sit in /lib, /usr/lib and /usr/local/lib. If the library is on your hd, then just run ldconfig (as root). Make sure that the path to the library is lited in the file /etc/ld.so.conf. If the library is not on your hd, you have to install it from your slackware cd. A search on google revealed, that libgmodule is in the package "glib-xxx". To install the library, do the following:
- mount the cdrom
- cd into <path_to_cdrom>/slackware/l
- run pkgtool (as root)
- select current
don't install anything until you find glib. If xchat wouldn't run after, run ldconfig and all should be well.
Good luck
 
Old 01-16-2003, 01:16 PM   #3
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 46
Also if you can't figure what library is missing, run ldd /path/to/program, and it'll tell you which libraries are not found. Here's an example, with all dependencies sorted:
|:-(Thu Jan 16 20:13:51)-(nskl@Slackbox:~)$ ldd /usr/bin/xchat
/lib/libsafe.so.2 => /lib/libsafe.so.2 (0x40016000)
libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0x4002b000)
libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x4002e000)
libdl.so.2 => /lib/libdl.so.2 (0x40051000)
libm.so.6 => /lib/libm.so.6 (0x40054000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x40075000)
libutil.so.1 => /lib/libutil.so.1 (0x400a2000)
libgnomeui.so.32 => /usr/lib/libgnomeui.so.32 (0x400a5000)
libart_lgpl.so.2 => /usr/lib/libart_lgpl.so.2 (0x40179000)
libgdk_imlib.so.1 => /usr/lib/libgdk_imlib.so.1 (0x40188000)
libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x401a9000)
libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x401b1000)
libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0x401c7000)
libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0x402ec000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4031e000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4032b000)
libgnome.so.32 => /usr/lib/libgnome.so.32 (0x403e4000)
libgnomesupport.so.0 => /usr/lib/libgnomesupport.so.0 (0x403fd000)
libesd.so.0 => /usr/lib/libesd.so.0 (0x40402000)
libaudiofile.so.0 => /usr/lib/libaudiofile.so.0 (0x40409000)
libdb.so.2 => /lib/libdb.so.2 (0x4042a000)
libzvt.so.2 => /usr/lib/libzvt.so.2 (0x40437000)
libgdk_pixbuf.so.2 => /usr/lib/libgdk_pixbuf.so.2 (0x4044c000)
libc.so.6 => /lib/libc.so.6 (0x40460000)
libz.so.1 => /usr/lib/libz.so.1 (0x40584000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
HTH
-NSKL
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 10.2 lilo error ding Slackware 15 09-30-2005 09:56 PM
NFS error on slackware 10.1 salviadud Linux - Networking 2 04-26-2005 01:27 PM
Samba error on slackware 10 eldergod10 Slackware 1 01-17-2005 01:42 AM
ipconfig error on slackware 8.1 Jaop Linux - Networking 5 10-22-2003 12:55 PM
Slackware ld error mimo Linux - Software 5 03-17-2003 02:50 AM


All times are GMT -5. The time now is 06:03 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration