| View previous topic :: View next topic |
| Author |
Message |
necroslave Voice
Joined: 13 May 2009 Posts: 9
|
Posted: Wed May 13, 2009 10:46 am Post subject: Shared object "libtcl84.so" not found |
|
|
Hello everyone, I am running server of NetBSD5.0 and I have thoose problems when I trying to install eggdrop:
./configure
[...]
checking for Tcl library... found /usr/local/lib/libtcl84.so
checking for Tcl header... found /usr/local/include/tcl.h
checking whether the Tcl system has changed... yes
checking for Tcl version... 8.4
checking for Tcl patch level... 8.4.15
checking for Tcl_Free in -ltcl84... yes
checking for TclpFinalizeThreadData in -ltcl84... no
[...]
make
[...]
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 match.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 -ltcl84 -lm md5/md5c.o compat/*.o `cat mod/mod.xlibs`
touch ../eggdrop
Successful compile: eggdrop
All modules compiled.
Test run of ./eggdrop -v:
Shared object "libtcl84.so" not found
*** Error code 1
Stop.
make: stopped in /home/billy/eggdrop1.6.18
#
So ... when I have make ./configure and make config no problems just finding tcl .. but when I run make there have some problemst tcl not found Can anyone help?
PS:
nt001$ ldd eggdrop
eggdrop:
-ltcl84 => not found
-lc.12 => /usr/lib/libc.so.12
-lm.0 => /usr/lib/libm.so.0
nt001$
So where from can I get -ltcl84  |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Wed May 13, 2009 11:36 am Post subject: |
|
|
You already got it, since your eggie compiled properly...
Unfortunately, your system admin failed to set up the ld.so library properly (the dynamic library loader). This would usually involve editing /etc/ld.so.conf and adding /usr/local/lib/ to the file, and then running /sbin/ldconfig (might be installed in a different path on some systems).
A workaround, is to set the LD_LIBRARY_PATH environment variable prior to running the make-script, as well as any time you start your eggdrop, to point to the location of the library file (/usr/local/lib/)
In bash, that would be done like this:
| Code: | | export LD_LIBRARY_PATH=/usr/local/lib/ |
_________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
necroslave Voice
Joined: 13 May 2009 Posts: 9
|
Posted: Wed May 13, 2009 12:03 pm Post subject: |
|
|
lol I am admin ... (I mean only I have root acc to machine). So export LD_LIBRARY_PATH=/usr/local/lib/ work right. Thank you a lot
ps/q: Can I add LD_LIBRARY_PATH=/usr/local/lib/ in mk.conf, becouse is pointing of make script 
Last edited by necroslave on Thu Nov 05, 2009 2:04 pm; edited 1 time in total |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Wed May 13, 2009 12:15 pm Post subject: |
|
|
IF you're the admin, you'd be better off using the first option. _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
necroslave Voice
Joined: 13 May 2009 Posts: 9
|
Posted: Wed May 13, 2009 12:27 pm Post subject: |
|
|
yes, I am allready done with first step thank you again  |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Wed May 13, 2009 12:36 pm Post subject: |
|
|
Okies, once you've got your ld.so configuration set up properly, there will be no need for the LD_LIBRARY_PATH hack. _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
necroslave Voice
Joined: 13 May 2009 Posts: 9
|
Posted: Wed May 13, 2009 10:45 pm Post subject: |
|
|
Look, I have made "make" first with export LD_LIBRARY_PATH=/usr/local/lib/ and have made successful "make", after successful "make" i have type export LD_LIBRARY_PATH= for unset "way" to patch a type echo /usr/local/lib/ >> /etc/ld.so.conf and have type make again = successful
Thank you a lot, I dunno what I can make whitout your better help  |
|
| Back to top |
|
 |
|