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.

Problem with eggdrop linking/install

Old posts that have not been replied to for several years.
Locked
M
Magnet

Problem with eggdrop linking/install

Post by Magnet »

Hi all,

I'm trying to install eggdrop on my shell and when compiling and running it I get an error :
Successful compile: eggdrop

make[1]: Leaving directory `/home/magnet/eggdrop1.6.12/src'

./eggdrop: error while loading shared libraries: libtcl8.3.so: cannot open shared object file: No such file or directory
(this is not the first time I compile eggdrop and never got that error)

Of course, I have read the FAQ! :)
" 6l. I GET "ld-elf.so.1: Shared object "libtcl80.so.1" not found" or
"eggdrop: error in loading shared libraries libtcl8.1.so: \"
It is told to:
./configure --with-tcllib=<path-to-tcl-lib>
--with-tclinc=<path-to-tcl-inc>
Try looking for libtcl by:
ls /usr/lib/libtcl*
ls /usr/local/lib/libtcl*
Try looking for tcl.h by:
ls /usr/include/tcl.h
ls /usr/local/include/tcl.h
what I actually did :
[magnet@hera eggdrop1.6.12]$ ls /usr/local/lib/libtcl*
/usr/local/lib/libtcl8.3.so /usr/local/lib/libtclstub8.3.a
[magnet@hera eggdrop1.6.12]$

[magnet@hera eggdrop1.6.12]$ ls /usr/local/include/tcl.h
/usr/local/include/tcl.h
[magnet@hera eggdrop1.6.12]$
so I run ./configure --with-tcllib=/usr/local/lib/libtcl8.3.so --with-tclinc=/usr/local/include/tcl.h

The configure script finds tcl out !:
checking for Tcl library... using /usr/local/lib/libtcl8.3.so
checking for Tcl header... using /usr/local/include/tcl.h
checking whether the Tcl system has changed... yes
checking for Tcl version... 8.3
checking for Tcl patch level... 8.3.4
checking for Tcl_Free in -ltcl8.3... yes
checking for TclpFinalizeThreadData in -ltcl8.3... no


But IT STILL DOES NOT WORK :'( !!

TCLSH is working fine
[magnet@hera eggdrop1.6.12]$ tclsh8.3
% exit
[magnet@hera eggdrop1.6.12]$

I am root on the server and I installed tcl8.3, with no problem at compiling...

Server infos :
[magnet@hera eggdrop1.6.12]$ uname -a
Linux hera 2.4.18-bf2.4 #1 Son Apr 14 09:53:28 CEST 2002 i686 unknown unknown GNU/Linux
[magnet@hera eggdrop1.6.12]$
running Debian GNU/Linux Woody
using Tcl8.3.4


Please help me, it is greatly appreciated :) If you need further information to get my problem resolved just ask... Thx!

-- Magnet
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

You need to update your ld config. I beleive the command is ldconfig.
M
Magnet

Post by Magnet »

Thank you for your help but... I have run /usr/sbin/ldconfig as root, ./configure --with-goodparams, make config, make clean, make... And I still get the same f*cking error message...

Anyone, please tell me if you got an idea !

thank you
M
Magnet

Post by Magnet »

resolved thanks to some help on #eggdrop@undernet

(export LD_LIBRARY_PATH=/path/to/lib)
Locked