| View previous topic :: View next topic |
| Author |
Message |
soomon Voice
Joined: 04 Mar 2006 Posts: 6
|
Posted: Tue Apr 25, 2006 9:18 am Post subject: tcllib problems though compiling worked :/ |
|
|
heyho,
i just reinstalled my server and wanted to setup my eggdrop.
as i knew i had problems setting up the eggdrop the last time i searched for this "export" thing because i knew it did it the last time.
i installed activetcl, then:
| Code: |
export LD_LIBRARY_PATH=/usr/local/ActiveTcl/lib/
|
and ran ./configure with the correct path's:
| Code: |
./configure --with-tclinc='/usr/local/ActiveTcl/include/tcl.h' --with-tcllib='/usr/local/ActiveTcl/lib/libtcl8.4.so'
checking for Tcl library... using /usr/local/ActiveTcl/lib/libtcl8.4.so
checking for Tcl header... using /usr/local/ActiveTcl/include/tcl.h
checking whether the Tcl system has changed... yes
checking for Tcl version... 8.4
checking for Tcl patch level... 8.4.13
checking for Tcl_Free in -ltcl8.4... yes
checking for TclpFinalizeThreadData in -ltcl8.4... no
|
no error at the end of the auto-configuration...
--
when running "make config" i didn't see anything concerning tcl.
| Code: |
make:
Linking eggdrop (standard build).
gcc -pipe -o ../eggdrop bg.o botcmd.o botmsg.o botnet.o chanprog.o cmds.o dcc.o dccutil.o dns.o flags.o language.o match.o main.o mem.o misc.o misc_file.o modules.o net.o rfc1459.o tcl.o tcldcc.o tclhash.o tclmisc.o tcluser.o userent.o userrec.o users.o -L/usr/local/ActiveTcl/lib -ltcl8.4 -lm -ldl -lnsl md5/md5c.o compat/*.o `cat mod/mod.xlibs`
touch ../eggdrop
|
...
| Code: |
All modules compiled.
make[1]: Leaving directory `/home/servant/eggdrop1.6.17/src/mod'
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] Fehler 127
|
--
ldd eggdrop returns:
| Code: |
ldd eggdrop
libtcl8.4.so => /usr/local/ActiveTcl/lib/libtcl8.4.so (0x40018000)
libm.so.6 => /lib/tls/libm.so.6 (0x400c2000)
libdl.so.2 => /lib/tls/libdl.so.2 (0x400e5000)
libnsl.so.1 => /lib/tls/libnsl.so.1 (0x400e8000)
libc.so.6 => /lib/tls/libc.so.6 (0x400fc000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
|
what's wrong this time? ;/
thx & greets,
soomon |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Tue Apr 25, 2006 12:00 pm Post subject: |
|
|
likely your LD_LIBRARY_PATH _________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
soomon Voice
Joined: 04 Mar 2006 Posts: 6
|
Posted: Tue Apr 25, 2006 1:53 pm Post subject: |
|
|
how does it ave to look like?
i tried export LB_LIBRARY_PATH='/usr/lib/libtcl8.4.so.0'
and export LD_LIBRARY_PATH=/usr/local/ActiveTcl/lib/
which file does it have to link at?
or to which directory? ;/
and why does he say: /eggdrop: error while loading shared libraries: libtcl8.4.so
when the link in ./configure --with ...
is correct? |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Wed Apr 26, 2006 3:30 am Post subject: |
|
|
you either don't have libtcl8.4.so in /usr/local/ActiveTcl/lib, or have no permission to load it
locate it and set LD_LIBRARY_PATH to the directory it is in
or fix your file permissions _________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
soomon Voice
Joined: 04 Mar 2006 Posts: 6
|
Posted: Wed Apr 26, 2006 3:42 am Post subject: |
|
|
as I wrote above:
ldd eggdrop
libtcl8.4.so => /usr/local/ActiveTcl/lib/libtcl8.4.so (0x40018000)
so it IS there!
and as i wrote he also recognises the file:
| Code: |
checking for Tcl library... using /usr/local/ActiveTcl/lib/libtcl8.4.so
checking for Tcl header... using /usr/local/ActiveTcl/include/tcl.h
checking whether the Tcl system has changed... yes
checking for Tcl version... 8.4
checking for Tcl patch level... 8.4.13
checking for Tcl_Free in -ltcl8.4... yes
|
and when i use midnight commander from the user that shall run the eggdrop i can also view it.
which permissions does the user need??? |
|
| Back to top |
|
 |
soomon Voice
Joined: 04 Mar 2006 Posts: 6
|
Posted: Wed Apr 26, 2006 4:20 am Post subject: |
|
|
strange...
the bot works...
lol
i just ignored tis errormessage and started it and it works o_0 |
|
| Back to top |
|
 |
|