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 

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

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


Joined: 17 Mar 2015
Posts: 5

PostPosted: Tue Mar 17, 2015 12:28 pm    Post subject: [SOLVED] ./eggdrop ERROR 1 & modegg ERROR 2 Reply with quote

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
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2839

PostPosted: Tue Mar 17, 2015 4:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
SpiKe^^
Owner


Joined: 12 May 2006
Posts: 601
Location: Tennessee, USA

PostPosted: Tue Mar 17, 2015 4:33 pm    Post subject: Reply with quote

Try: gmake
_________________
SpiKe^^

Get BogusTrivia 2.06.4.7 at www.mytclscripts.com
or visit the New Tcl Acrhive at www.tclarchive.org
.
Back to top
View user's profile Send private message Visit poster's website
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2839

PostPosted: Tue Mar 17, 2015 4:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
ig8011
Voice


Joined: 17 Mar 2015
Posts: 5

PostPosted: Tue Mar 17, 2015 5:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
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