This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

lib not found... [-=SOLVED=-]

General support and discussion of Eggdrop bots.
Post Reply
k
kaio!
Voice
Posts: 19
Joined: Fri Nov 10, 2006 6:59 pm

lib not found... [-=SOLVED=-]

Post by kaio! »

i have compiled my tcl and eggdrop all ok
but...
now the eggdrop says

./eggdrop: error while loading shared libraries: libtcl8.4.so: cannot open shared object file: No such file or directory

i have the lib in:
/usr/lib/
and linked in:
/lib/

where to place the lib?
Last edited by kaio! on Sat Nov 11, 2006 6:53 am, edited 1 time in total.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Read the COMPILE-GUIDE in your ~./doc directory.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
k
kaio!
Voice
Posts: 19
Joined: Fri Nov 10, 2006 6:59 pm

Post by kaio! »

already done
my egg dont find the lib...
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

It should *not* be in /lib, it belongs in /usr/lib.. /lib is for system-dependant libs required for starting up the system. Get rid of the symlink in /lib and make sure the actual binary lib is in /usr/lib, and make sure you have read permissions for it.
k
kaio!
Voice
Posts: 19
Joined: Fri Nov 10, 2006 6:59 pm

Post by kaio! »

i tryed ./eggdrop -v with root rights so it should have all rights...
/usr/lib/libtcl8.4.so
its there....

EDIT//

checking for Tcl library... found /usr/local/lib/libtcl8.4.so
checking for Tcl header... found /usr/local/include/tcl.h

the compile found the lib but the eggdrop doesnt find...

Test run of ./eggdrop -v:
./eggdrop: error while loading shared libraries: libtcl8.4.so: cannot open shared object file: No such file or directory
make: *** [modules] Error 127
k
kaio!
Voice
Posts: 19
Joined: Fri Nov 10, 2006 6:59 pm

Post by kaio! »

thanks guys
i solved the problem:
/etc/ld.so.conf
adding line: /usr/local/lib
and do
ldconfig

will solve this
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

echo "/usr/local/lib" >> /etc/ld.so.conf && /sbin/ldconfig as root would have done that. Why don't you search the forum?
Once the game is over, the king and the pawn go back in the same box.
C
CosmicD
Op
Posts: 102
Joined: Sat Dec 11, 2004 3:46 pm

Post by CosmicD »

that was very valuable,

I'm using a server that had a minimum debian install and now it fineds everything it's supposed to find :)
Post Reply