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.

[SOLVED] ./eggdrop ERROR 1 & modegg ERROR 2

General support and discussion of Eggdrop bots.
Post Reply
i
ig8011
Voice
Posts: 5
Joined: Tue Mar 17, 2015 11:00 am

[SOLVED] ./eggdrop ERROR 1 & modegg ERROR 2

Post by ig8011 »

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.
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

In most cases, the few lines above what you posted, would actually give the reason for the linker error.
NML_375
User avatar
SpiKe^^
Owner
Posts: 831
Joined: Fri May 12, 2006 10:20 pm
Location: Tennessee, USA
Contact:

Post by SpiKe^^ »

Try: gmake
SpiKe^^

Get BogusTrivia 2.06.4.7 at www.mytclscripts.com
or visit the New Tcl Acrhive at www.tclarchive.org
.
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

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
i
ig8011
Voice
Posts: 5
Joined: Tue Mar 17, 2015 11:00 am

Post by ig8011 »

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!
Post Reply