egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Error 127 by eggdropinsttallation

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
SvenKuhne
Voice


Joined: 06 Nov 2007
Posts: 6
Location: Gronau/Germany

PostPosted: Tue Nov 06, 2007 9:03 am    Post subject: Error 127 by eggdropinsttallation Reply with quote

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


What can i do to fix this problem under Debain 3.1sarge ???
Sorry for my bad english Smile

tcl was installed bevor getting eggdrop....

Thanks for your help...
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Tue Nov 06, 2007 10:02 am    Post subject: Reply with quote

Where/how did you install tcl?

Systemwide installation, or just in your home directory?

If systemwide, did you update /etc/ld.so.conf and run ldconfig?

If locally, did you compile your eggdrop with -rpath directive, or make sure the installation location is included in LD_LIBRARY_PATH environment variable?
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
SvenKuhne
Voice


Joined: 06 Nov 2007
Posts: 6
Location: Gronau/Germany

PostPosted: Tue Nov 06, 2007 10:14 am    Post subject: Reply with quote

to install eggdrop i used the webmin interface there is an apt pakage to install eggdrop.

the install of tcl is since from 6month. So i dont know with installationstype is used..
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Tue Nov 06, 2007 10:18 am    Post subject: Reply with quote

In that case, I would really recommend downloading the source and compile it yourself (eggdrop).

In order to locate where tcl (or libtcl or tcllib, don't remember which name(s) deb uses), try something like this:
Code:
locate libtcl tcl.h

This should provide you the location of any tcl-libraries and headerfiles on the system.
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
SvenKuhne
Voice


Joined: 06 Nov 2007
Posts: 6
Location: Gronau/Germany

PostPosted: Tue Nov 06, 2007 1:17 pm    Post subject: Reply with quote

the tcl is locate at:

/usr/lib/libtcl8.4.so.0

thats the result of
"locate libtcl tcl.h"

i will try to uninstall eggdrop via Webmin and make manuell install with compile. I will give you feedback over the results.

Thanks a lot for this time...
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger
SvenKuhne
Voice


Joined: 06 Nov 2007
Posts: 6
Location: Gronau/Germany

PostPosted: Tue Nov 06, 2007 1:38 pm    Post subject: Reply with quote

To install manualy i take the following steps:


Code:
wget ftp://ftp.eggheads.org/pub/eggdrop/source/1.6/eggdrop1.6.18.tar.gz

then
Code:
tar zxvf eggdrop1.6.18.tar.gz


Code:
cd eggdrop1.6.18


Code:
R14722:~/eggdrop1.6.18# dir
aclocal.m4   channels.so   config.log     console.so  disabled_modules  eggdrop.conf  help      logs         misc      scripts    src          wire.so
assoc.so     config.cache  config.status  CONTENTS    dns.so            EGGMOD.stamp  INSTALL   lush.h       NEWS      seen.so    text
blowfish.so  config.h      configure      COPYING     doc               FEATURES      irc.so    Makefile     notes.so  server.so  transfer.so
ChangeLog    config.h.in   configure.ac   ctcp.so     eggdrop           filesys.so    language  Makefile.in  README    share.so   uptime.so
R14722:~/eggdrop1.6.18#

Code:
./configure

gives the following results:
Code:
R14722:~/eggdrop1.6.18# ./configure

This is Eggdrop's GNU configure script.
It's going to run a bunch of tests to hopefully make your compile
work without much twiddling.

checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for AIX... no
checking for library containing strerror... none required
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether the compiler understands -Wall... yes
checking whether the compiler understands -pipe... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... yes
checking for ranlib... ranlib
checking whether ln -s works... yes
checking whether head -n 1 works... yes
checking for gawk... gawk
checking for basename... basename
checking for uname... uname
checking for socket in -lsocket... no
checking for connect in -lnsl... yes
checking for gethostbyname in -ldns... no
checking for dlopen in -ldl... yes
checking for tan in -lm... yes
checking for pthread_mutex_init in -lpthread... yes
checking system type... Linux
checking system release... 2.6.19.2
checking module loading capabilities...
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking loader.h usability... no
checking loader.h presence... no
checking for loader.h... no
checking rld.h usability... no
checking rld.h presence... no
checking for rld.h... no
checking mach-o/dyld.h usability... no
checking mach-o/dyld.h presence... no
checking for mach-o/dyld.h... no
checking mach-o/rld.h usability... no
checking mach-o/rld.h presence... no
checking for mach-o/rld.h... no
checking for dlopen... yes
checking for load... no
checking for NSLinkModule... no
checking for shl_load... no
checking for rld_load... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether time.h and sys/time.h may both be included... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking std_args.h usability... no
checking std_args.h presence... no
checking for std_args.h... no
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/rusage.h usability... no
checking sys/rusage.h presence... no
checking for sys/rusage.h... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking for inline... inline
checking for pid_t... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for working volatile... yes
checking for socklen_t... yes
checking for long... yes
checking size of long... 4
checking for int... yes
checking size of int... 4
checking for short... yes
checking size of short... 2
checking for clock... yes
checking for dprintf... yes
checking for fsync... yes
checking for getdtablesize... yes
checking for getrusage... yes
checking for inet_aton... yes
checking for isascii... yes
checking for mbrlen... yes
checking for memcpy... yes
checking for memset... yes
checking for random... yes
checking for rename... yes
checking for setpgid... yes
checking for sigaction... yes
checking for sigemptyset... yes
checking for snprintf... yes
checking for srandom... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for uname... yes
checking for vsnprintf... yes
checking for sys/select.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for vprintf... yes
checking for _doprnt... no
checking for strftime... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for broken libsafe sscanf... no
checking for Tcl library... found /usr/local/lib/libtcl8.4.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.16
checking for Tcl_Free in -ltcl8.4... yes
checking for TclpFinalizeThreadData in -ltcl8.4... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating scripts/Makefile
config.status: creating src/Makefile
config.status: creating src/compat/Makefile
config.status: creating src/md5/Makefile
config.status: creating src/mod/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing replace-if-changed commands
lush.h is unchanged
config.status: executing catch-make-rebuild commands
Building ./src/mod/Makefile... done.

Operating System: Linux 2.6.19.2

If you experience any problems compiling Eggdrop, please read the
compile guide, found in doc/COMPILE-GUIDE.

Type 'make config' to configure the modules, or type 'make iconfig'
to interactively choose which modules to compile.

then
Code:
R14722:~/eggdrop1.6.18# make config

gives the following results:
Code:
R14722:~/eggdrop1.6.18# make config
Checking for removed modules.................... done.
Detecting modules.................... done.
Calculating dependencies.................. done.
Building ./src/mod/Makefile... done.
make[1]: Entering directory `/root/eggdrop1.6.18/src/mod'

Configuring module 'dns'.
configure: loading cache ../../../config.cache
checking for gcc... (cached) gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking for res_init... (cached) no
checking for res_init in -lresolv... (cached) no
checking for res_init in -lbind... (cached) no
checking for __res_init... (cached) yes
checking for res_mkquery... (cached) no
checking for res_mkquery in -lresolv... (cached) yes
checking build system type... (cached) i686-pc-linux-gnu
checking host system type... (cached) i686-pc-linux-gnu
configure: creating ./config.status
config.status: creating Makefile

make[1]: Leaving directory `/root/eggdrop1.6.18/src/mod'
Building ./src/mod/Makefile... done.

You can now compile the bot, using "make".

Code:
R14722:~/eggdrop1.6.18# make

the compile is getting very fast with following results:
Code:
make[1]: Entering directory `/root/eggdrop1.6.18/src'
This may take a while. Go get some runts.

make[2]: Entering directory `/root/eggdrop1.6.18/src/md5'
make[2]: Nothing to be done for `md5'.
make[2]: Leaving directory `/root/eggdrop1.6.18/src/md5'
make[2]: Entering directory `/root/eggdrop1.6.18/src/compat'
make[2]: Nothing to be done for `compat'.
make[2]: Leaving directory `/root/eggdrop1.6.18/src/compat'

---------- Yeah! That's the compiling, now the linking! ----------

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 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`
touch ../eggdrop

Successful compile: eggdrop

make[1]: Leaving directory `/root/eggdrop1.6.18/src'
make[1]: Entering directory `/root/eggdrop1.6.18/src/mod'
make[2]: Entering directory `/root/eggdrop1.6.18/src/mod/assoc.mod'
make[2]: Nothing to be done for `modules'.
make[2]: Leaving directory `/root/eggdrop1.6.18/src/mod/assoc.mod'
make[2]: Entering directory `/root/eggdrop1.6.18/src/mod/blowfish.mod'
make[2]: Nothing to be done for `modules'.
make[2]: Leaving directory `/root/eggdrop1.6.18/src/mod/blowfish.mod'
make[2]: Entering directory `/root/eggdrop1.6.18/src/mod/channels.mod'
make[2]: Nothing to be done for `modules'.
make[2]: Leaving directory `/root/eggdrop1.6.18/src/mod/channels.mod'
make[2]: Entering directory `/root/eggdrop1.6.18/src/mod/console.mod'
make[2]: Nothing to be done for `modules'.
make[2]: Leaving directory `/root/eggdrop1.6.18/src/mod/console.mod'
make[2]: Entering directory `/root/eggdrop1.6.18/src/mod/ctcp.mod'
make[2]: Nothing to be done for `modules'.
make[2]: Leaving directory `/root/eggdrop1.6.18/src/mod/ctcp.mod'
make[2]: Entering directory `/root/eggdrop1.6.18/src/mod/dns.mod'
make[2]: Nothing to be done for `modules'.
make[2]: Leaving directory `/root/eggdrop1.6.18/src/mod/dns.mod'
make[2]: Entering directory `/root/eggdrop1.6.18/src/mod/filesys.mod'
make[2]: Nothing to be done for `modules'.
make[2]: Leaving directory `/root/eggdrop1.6.18/src/mod/filesys.mod'
make[2]: Entering directory `/root/eggdrop1.6.18/src/mod/irc.mod'
make[2]: Nothing to be done for `modules'.
make[2]: Leaving directory `/root/eggdrop1.6.18/src/mod/irc.mod'
make[2]: Entering directory `/root/eggdrop1.6.18/src/mod/notes.mod'
make[2]: Nothing to be done for `modules'.
make[2]: Leaving directory `/root/eggdrop1.6.18/src/mod/notes.mod'
make[2]: Entering directory `/root/eggdrop1.6.18/src/mod/seen.mod'
make[2]: Nothing to be done for `modules'.
make[2]: Leaving directory `/root/eggdrop1.6.18/src/mod/seen.mod'
make[2]: Entering directory `/root/eggdrop1.6.18/src/mod/server.mod'
make[2]: Nothing to be done for `modules'.
make[2]: Leaving directory `/root/eggdrop1.6.18/src/mod/server.mod'
make[2]: Entering directory `/root/eggdrop1.6.18/src/mod/share.mod'
make[2]: Nothing to be done for `modules'.
make[2]: Leaving directory `/root/eggdrop1.6.18/src/mod/share.mod'
make[2]: Entering directory `/root/eggdrop1.6.18/src/mod/transfer.mod'
make[2]: Nothing to be done for `modules'.
make[2]: Leaving directory `/root/eggdrop1.6.18/src/mod/transfer.mod'
make[2]: Entering directory `/root/eggdrop1.6.18/src/mod/uptime.mod'
make[2]: Nothing to be done for `modules'.
make[2]: Leaving directory `/root/eggdrop1.6.18/src/mod/uptime.mod'
make[2]: Entering directory `/root/eggdrop1.6.18/src/mod/wire.mod'
make[2]: Nothing to be done for `modules'.
make[2]: Leaving directory `/root/eggdrop1.6.18/src/mod/wire.mod'

All modules compiled.
make[1]: Leaving directory `/root/eggdrop1.6.18/src/mod'

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


And now the same mistake again...
i dont know what can i do to fix this problem ....
Sorry for the "Spamming" topic reply, but this is the best way i think to show you whats going on Smile
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Tue Nov 06, 2007 1:41 pm    Post subject: Reply with quote

Sounds like you need to check your /etc/ld.so.conf and runt ldconfig.
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
SvenKuhne
Voice


Joined: 06 Nov 2007
Posts: 6
Location: Gronau/Germany

PostPosted: Tue Nov 06, 2007 1:44 pm    Post subject: Reply with quote

The only text into /etc/ld.so.conf when i open it with nano is:

/usr/X11R6/lib
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger
SvenKuhne
Voice


Joined: 06 Nov 2007
Posts: 6
Location: Gronau/Germany

PostPosted: Tue Nov 06, 2007 1:53 pm    Post subject: Reply with quote

The following steps from the install manual doesnt can be made:

9) Type make install DEST=/home/name/botdir
10) Switch to the botdir and edit the sample config file eggdrop.conf, then rename it to something appropriate (e.g. botnick.conf).
11) Type ./eggdrop -m <config file>

But when its to many work to plain this problem fixing here, i give you an access with ssh and so you can fix it easier.. ???
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Tue Nov 06, 2007 5:05 pm    Post subject: Reply with quote

Well, those steps will not suceed until your eggdrop is able to load the shared library, so lets just focus on that atm.

I don't remember wether /usr/local/lib is within the trusted default searches (for ld.so), although I guess it's not. Try adding it on a separate line into your /etc/ld.so.conf file. Then, as root, run the ldconfig program and wait for it to complete. Once done, you could try step 9 (make install) and see if it helped.
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
TCL_no_TK
Owner


Joined: 25 Aug 2006
Posts: 509
Location: England, Yorkshire

PostPosted: Tue Nov 06, 2007 6:38 pm    Post subject: Reply with quote

just out of curiousity, what os is this?
_________________
TCL the misunderstood
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber