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.

Fatal Error When Make Tries To Link

Old posts that have not been replied to for several years.
Locked
[
[Nimo]

Fatal Error When Make Tries To Link

Post by [Nimo] »

When I run "make" it all goes well until the linkin part when it displays this message.

ld.so.1: ./eggdrop: fatal: libtcl.so: open failed: No such file or directory
*** Error code 137
make: Fatal error: Command failed for target `modegg'

Anyone know what to do to make it work?

[Nimo]

-veni vidi vici-
g
guppy
eggdrop engineer
Posts: 199
Joined: Mon Sep 24, 2001 8:00 pm
Location: Canada
Contact:

Post by guppy »

Looks like tcl isn't installed properly.

If you are root, add the directory of where libtcl.so is to /etc/ld.so.conf and run ldconfig. If you aren't root, you'll have to set LD_LIBRARY_PATH to the path where libtcl.so is everytime you run the bot.

i.e.. export LD_LIBRARY_PATH=/usr/local/lib
[
[Nimo]

TCL

Post by [Nimo] »

How do i figure out where libtcl.so is located?
Is is there any other way to make tcl work because i'm not sure if my shell has tcl at all...

[Nimo]

-veni vidi vici-
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

If the bot completes the ./configure process, then Tcl is installed.

The ./configure script, creates a small C program, with Tcl compiled in. This is then compiled and run to test that all is well.

If it is able to compile, it must be there.
[
[Nimo]

Post by [Nimo] »

well the ./configure works just fine...
so I'm back in square one, not knowing what to do...
damn it...

[Nimo]

-veni vidi vici-
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Use "locate libtcl.so"
[
[Nimo]

Post by [Nimo] »

"locate: command not found"

Damn it. I just wanted to be a real nerd... :P
Gonna try to consult my friends, who are always of no help at all...

[Nimo]

-veni vidi... screw up-
s
spock
Master
Posts: 319
Joined: Thu Dec 12, 2002 8:40 pm

Post by spock »

on my system it is located here:

:~$ locate libtcl.so
/usr/lib/libtcl.so
photon?
Locked