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.

Test run of ./eggdrop -v, fail

General support and discussion of Eggdrop bots.
Post Reply
v
vsoemlio
Voice
Posts: 4
Joined: Sun Feb 18, 2007 11:48 am

Test run of ./eggdrop -v, fail

Post by vsoemlio »

Hello

I got

Successful compile: eggdrop

This is the commands I use:

Code: Select all

./configure --with-tcllib='/usr/local/ActiveTcl/lib/libtcl8.4.so' --with-tclinc='/usr/local/ActiveTcl/include/tcl.h'
make config
When I try ./eggdrop -v
I got:
./eggdrop: error while loading shared libraries: libtcl8.4.so: cannot open shared object file: No such file or directory
Whats wrong?
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

check your LD_LIBRARY_PATH enviroment var (check the search function, if unsure)
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

Add /usr/local/ActiveTcl/lib to your /etc/ld.so.conf and then run ldconfig (for linux platforms..Not sure if bsd uses this..)
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

Or, alternatively, symlink /usr/local/ActiveTcl/lib/libtcl8.4.so to /usr/lib/libtcl8.4.so
v
vsoemlio
Voice
Posts: 4
Joined: Sun Feb 18, 2007 11:48 am

Post by vsoemlio »

It works if i run
export LD_LIBRARY_PATH=/usr/bin/lib/

Before I start the eggdrop.

How can I make the command permanent?
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

Already answered.
User avatar
gumbydammit
Master
Posts: 311
Joined: Thu Sep 05, 2002 4:52 pm
Location: Canada
Contact:

Post by gumbydammit »

on bsd it would be something like ldconfig -m /usr/local/ActiveTcl/lib
a.k.a. hellios
Post Reply