| View previous topic :: View next topic |
| Author |
Message |
VyRuZ Voice
Joined: 08 Aug 2005 Posts: 5
|
Posted: Mon Aug 08, 2005 7:21 am Post subject: compile error on libtcl |
|
|
./eggdrop: error while loading shared libraries: libtcl8.4.so: cannot open shared object file: No such file or directory
make: *** [install-start] Error 127
This is the exact error i get when i do make install DEST=/place/for/bot ...
Every step before this finishes perfectly (./configure , make config, make ) except make. When it finishes it tries to do ./eggdrop -v and it gives out that error.
I have tcl installed from sourcecode and it installed good. Even ./configure detects it.
Can someone help ?  |
|
| Back to top |
|
 |
gumbydammit Master

Joined: 05 Sep 2002 Posts: 311 Location: Canada
|
Posted: Mon Aug 08, 2005 8:21 am Post subject: |
|
|
always a good idea to use the search button on these forums.. this question has been asked many many times...
Click _________________ a.k.a. hellios |
|
| Back to top |
|
 |
VyRuZ Voice
Joined: 08 Aug 2005 Posts: 5
|
Posted: Mon Aug 08, 2005 12:02 pm Post subject: |
|
|
Hmm.. I read what your link was pointing to... I edited that ld.so.conf adding a line to libtcl8.4 and it did not work.
I removed the unarchived bot completely and tried again from beginning. No luck.
I read the README and INSTALL and used at the ./configure the commands --with-libtcl=<path> and the --with-libinc=<path> to the correct /usr/local/lib files and it still didn't work.
Any other thing i should try ?? Completely removing TCL8.4 in Debian-based distro and getting it again from apt ?? Because i compiled tcl myself and it compiled perfectly but i wanna be 110% sure i did it right.
Thanks for your help. And i did not search because i did not know what so search for actually... |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Mon Aug 08, 2005 12:47 pm Post subject: |
|
|
| Code: |
$ export LD_LIBRARY_PATH=/path/to/your/tcllib
|
|
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Mon Aug 08, 2005 8:15 pm Post subject: |
|
|
Helps to actually read the 'COMPILE-GUIDE' in ~doc: 'I. Tcl Detection and Installation' _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
VyRuZ Voice
Joined: 08 Aug 2005 Posts: 5
|
Posted: Tue Aug 09, 2005 3:50 am Post subject: |
|
|
This is getting annoying.
I reinstalled Tcl just to be sure ( v8.4.6 from site in the COMPILE-GUIDE). It installed perfect. I did tclsh . It worked.I had tcl installed.
I removed the folder of eggdrop unarchived because it already had ./configure made.
Then i edited ld.so.conf with the path to libtcl8.4.so (/usr/local/lib/libtcl8.4.so) and did ldconfig. Then i did that export LD_LIBRARY_PATH (but not as how demond said, but how it was written in COMPILE-GUIDE).
Then i unarchived eggdrop again and did ./configure, putting the extra --with-tcllib='/usr/local/lib/libtcl8.4.so' --with-tclinc='/usr/local/include/tcl.h' and it continued configuring. Then i did make config, and at make it gave the same error.
Now im out of ideas... |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Tue Aug 09, 2005 3:54 am Post subject: |
|
|
| what's the output of ldd eggdrop shell command? |
|
| Back to top |
|
 |
VyRuZ Voice
Joined: 08 Aug 2005 Posts: 5
|
Posted: Tue Aug 09, 2005 4:07 am Post subject: |
|
|
libtcl8.4.so => not found
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7fba000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7fb7000)
libnsl.so.1 => /lib/tls/i686/cmov/libnsl.so.1 (0xb7fa2000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7e75000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0xb7feb000)
Thanks |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Tue Aug 09, 2005 4:23 am Post subject: |
|
|
alternatively, you can try exporting (before ./configure) TCLLIB and TCLINC with the appropriate directories (yes, just directory paths, not full filenames)
also, what's in your config.log after ./configure? I mean regarding Tcl |
|
| Back to top |
|
 |
VyRuZ Voice
Joined: 08 Aug 2005 Posts: 5
|
Posted: Tue Aug 09, 2005 4:41 am Post subject: |
|
|
| Quote: | TCLINC='/usr/local/include'
TCLINCFN='tcl.h'
TCLLIB='/usr/local/lib'
TCLLIBFN='tcl8.4.so'
TCL_LIBS='-L/usr/local/lib -ltcl8.4 -lm'
TCL_REQS='/usr/local/lib/libtcl8.4.so' |
That's what i found.
And secondly how do i export TCLINC and TCLLIB ?? use that same export LD_LIBRARY_PATH=/path/to/tcllib and that again for /path/to/tcl.h ??
EDiT: Test run of ./eggdrop -v:
Eggdrop v1.6.17 (C) 1997 Robey Pointer (C) 2004 Eggheads
Hehe... Thanks very much my friend. Though i still don't know what i did to make it work... Maybe those export's... Anyways thanks very much. If i have any other problem, ill make sure to post here  |
|
| Back to top |
|
 |
|