| View previous topic :: View next topic |
| Author |
Message |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Thu Dec 30, 2004 11:17 pm Post subject: |
|
|
put this in your ~/.profile or ~/.bash_profile:
| Code: |
LD_LIBRARY_PATH=My_location; export LD_LIBRARY_PATH
|
and you won't have to type it every time
or better yet, put LD_LIBRARY_PATH=My_location in your cron file (don't forget to run crontab afterwards) |
|
| Back to top |
|
 |
AssCrack25 Voice
Joined: 30 Dec 2004 Posts: 2
|
Posted: Thu Dec 30, 2004 11:55 pm Post subject: .profile seems to have worked :) |
|
|
Thank you very much for the prompt reply, the line in the .profile seems to have worked like a charm  |
|
| Back to top |
|
 |
JMH Guest
|
Posted: Mon Jan 02, 2006 10:27 pm Post subject: |
|
|
i have same problem...
but the libtcl8.4.so is in the normal dir.. but eggdrop cant find it..
thought maybe a symboliclink error but after trying to set it .. it tells me that it is set and to the right path!
so pls help me out |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Mon Jan 02, 2006 11:37 pm Post subject: |
|
|
| JMH wrote: | i have same problem...
but the libtcl8.4.so is in the normal dir.. but eggdrop cant find it..
thought maybe a symboliclink error but after trying to set it .. it tells me that it is set and to the right path!
so pls help me out |
Did you try the solution demond gave (edit .profile)? _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Tue Jan 03, 2006 5:34 pm Post subject: |
|
|
Use the Search function of the forum before posting. _________________ Once the game is over, the king and the pawn go back in the same box. |
|
| Back to top |
|
 |
soomon Voice
Joined: 04 Mar 2006 Posts: 6
|
Posted: Sat Mar 04, 2006 12:00 pm Post subject: |
|
|
hi,
i have a problem while compiling the eggdrop. it sais:
| Code: |
Your Tcl version is much too old for Eggdrop to use. You should
download and compile a more recent version. The most reliable
current version is 8.4.6 and can be downloaded from
ftp://tcl.activestate.com/pub/tcl/tcl8_4/.
See doc/COMPILE-GUIDE's 'Tcl Detection and Installation' section
for more information.
|
but this is exactly what i did. i installed activetcl in the latest version.
so i tried:
./configure --with-tcllib='/usr/local/ActiveTcl/lib/libtcl8.4.so' <-- this path IS correct
| Code: |
configure: warning:
You must specify both --with-tcllib and --with-tclinc for either to work.
configure will now attempt to autodetect both the Tcl library and header.
configure: warning:
The file '' given to option --with-tcllib is not valid.
configure will now attempt to autodetect both the Tcl library and header.
configure: warning:
The file '' given to option --with-tclinc is not valid.
configure will now attempt to autodetect both the Tcl library and header.
checking for Tcl library... using /lib
checking for Tcl header... using /
checking whether the Tcl system has changed... yes
checking for Tcl version...
checking for Tcl patch level...
configure: error:
|
but where's the problem?
i also tried the preinstalled tcl (8.4.6-12) and made a downgrad to 8.4.6-9
always the same error.
my eggdrop is 1.6.17 (1.6.18 also doesn't work)
my system is a debian sarge server.
any ideas?
thx&greets,
soomon |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sat Mar 04, 2006 12:54 pm Post subject: |
|
|
| soomon wrote: |
but where's the problem?
|
| Quote: |
| Code: |
The file '' given to option --with-tclinc is not valid.
|
|
_________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
soomon Voice
Joined: 04 Mar 2006 Posts: 6
|
Posted: Sat Mar 04, 2006 1:38 pm Post subject: |
|
|
| Code: |
configure: warning:
The file '/usr/local/include/tcl8.4/tcl.h' given to option --with-tclinc is not valid.
configure will now attempt to autodetect both the Tcl library and header.
checking for Tcl library... using /lib
checking for Tcl header... using /
checking whether the Tcl system has changed... yes
checking for Tcl version...
checking for Tcl patch level...
configure: error:
Your Tcl version is much too old for Eggdrop to use
|
i also tried reinstalling tcl 8.4.12 using apt, it did it but still the same error...
recompiling the source from tcl.tk also doen't suceed:
xyz:/tmp/tcl8.4.12/unix# make
tclAppInit.o(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0): first defined here
collect2: ld returned 1 exit status
make: *** [tclsh] error 1
(./configure worked!) |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sat Mar 04, 2006 2:00 pm Post subject: |
|
|
are you able to compile anything else? _________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
dtgorm Voice
Joined: 24 Jan 2007 Posts: 4
|
Posted: Wed Jan 24, 2007 12:12 pm Post subject: |
|
|
Ok, lets see if anyone can figure this out...
About a week ago, i installed Tcl/Tk Software's Tcl8.5 .. well then i removed the files...
today, I installed ActiveTcl8.4 to /opt/..... and exported the path.. tested i could use tclsh and was able to get a prompt.
go to compile eggy with and without the --with-tcl='path-to-tcl8.4' and when I go to make... i get :
| Code: | ./eggdrop: error while loading shared libraries: libtcl8.5.so: cannot open shared object file: No such file or directory
make: *** [modules] Error 127
|
I have done ldconfig -v and there is no reference to tcl8.5 at all. So why in the world am i getting an error about libtcl8.5.so? Is it hard coded to use a non-stable tcl library?
Any help would be appreciated.
I notice at the beginning of make, where it starts to compile, the path to tcl is listed as -L/usr/local/lib -ltcl8.5
| Code: | 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 -ltcl8.5 -lm -ldl -ldns -lnsl md5/md5c.o compat/*.o `cat mod/mod.xlibs`
touch ../eggdrop |
|
|
| Back to top |
|
 |
|