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.

TCL compilation error

General support and discussion of Eggdrop bots.
Post Reply
p
pico
Voice
Posts: 2
Joined: Wed Sep 23, 2009 6:45 am

TCL compilation error

Post by pico »

Hello,
I just got a dedicated server with CentOS 5 and tried to install an eggdrop bot, but i got few errors.

First of all, tcl8.4 was already installed (with "yum install tcl"). But during ./configure an error was displayed that it can't find tcl. So I downloaded tcl from the official site and I installed tcl8.5.

1) ./configure was able to continue without problems

2) 'make config' was executed without problems

3) 'make' was executed, but in the final stage, this error was dispalyed:


Test run of ./eggdrop -v:
./eggdrop: error while loading shared libraries: libtcl8.5.so: cannot open shared object file: No such file or directory
make: *** [modules] Error 127

I removed tcl 8.4 (yum remove tcl), but still the same error. But when I typed 'locate libtcl8.5.so' I saw this:

-bash-3.2$ locate libtcl8.5.so
/usr/local/lib/libtcl8.5.so

So the file exists and eggdrop was able to find it in the "./configure" stage. Why can't it find it now?
r
raider2k
Op
Posts: 140
Joined: Tue Jan 01, 2008 10:42 am

Post by raider2k »

install tcl8.5 and tcl8.5-dev package
p
pico
Voice
Posts: 2
Joined: Wed Sep 23, 2009 6:45 am

Post by pico »

The dev packet was included in tcl from the official site. Anyway, I manage to solve the problem after typing these (in case anyone need it):

export LD_LIBRARY_PATH=/usr/local/lib/
Post Reply