| View previous topic :: View next topic |
| Author |
Message |
kaio! Voice
Joined: 10 Nov 2006 Posts: 19
|
Posted: Fri Nov 10, 2006 7:04 pm Post subject: lib not found... [-=SOLVED=-] |
|
|
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 |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Fri Nov 10, 2006 7:10 pm Post subject: |
|
|
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 |
|
 |
kaio! Voice
Joined: 10 Nov 2006 Posts: 19
|
Posted: Fri Nov 10, 2006 7:22 pm Post subject: |
|
|
already done
my egg dont find the lib... |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Fri Nov 10, 2006 11:35 pm Post subject: |
|
|
| 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 |
|
 |
kaio! Voice
Joined: 10 Nov 2006 Posts: 19
|
Posted: Sat Nov 11, 2006 6:10 am Post subject: |
|
|
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 |
|
 |
kaio! Voice
Joined: 10 Nov 2006 Posts: 19
|
Posted: Sat Nov 11, 2006 6:53 am Post subject: |
|
|
thanks guys
i solved the problem:
/etc/ld.so.conf
adding line: /usr/local/lib
and do
ldconfig
will solve this |
|
| Back to top |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Sun Nov 12, 2006 2:47 am Post subject: |
|
|
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 |
|
 |
CosmicD Op
Joined: 11 Dec 2004 Posts: 102
|
Posted: Sat Jul 07, 2007 2:06 pm Post subject: |
|
|
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  |
|
| Back to top |
|
 |
|