View previous topic :: View next topic |
Author |
Message |
ig8011 Voice
Joined: 17 Mar 2015 Posts: 5
|
Posted: Tue Mar 17, 2015 12:28 pm Post subject: [SOLVED] ./eggdrop ERROR 1 & modegg ERROR 2 |
|
|
Hi all!
I would like to install an eggdrop, but i got the following error messages:
"collect2: error: ld returned 1 exit status
make[1]: *** [../eggdrop] Error 1
make[1]: Leaving directory `/home/mydir/eggdrop1.6.21/src'
make: *** [modegg] Error 2"
Installation steps:
1. ./configure --> Done!
Remark: here i have to define the path to tcl.h and to libtclx8.4.so.
2. make config -->Done!
3. make --> Here i got the above mentioned error messages.
What is the solution? Can anyone help me?
Thnks a lot!
Last edited by ig8011 on Wed Mar 18, 2015 1:04 pm; edited 1 time in total |
|
Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2835
|
Posted: Tue Mar 17, 2015 4:29 pm Post subject: |
|
|
In most cases, the few lines above what you posted, would actually give the reason for the linker error. _________________ NML_375, idling at #eggdrop@IrcNET |
|
Back to top |
|
 |
SpiKe^^ Owner

Joined: 12 May 2006 Posts: 588 Location: Tennessee, USA
|
|
Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2835
|
Posted: Tue Mar 17, 2015 4:45 pm Post subject: |
|
|
Read your post a second time, and I see you mention libtclx8.4.so. That should be libtcl8.4.so. libtclx8.4.so is an extension to tcl, but you'd still need the standard tcl libraries.
The most likely cause for your error, is that you either lack the tcl libraries (or failed to install the *-dev package, in case you are using dpkg, yum, or similar package managers), or you provided an incorrect path to where the library is located. _________________ NML_375, idling at #eggdrop@IrcNET |
|
Back to top |
|
 |
ig8011 Voice
Joined: 17 Mar 2015 Posts: 5
|
Posted: Tue Mar 17, 2015 5:11 pm Post subject: |
|
|
nml375 wrote: | Read your post a second time, and I see you mention libtclx8.4.so. That should be libtcl8.4.so. libtclx8.4.so is an extension to tcl, but you'd still need the standard tcl libraries.
The most likely cause for your error, is that you either lack the tcl libraries (or failed to install the *-dev package, in case you are using dpkg, yum, or similar package managers), or you provided an incorrect path to where the library is located. |
Tcl libs were installed and the "dev" packages also. But you are right, the path was wrong I gave to the ./configure.
The solution:
./configure --with-tclinc='/usr/include/tcl8.6/tcl.h' --with-tcllib='/usr/lib/x86_64-linux-gnu/libtcl8.6.so'
After this "make config", "make", and "make install" run without any problem.
You have to give the correct path to tcl.h and to libtcl8.6.so
The problem solved and thank you of course! |
|
Back to top |
|
 |
|