Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 01-16-2003, 02:03 AM   #1
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: 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
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/ 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
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/ => /lib/ (0x40016000) => /usr/lib/ (0x4002b000) => /usr/lib/ (0x4002e000) => /lib/ (0x40051000) => /lib/ (0x40054000) => /lib/ (0x40075000) => /lib/ (0x400a2000) => /usr/lib/ (0x400a5000) => /usr/lib/ (0x40179000) => /usr/lib/ (0x40188000) => /usr/X11R6/lib/ (0x401a9000) => /usr/X11R6/lib/ (0x401b1000) => /usr/lib/ (0x401c7000) => /usr/lib/ (0x402ec000) => /usr/X11R6/lib/ (0x4031e000) => /usr/X11R6/lib/ (0x4032b000) => /usr/lib/ (0x403e4000) => /usr/lib/ (0x403fd000) => /usr/lib/ (0x40402000) => /usr/lib/ (0x40409000) => /lib/ (0x4042a000) => /usr/lib/ (0x40437000) => /usr/lib/ (0x4044c000) => /lib/ (0x40460000) => /usr/lib/ (0x40584000)
/lib/ => /lib/ (0x40000000)


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 > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:01 PM.

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