aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: execution on newly compiled aMule-CVS-20060410  (Read 3723 times)

ivangotoy

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 12
  • you can find me on irc in UniBg irc network using ivangotoy as a nickname skype name - ivangotoy
execution on newly compiled aMule-CVS-20060410
« on: April 10, 2006, 09:40:26 PM »

ivan@ubuntu-amd64:~$ ls -l /usr/bin/wx*
-rwxr-xr-x  1 root root  4872 2005-08-22 16:16 /usr/bin/wxbase-2.4-config
lrwxrwxrwx  1 root root    27 2006-04-09 00:34 /usr/bin/wx-config -> /etc/alternatives/wx-config
-rwxr-xr-x  1 root root  5149 2005-08-22 16:35 /usr/bin/wxgtk-2.4-config
-rwxr-xr-x  1 root root 78304 2005-08-23 23:08 /usr/bin/wxrc

ivan@ubuntu-amd64:~$ ls -l /usr/local/bin/wx*
lrwxrwxrwx  1 root root    49 2006-04-10 21:56 /usr/local/bin/wx-config -> /usr/local/lib/wx/config/gtk2-unicode-release-2.6
lrwxrwxrwx  1 root root     8 2006-04-10 21:56 /usr/local/bin/wxrc -> wxrc-2.6
-rwxr-xr-x  1 root root 90001 2006-04-10 21:56 /usr/local/bin/wxrc-2.6

i compiled aMule-CVS-20060410.tar.bz2 3.0 MB - no problem while compiling but i
hang on execution :(

after amule -funny-flag command i go that console output :

about 20 or 30 lines like this :
amule: Symbol `_ZTV17wxGenericTreeCtrl' has
different size in shared object, consider re-linking

and at the end :
amule: relocation error: amule: symbol _ZN12wxStringBase8InitWithEPKwmm, version  WXU_2.6 not defined in file libwx_baseu-2.6.so.0 with link time reference

running ubuntu amd64 and compiling amule seems to be my last chance to have it
thanks for the support
Logged
and so be it !

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: execution on newly compiled aMule-CVS-20060410
« Reply #1 on: April 10, 2006, 10:11:37 PM »

Hello Ivan!

I would recommend to uninstall wx2.4, unless you need it.
Did you compile wx by yourself using wxGTK 2.6.3?
Have you tried to compile aMule 2.1.1?
Logged

ivangotoy

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 12
  • you can find me on irc in UniBg irc network using ivangotoy as a nickname skype name - ivangotoy
Re: execution on newly compiled aMule-CVS-20060410
« Reply #2 on: April 10, 2006, 10:57:28 PM »

if someone tells me how to uninstall wg4 and how to install 2.6.3 - that would be the coolest :)
i mean exact commands like apt-get uninstall .... - i have no idea what are the names of the packets because  i suspect they are many
Logged
and so be it !

ivangotoy

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 12
  • you can find me on irc in UniBg irc network using ivangotoy as a nickname skype name - ivangotoy
Re: execution on newly compiled aMule-CVS-20060410
« Reply #3 on: April 10, 2006, 11:07:34 PM »

oops sorry i did not read the question about compiling wx
so i compile the sources of wxGTK-2.6.3 - and that is all :)
in general : i have compiled myself the wxGTK-2.6.3 , i suppose something goes wrong with shared libraries but i have no idea how to fix it
Logged
and so be it !

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: execution on newly compiled aMule-CVS-20060410
« Reply #4 on: April 10, 2006, 11:17:53 PM »

You have more than on wx installed, that's what's wrong.
Logged

ivangotoy

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 12
  • you can find me on irc in UniBg irc network using ivangotoy as a nickname skype name - ivangotoy
Re: execution on newly compiled aMule-CVS-20060410
« Reply #5 on: April 10, 2006, 11:50:52 PM »

i see what is going on but how can i locate and remove all these extra wx-s?
i would like to use my : wxgtk2 2.6.1 for compiling
at least it worked some days ago :) for the same sources i am compiling now
so what i did now: i removed gtk completely 2.4 (at least i think so)  and only 2.6 left on my pc
now i should find how many of the 2.6 versions i have on my pc
but how?
some debug info after removing some packages

root@ubuntu-amd64:/home/ivan/Desktop/amule-cvs# ls -l /usr/bin/wx*
lrwxrwxrwx  1 root root    27 2006-04-09 00:34 /usr/bin/wx-config -> /etc/alternatives/wx-config
-rwxr-xr-x  1 root root 78304 2005-08-23 23:08 /usr/bin/wxrc

root@ubuntu-amd64:/home/ivan/Desktop/amule-cvs# ls -l /usr/local/bin/wx*
lrwxrwxrwx  1 root root    49 2006-04-11 00:10 /usr/local/bin/wx-config -> /usr/local/lib/wx/config/gtk2-unicode-release-2.6
lrwxrwxrwx  1 root root     8 2006-04-11 00:10 /usr/local/bin/wxrc -> wxrc-2.6
-rwxr-xr-x  1 root root 90001 2006-04-11 00:10 /usr/local/bin/wxrc-2.6

i have no idea what is all about but the same problem REMAINED unsolved - a compiled again the wxGTK-2.6.3 sources after removing the 2.4 packs and before the debug commands above then i compiled amule cvs again just on the configure command i use :
for wxGTK-2.6.3 i use: ./configure --enable-unicode
and for amule cvs: ./configure --optimise
i think nothing fatal has happened and  i am  doing something the wrong way because that is my first thing i compile in my life
the main idea of the strange output executing amule command says to CONSIDER RELINKING in the end of each line is written and on the last line is the absolute unknown to me :
 amule: relocation error: amule: symbol _ZN12wxStringBase8InitWithEPKwmm, version WXU_2.6 not defined in file libwx_baseu-2.6.so.0 with link time reference
i have mixed up maybe a lot of things and instead of reinstalling ubuntu (too many configs will be lost - on amd64 they cost a lot of time for me) i consider reinstalling the problematic packages but... who can say what they are and how to do it clean :)
thanks for sparing your time helping newbies like me - if i can do something for you - just tell me
Logged
and so be it !

ivangotoy

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 12
  • you can find me on irc in UniBg irc network using ivangotoy as a nickname skype name - ivangotoy
Re: execution on newly compiled aMule-CVS-20060410
« Reply #6 on: April 11, 2006, 12:36:32 AM »

i removed all packges that begin with libwx* including 2.4 and 2.6 then i removed all packges beginning with : wx (i have no packages in synaptic beginning with wx) then compile the wxGTK-2.6.3 sources
at the end of make install it says :
On certain platforms (e.g. Linux) you'll now have to run ldconfig if you installed a shared library and also modify the LD_LIBRARY_PATH (or equivalent) environment variable.
i do not configure anything as it says because i have no idea how - ldconfig does not show anything when i type it on the command prompt and i actually do not know whether i install shared library or not :)

having compiled and installed wxwget with unicode and without unicode  maybe makes 2 different installations -
actually each time when i ./configure with different options i hope no different installations come - just overwriting the old ones but who knows? :)
Logged
and so be it !

ivangotoy

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 12
  • you can find me on irc in UniBg irc network using ivangotoy as a nickname skype name - ivangotoy
Re: execution on newly compiled aMule-CVS-20060410
« Reply #7 on: April 11, 2006, 11:27:44 AM »

i did it - i recompiled wxGtk 2.6.3 with --disable-share option and my amule is running fine - any help how to get rid of all the unused wxgtk installations on the  computer will help
now i have amule compiled with wxgtk2 v 2.6.3 :)
by the way ,forgive me for my ignorance but if i have more than one wxgtk on my pc why i managed to compile amule cvs and it works  ? --disable-share helped i am sure but i have no idea again what is it for - i just saw it as an option :)
Logged
and so be it !