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.

Error what do i do?

Old posts that have not been replied to for several years.
Locked
A
Az_

Error what do i do?

Post by Az_ »

THis is what i get:

Successful compile: eggdrop


All modules compiled.

Test run of ./eggdrop -v:
/usr/libexec/ld-elf.so.1: Shared object "libtcl8.3.so" not found
*** Error code 1

Stop in /house/Cvet/eggdrop1.6.16.

THe problem is that Libtcl8.3so is not installed in usr/libexec/ but in
cvet/tcl/
can anyone tell me how to fix this eggdrop problem?
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Re:Error what do i do?

Post by Alchera »

Read ~doc/COMPILING-FAQ section E. Tcl Detection and Installation. See if that helps.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
A
Az_

Post by Az_ »

I used the information and well it did not work...its not the problem in linking to the tcl but in the test run when eggdrop is starting the code again...

Code: Select all

Linking eggdrop: (standard build).

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  mod
ules.o net.o rfc1459.o tcl.o tcldcc.o tclhash.o tclmisc.o tcluser.o  userent.o u
serrec.o users.o  -L/house/Cvet/tcl/lib -ltcl8.3 -lm md5/md5c.o compat/*.o `cat
mod/mod.xlibs`
/house/Cvet/tcl/lib/libtcl8.3.so: warning: tmpnam() possibly used unsafely; cons
ider using mkstemp()
touch ../eggdrop

Successful compile: eggdrop


All modules compiled.

Test run of ./eggdrop -v:
/usr/libexec/ld-elf.so.1: Shared object "libtcl8.3.so" not found
*** Error code 1

Stop in /house/Cvet/eggdrop1.6.16.
I was wondering if the 8.3 version of tcl might be the problem? :o
Can anyone help?
Do i need to install tk also?
W
Wcc
Master
Posts: 278
Joined: Sun Oct 28, 2001 8:00 pm
Location: USA
Contact:

Post by Wcc »

Code: Select all

I. Tcl Detection and Installation
        If ./configure does not correctly detect the location of your Tcl
        library and header file, or if you experience errors related to Tcl
        during linking, preform these steps:

          1. Depending on what shell your using:

            bash/ksh:
              export LD_LIBRARY_PATH=<path to DIRECTORY containing Tcl library>:${LD_LIBRARY_PATH}

            csh/tcsh/tclsh:
              setenv LD_LIBRARY_PATH <path to DIRECTORY containing Tcl library>:${LD_LIBRARY_PATH}

            Note that some OS's use a different environment variable to tell
            ld where to look for a library. See the notes for your specific OS
            above (if applicable).

          2. Run the following command from your Eggdrop compilation directory
             (this is all one command):

            ./configure --with-tclinc='<full path to tcl.h>'
            --with-tcllib='<full path to Tcl library>'

          3. Continue compiling the bot as outlined in Section A., starting
             with 'make config'.

        If you do not have Tcl installed on your system, you can compile it in
        your /home directory. Download Tcl from Tcl's SourceForge project page
        at http://www.sourceforge.net/projects/tcl/, or from ActiveState at
        ftp://tcl.activestate.com/pub/tcl/tcl8_4/. Read Tcl's README file for
        help with compiling and installing it. After you compile Tcl, follow
        the steps above to allow Eggdrop to detect Tcl.
e
erevlydeux

Post by erevlydeux »

Sorry to tag on, but this seems to be close to the problem I'm getting. I have Tcl 8.4 installed, and through either auto-detection/manual links, tcl is discovered and goes through the configuration, BUT, upon the test run of ./eggdrop -v..

Code: Select all

Test run of ./eggdrop -v:
./eggdrop: error while loading shared libraries: libtcl8.4.so: cannot open shared object file: No such file or directory
make: *** [modules] Error 127
I've tried the 'make' command under my eggdrop account, which owns the files, and root, assuming it was some sort of access problem, but it appears to be something else... Any help would be appreciated, I have looked at the COMPILING-FAQ also, so don't rag on me please :P

Also, this is both 1.6.16 and 1.6.17 RC1 :roll:
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Try this thread :)

As a side note, eggdrop cannot be run in root account.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
A
Az_

Post by Az_ »

Ok i think i got it...after 2 days of trying... :lol: What u have to do ppl is ./configure --with-tcllin '/full/path/to/tlc.h' --with-tcllib '/full/path/to/tcllib8.4.so' then make configure then make ..Eggdrop will give u the not found path to tcllib8.4.so not to worry now is the time to setenv LD_LIBRARY_PATH '/path/to/tcl/library/' afther that DO NOT ./configure instead write down make and now the will run fully then continue with make install..that is it.. but every time u log in to the shell account u have to write setenv LD_LIBRARY_PATH '/path/to/tcl/library/'..I am not shure but if u have a bash account u should write in to the bash profile file .bash_profile the following two line

Code: Select all

export TCLLIB="/path/to/tcl/lib/" 
export TCLINC="/path/to/tcl/include/"
U can find this file in to your shell account...just ftp to it....ANd the miracle is done your eggdrop is working....Few i just realize that my shell account does not allow outgoing connections all work for nothing. :( ...doh does any one know a free shell account that will allow that ?(and i mean realy free not one of those register to 3 friendly companies and find the secret word) :P[/u]
Locked