./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.
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...
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.
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
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