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.

Problem with libtcl8.4.so

General support and discussion of Eggdrop bots.
Locked
T
Tyr62

Problem with libtcl8.4.so

Post by Tyr62 »

At the time of do the configuration of a eggdrop I have a small problem

I installed the bookshop tcl in/usr/local/lib/

then I normally start it with one
sh-2.05$ cd usr/home/DeathWorld/Eggdrops/eggdrop1.6.10
sh-2.05$ ./configure

I configure then the modules with
sh-2.05$ make iconfig

One arrives has the part which plants the make and précisement the link
It answers me :

sh-2.05$ make
make[1]: Entering directory `/usr/home/DeathWorld/Eggdrops/eggdrop1.6.10/src'
(This may take a while. Go get some runts.)
make[2]: Entering directory `/usr/home/DeathWorld/Eggdrops/eggdrop1.6.10/src/md5'
make[2]: Nothing to be done for `md5'.
make[2]: Leaving directory `/usr/home/DeathWorld/Eggdrops/eggdrop1.6.10/src/md5'
make[2]: Entering directory `/usr/home/DeathWorld/Eggdrops/eggdrop1.6.10/src/compat'
make[2]: Nothing to be done for `compat'.
make[2]: Leaving directory `/usr/home/DeathWorld/Eggdrops/eggdrop1.6.10/src/compat'
---------- Yeah! that's the compiling, now the linking! ----------

Linking eggdrop...

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 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/lib -ltcl8.4 -lm -ldl -lnsl md5/md5c.o compat/*.o `cat mod/mod.xlibs`
strip ../eggdrop
Successful compile: eggdrop

make[1]: Leaving directory `/usr/home/DeathWorld/Eggdrops/eggdrop1.6.10/src'

./eggdrop: error while loading shared libraries: libtcl8.4.so: cannot open shared object file: No such file or directory
make: *** [modegg] Error 127
sh-2.05$

the problem it is that the libtcl8.4.so is well in/usr/local/lib and the chmod is into 755

If you can help me...
I am French and my English is very bad, sorry :/

Thanks

Tyr62
User avatar
CrazyCat
Revered One
Posts: 1359
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Post by CrazyCat »

is the directory in a good chmod too?
And check if libtcl8.4.so is not a symlink pointing on a non-existant file...
T
Tyr62

Post by Tyr62 »

Vu que tu es francais :)

/usr/local/lib/ a un chmod 755

Mais pour le reste j'ai pas tout compris... Je fais comment pour voir si libtcl8.4.so se redirige pas vers un dossier inexistant ?
T
Tyr62

Post by Tyr62 »

j'ai vérifié que libtcl8.4.so se trouvé bien dans le répertoire /usr/local/lib/ et le chmod est de 755 dc c'est bon...
J
Jerrynet
Voice
Posts: 1
Joined: Thu Jan 12, 2006 12:42 pm

libtcl8.4.so

Post by Jerrynet »

1- Edit /etc/ld.so.conf , add line /usr/local/lib
2- ldconfig ass root
3- copile your eggdrop and work.

My english is very poor sorry!
User avatar
houmii
Voice
Posts: 1
Joined: Tue Feb 07, 2006 1:51 am

Post by houmii »

just write 'export LD_LIBRARY_PATH=/usr/local/lib' in your eggdrop dir :wink:
Locked