egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

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

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
kaio!
Voice


Joined: 10 Nov 2006
Posts: 19

PostPosted: Fri Nov 10, 2006 7:04 pm    Post subject: lib not found... [-=SOLVED=-] Reply with quote

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
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Fri Nov 10, 2006 7:10 pm    Post subject: Reply with quote

Read the COMPILE-GUIDE in your ~./doc directory.
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
kaio!
Voice


Joined: 10 Nov 2006
Posts: 19

PostPosted: Fri Nov 10, 2006 7:22 pm    Post subject: Reply with quote

already done
my egg dont find the lib...
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Fri Nov 10, 2006 11:35 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
kaio!
Voice


Joined: 10 Nov 2006
Posts: 19

PostPosted: Sat Nov 11, 2006 6:10 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
kaio!
Voice


Joined: 10 Nov 2006
Posts: 19

PostPosted: Sat Nov 11, 2006 6:53 am    Post subject: Reply with quote

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

will solve this
Back to top
View user's profile Send private message
caesar
Mint Rubber


Joined: 14 Oct 2001
Posts: 3741
Location: Mint Factory

PostPosted: Sun Nov 12, 2006 2:47 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
CosmicD
Op


Joined: 11 Dec 2004
Posts: 102

PostPosted: Sat Jul 07, 2007 2:06 pm    Post subject: Reply with quote

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 Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber