aMule Forum
English => aMule Help => Topic started by: Princey on March 24, 2006, 05:31:13 AM
-
Hi, I've been running amule for quite a while now and had no problems getting it up and running. Up until yesterday, amule ran fine. II read there was an update noticeably with bug fixes and support for kadmania. Ever since I ran the update, amule got broken. Kept spitting out errors re libwxbase2.6 and libwxgtk2.6 being referenced but not called from within the package.
I uninstalled completely and decided to go back to the previous version installed found in the ubuntu resositories (2.1.0). When I run it, it stars then quits with the following message:
QUOTE:
amule: relocation error: /usr/lib/libwx_gtk2u_core-2.6.so.0: symbol _ZTI15wxObjectRefData, version WXU_2.6 not defined in file libwx_baseu-2.6.so.0 with link time reference
I posted in the ubuntu forums, followed up suggestions, but nothing. I spent hours reading through this forum and that of ubuntu and decided since most folks claimed that the new version worked based on this thread http://www.ubuntuforums.org/showthread.php?t=146523&highlight=amule I decided to give another go, completely removing the other version and installing the new one. I still end up running into the same problems. Any advice? BTW, the link points to an announcement from the distro specific given in the announcement in this forum.
-
*moved from aMule News to aMule Help*
Btw, since when can regular users create threads in the news section?
-
Originally posted by lionel77
Btw, since when can regular users create threads in the news section?
WOOOOOOOPS
-
"kadmania", I like it ^^
Did yiu try removing / reinstalling your wx installation? How did you install it? Any chance that you have several instances of wx installed? (.deb installation, manual compile at some time...)
Uninstall all wx installed by package management, then remove all wx as in "deltaHF's Q&D way" here (http://www.amule.org/wiki/index.php/How_to_uninstall_wxWidgets), reinstall wx & amule...
-
I've removed wxwidgets and amule. Is there any particular order I should reinstall them? Say wxwidgets first or last?
-
wx first.
-
Thanks for the prompt response. I run Kubuntu Breezy. When I check my package manager, there are several versions/types of wxwidgets. Which should I install? Here are the listings:
libwxgtk2.6-0
libwxgtk2.6-dbg
libwxgtk2.6-dev
python-wxgtk2.6
python-wx version
wx common
wx2.6-doc
wx2.6-examples
wx2.6-headers
Thanks for the patience and assistance
-
You just need libwxgtk2.6-0 to install aMule, all packages should be compiled against this version.
-
Thanks guys for the help so far. I still can't get amule to work. I've uninstalled completely, remove wxwidgets and reinstall wxwidgets first, then amule. I still keep getting that error message:
Quote:
amule: relocation error: /usr/lib/libwx_gtk2u_core-2.6.so.0: symbol _ZTI15wxObjectRefData, version WXU_2.6 not defined in file libwx_baseu-2.6.so.0 with link time reference
I'm at a lost now.
-
Don't be lost, better tell us which package of aMule you use. Maybe try a different one, there are three for breezy available.
-
Originally posted by wuischke
Don't be lost, better tell us which package of aMule you use. Maybe try a different one, there are three for breezy available.
I've tried 2.0-3 in the ubuntu repository -- no luck then tried the latest version 2.1.1, still the same error. I ran version 2.0-3 prior to my first upgrade and that one worked pretty fine. Things got screwed when I updated to 2.1.1
-
See, here (http://forum.amule.org/thread.php?threadid=9467) are some packages for aMule 2.1.1 and Breezy. Have you tried them all? Which one did you try?
-
The one by Trevino
-
Could you please give the others a try? ;)
-
Just finished trying and back to the same problem. Nothing is working. All give the same error message.
amule: relocation error: /usr/lib/libwx_gtk2u_core-2.6.so.0: symbol _ZTI15wxObjectRefData, version WXU_2.6 not defined in file libwx_baseu-2.6.so.0 with link time referenc
Somehow, I suspect it has something to do with libwx_gtk. I'm this close to reformating reinstalling the entire OS.
-
Mh, I don't like this solution so much.
Let's just evade this and try something different:
Compile wx and amule by yourself. I would suggest to use wxGTK 2.6.3r2, you can grab it at wxwindows.org
The wiki (http://www.amule.org/wiki/index.php/HowTo_Compile_In_Debian#The_easiest:_Preparing_the_system)should guide you through the rest of the process, just ask if you've questions.
-
Thanks for the help. I've downloaded the files but the 2.6.3 rc2 is released in one standard package for all ports. I'm not sure which to run if it's the one with gtk or x11. Any advice?
-
wxGTK
-
Originally posted by thedude0001
wxGTK
I still haven't gotten amule to work. There isn't a wxgtk in the all ports package I got. I was advised to use the rc2. Only in the stable packages there is one or am I mistaken? Reading the X11 one it says you can compile then convert to wxgtk. I'm in the process of installing a new and bigger hard drive later on today. Should I use one of the deb packages fresh off or should I still go ahead and compile myself?
-
Ports? Stable? What are you talking about? Grab this (http://heanet.dl.sourceforge.net/sourceforge/wxwindows/wxGTK-2.6.3.tar.bz2) file, untar it and run configure with '--with-gtk --enable-unicode'
-
Originally posted by thedude0001
Ports? Stable? What are you talking about? Grab this (http://heanet.dl.sourceforge.net/sourceforge/wxwindows/wxGTK-2.6.3.tar.bz2) file, untar it and run configure with '--with-gtk --enable-unicode'
Okays, I'm back on track again. Having received my new comp, I decided to build amule seeing that the one provided in the ubuntu unsupported repos is way lower than the current version. YES, I've tried the deb packages before trying to buidl and they all come up with the errors already stated so as someone suggested the best way is to install with wxwidgets instead. I read the how to instructions twice then proceeded as directed. First up, I got an error saying I had no compiler installed so I installed gcc 4.0. Then when I typed in '../configure --with-gtk --with unicode-enable' the following appears with an error saying about some string error. Here's the exact output. Hoping someone can help me out there. It's not my first time compiling, but first time I'm stuck:
../configure --with-gtk --enable-unicode checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu loading argument cache configarg.cache touch: cannot touch `configarg.cache': Permission denied checking for --enable-gui... yes checking for --enable-monolithic... no checking for --enable-plugins... no checking for --enable-universal... no checking for --enable-nanox... no checking for --enable-gpe... no checking for --with-libpng... yes checking for --with-libjpeg... yes checking for --with-libtiff... yes checking for --with-libxpm... yes checking for --with-libmspack... yes checking for --with-sdl... no checking for --with-gnomeprint... no checking for --with-hildon... no checking for --with-opengl... no checking for --with-dmalloc... no checking for --with-regex... yes checking for --with-zlib... yes checking for --with-odbc... no checking for --with-expat... yes checking for --enable-shared... yes checking for --enable-optimise... yes checking for --enable-debug... no checking for --enable-stl... no checking for --enable-debug_flag... no checking for --enable-debug_info... no checking for --enable-debug_gdb... no checking for --enable-debug_cntxt... no checking for --enable-mem_tracing... no checking for --enable-profile... no checking for --enable-no_rtti... no checking for --enable-no_exceptions... no checking for --enable-permissive... no checking for --enable-no_deps... no checking for --enable-universal_binary... no checking for --enable-compat22... no checking for --disable-compat24... no checking for --enable-rpath... yes checking for --enable-intl... yes checking for --enable-config... yes checking for --enable-protocols... yes checking for --enable-ftp... yes checking for --enable-http... yes checking for --enable-fileproto... yes checking for --enable-sockets... yes checking for --enable-ole... yes checking for --enable-dataobj... yes checking for --enable-ipc... yes checking for --enable-apple_ieee... yes checking for --enable-arcstream... yes checking for --enable-backtrace... yes checking for --enable-catch_segvs... yes checking for --enable-cmdline... yes checking for --enable-datetime... yes checking for --enable-debugreport... yes checking for --enable-dialupman... yes checking for --enable-dynlib... yes checking for --enable-dynamicloader... yes checking for --enable-exceptions... yes checking for --enable-ffile... yes checking for --enable-file... yes checking for --enable-filesystem... yes checking for --enable-fontmap... yes checking for --enable-fs_inet... yes checking for --enable-fs_zip... yes checking for --enable-geometry... yes checking for --enable-log... yes checking for --enable-longlong... yes checking for --enable-mimetype... yes checking for --enable-mslu... yes checking for --enable-snglinst... yes checking for --enable-std_iostreams... yes checking for --enable-std_string... yes checking for --enable-stdpaths... yes checking for --enable-stopwatch... yes checking for --enable-streams... yes checking for --enable-system_options... yes checking for --enable-textbuf... yes checking for --enable-textfile... yes checking for --enable-timer... yes checking for --enable-unicode... yes checking for --enable-sound... yes checking for --enable-mediactrl... no checking for --enable-wxprintfv... no checking for --enable-zipstream... yes checking for --enable-url... yes checking for --enable-protocol... yes checking for --enable-protocol_http... yes checking for --enable-protocol_ftp... yes checking for --enable-protocol_file... yes checking for --enable-threads... yes checking for --enable-docview... yes checking for --enable-help... yes checking for --enable-mshtmlhelp... yes checking for --enable-html... yes checking for --enable-htmlhelp... yes checking for --enable-xrc... yes checking for --enable-constraints... yes checking for --enable-printarch... yes checking for --enable-mdi... yes checking for --enable-mdidoc... yes checking for --enable-loggui... yes checking for --enable-logwin... yes checking for --enable-logdialog... yes checking for --enable-webkit... yes checking for --enable-postscript... yes checking for --enable-prologio... no checking for --enable-resources... no checking for --enable-clipboard... yes checking for --enable-dnd... yes checking for --enable-metafile... yes checking for --enable-controls... no checking for --enable-accel... yes checking for --enable-button... yes checking for --enable-bmpbutton... yes checking for --enable-calendar... yes checking for --enable-caret... yes checking for --enable-checkbox... yes checking for --enable-checklst... yes checking for --enable-choice... yes checking for --enable-choicebook... yes checking for --enable-combobox... yes checking for --enable-datepick... yes checking for --enable-display... yes checking for --enable-gauge... yes checking for --enable-grid... yes checking for --enable-imaglist... yes checking for --enable-listbook... yes checking for --enable-listbox... yes checking for --enable-listctrl... yes checking for --enable-notebook... yes checking for --enable-radiobox... yes checking for --enable-radiobtn... yes checking for --enable-sash... yes checking for --enable-scrollbar... yes checking for --enable-slider... yes checking for --enable-spinbtn... yes checking for --enable-spinctrl... yes checking for --enable-splitter... yes checking for --enable-statbmp... yes checking for --enable-statbox... yes checking for --enable-statline... yes checking for --enable-stattext... yes checking for --enable-statusbar... yes checking for --enable-tabdialog... no checking for --enable-textctrl... yes checking for --enable-togglebtn... yes checking for --enable-toolbar... yes checking for --enable-tbarnative... yes checking for --enable-tbarsmpl... yes checking for --enable-treectrl... yes checking for --enable-tipwindow... yes checking for --enable-popupwin... yes checking for --enable-commondlg... yes checking for --enable-choicedlg... yes checking for --enable-coldlg... yes checking for --enable-filedlg... yes checking for --enable-finddlg... yes checking for --enable-fontdlg... yes checking for --enable-dirdlg... yes checking for --enable-msgdlg... yes checking for --enable-numberdlg... yes checking for --enable-splash... yes checking for --enable-textdlg... yes checking for --enable-tipdlg... yes checking for --enable-progressdlg... yes checking for --enable-wizarddlg... yes checking for --enable-menus... yes checking for --enable-miniframe... yes checking for --enable-tooltips... yes checking for --enable-splines... yes checking for --enable-mousewheel... yes checking for --enable-validators... yes checking for --enable-busyinfo... yes checking for --enable-joystick... yes checking for --enable-metafile... yes checking for --enable-dragimage... yes checking for --enable-accessibility... no checking for --enable-palette... yes checking for --enable-image... yes checking for --enable-gif... yes checking for --enable-pcx... yes checking for --enable-iff... no checking for --enable-pnm... yes checking for --enable-xpm... yes checking for --enable-ico_cur... yes checking for --enable-official_build... no saving argument cache configarg.cache mv: overwrite `configarg.cache', overriding mode 0644? y checking for toolkit... gtk 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 whether we are using the Intel C compiler... no checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking whether gcc needs -traditional... no checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking whether we are using the Intel C++ compiler... no checking for ranlib... ranlib checking for ar... ar checking for a BSD-compatible install... /usr/bin/install -c checking for strip... strip checking if make is GNU make... yes checking whether ln -s works... yes checking for strcasecmp() in string.h... no checking for strcasecmp() in strings.h... no configure: error: No case-insensitive string comparison function found.
Can someone point me to the right direction?
-
Did you install the package 'build-essential'?
-
No, I didn't. Thanks for the input. Incidentally, I remembered somehow that I didn't yet install build essential so I just tried it just after I posted waiting on a reply--sort of trial and error and lo and behold everything went smoothly with building wxgtk. Got to go out now so I'll compile amule when I get back. Thanks a whole lot your for assistance. :D
-
Hmm, this is pretty much the toughest I've been through. I compiled wxwidgets fine. aMule compiled with the following at the end following this link here (http://www.amule.org/wiki/index.php/Compilation_Installation#Step_1:_wxGTK).
make[2]: Leaving directory `/home/princey/aMule-2.1.1/po' make[2]: Entering directory `/home/princey/aMule-2.1.1' make[2]: Nothing to be done for `all-am'. make[2]: Leaving directory `/home/princey/aMule-2.1.1' make[1]: Leaving directory `/home/princey/aMule-2.1.1'
When I type in amule at the prompt to make sure it worked, I get a string of messages talking about different files or names starting with "ZTV" having different size in shared object consider relinking then this at the end Fatal Error: Mismatch between the program and library build versions detected. The library used 2.6 (no debug,Unicode,compiler with C++ ABI 1002,wx containers), and your program used 2.6 (no debug,Unicode,compiler with C++ ABI 1002,wx containers,compatible with 2.4). Aborted
What's next?
-
You have 2 versions of it installed, aMule was compiled against one of them, and it's trying to link dynamically on run to the other.
-
Originally posted by Kry
You have 2 versions of it installed, aMule was compiled against one of them, and it's trying to link dynamically on run to the other.
Two versions of what? aMule or wxwidgets?
-
wxWidgets.
-
I've removed wxwidgets from my system. Because I followed word for word the tutorial from the wiki, I need to ask the question before I try again. Do I have to perform this line
To avoid crashes at startup when linked against GTK2, save this file as intl.cpp in your wxGTK-2.6.2/src/common directory (replace the original one)
seeing that I'm using wxGTK-2.6.3? I know the directions were written for 2.6.2
-
Princey,
No, you don't need to copy it, but you need a patch file. I have updated the instructions for wx2.6.3, please, go there again:
http://www.amule.org/wiki/index.php/Compilation_Installation
-
There should be no need to patch 2.6.3...
-
Thanks for the help so far. I'll get to compiling right away.
-
I removed all versions of wxwidgets and still get the same error messages as posted before with amule not being able to run. I checked to see if I have two instances of wxwidgets installed, here's what I get:
princey@MCES:~$ ls -l /usr/bin/wx* lrwxrwxrwx 1 root root 43 2006-04-07 23:04 /usr/bin/wx-config -> /usr/lib/wx/config/gtk2-unicode-release-2.6 lrwxrwxrwx 1 root root 8 2006-04-07 23:04 /usr/bin/wxrc -> wxrc-2.6 -rwxr-xr-x 1 root root 87124 2006-04-07 23:04 /usr/bin/wxrc-2.6 princey@MCES:~$ ls -l /usr/local/bin/wx* ls: /usr/local/bin/wx*: No such file or directory
I'm at a dead end's here. Why would it be saying Fatal Error: Mismatch between the program and library build versions detected. The library used 2.6 (no debug,Unicode,compiler with C++ ABI 1002,wx containers), and your program used 2.6 (no debug,Unicode,compiler with C++ ABI 1002,wx containers,compatible with 2.4). Aborted
when I copied and pasted the commands from the how to that you indicated?
-
Phew....I can breathe a sigh of relief. I finally got it to work. Here's what I did. I run the make uninstall code in the amule directory that was untarred. Gave me two directorys still left behind so I used the rm -f code to remove them; mainly the /usr/bin/X11 directory and /usr/bin/amule
Then I recompiled aMule again and this time it worked. Thanks once again for your efforts in assisting me figure out what was wrong.