aMule Forum
English => aMule Help => Topic started by: redsnake on November 29, 2009, 01:50:33 PM
-
I'm getting this error:
Fatal Error: Mismatch between the program and library build versions detected.
The library used 2.8 (no debug,Unicode,compiler with C++ ABI 1002,wx containers,compatible with 2.4,compatible with 2.6),
and your program used 2.8 (no debug,Unicode,compiler with C++ ABI 1002,wx containers,compatible with 2.6).
Avbruten (SIGABRT)
Downloaded the latest source as of yesterday.
Worked of these instructions:
http://wiki.amule.org/index.php/HowTo_Compile_aMuled
and
http://wiki.amule.org/index.php/HowTo_Compile_In_RedHat-Fedora
OS is CENTOS 5.3 on x86.
Installed and uppdated everything according to the above instructions.
Had to re-compile wxWidgets though.
Someone that can help me?
-
Looks like you've compiled aMule with one wx build and run it against another build. Check your LD_LIBRARY_PATH and where what lib is installed. And did you run ldconfig?
Or compile wx so that it is a static lib.
-
Did use these commands:
wxWidgets 2.8.10
./configure --disable-gui --enable-unicode --without-subdirs --without-expat
make
make install
ldconfig
amule:
./configure --disable-monolithic --with-toolkit=base --enable-amule-daemon --enable-amulecmd --enable-webserver
make
make install
how do I compile with static?
It seems that I have two installs of wxWidgets?
did a make uninstall in wxWidgets
then
[root@SEEDBOX wxWidgets-2.8.10]# ls -l /usr/local/bin/wx*
lrwxrwxrwx 1 root root 49 29 nov 01.46 /usr/local/bin/wx-config -> /usr/local/lib/wx/config/base-unicode-release-2.8
[root@SEEDBOX wxWidgets-2.8.10]# ls -l /usr/bin/wx*
lrwxrwxrwx 1 root root 41 28 nov 20.15 /usr/bin/wx-config -> ../lib/wx/config/gtk2-unicode-release-2.8
lrwxrwxrwx 1 root root 8 28 nov 20.15 /usr/bin/wxrc -> wxrc-2.8
-rwxr-xr-x 1 root root 97309 25 maj 2009 /usr/bin/wxrc-2.8
seems that "yum erase wxwidgets" does not work, any clues?
-
how do I compile with static?
Add --disable-shared --prefix=SOMEWHERE to wx config options. This will install wx in a non-system dir.
Then configure amule with --with-wx-config=SOMEWHERE/bin/wx-config .
You get binaries with wx linked statically, thus independent of anything installed.
-
Got it sorted now, un-installed wx, and deleted all remaining stuff (hope nothing else crashes though, not using any gui on this box anyway)
Recompiled wx and amule, now it's workin, by the looks of it.
Even managing to import partly mldonkey downloads, although tere is an error/bug in the mldonkey-importer.pl script
Changed "my $from = $input_folder . "/" . $part_file;"
to "my $from = $part_file;"
and now that script seems to work ok.