aMule Forum
English => Compilation problems => Topic started by: macias on May 29, 2011, 08:26:40 PM
-
Hello,
Sorry for bringing this up, but I have troubles solving this.
Long story short -- now I try to run aMule (compiled myself) with wxGTK (from openSUSE repo). When I tried to compile both, I succeeded, but other programs based on wxGTK didn't run (I had to recompile them too).
openSUSE 11.4, aMule 2.2.6, wxGTK (container version) 2.8.11. I want to test how they work. aMule compiled, no problems here, and packaged. Now I try to install aMule and it (rpm) shows such errors:
error: Failed dependencies:
libwx_baseu-2.8.so.0()(64bit) is needed by aMule-2.2.6-1.x86_64
libwx_baseu-2.8.so.0(WXU_2.8)(64bit) is needed by aMule-2.2.6-1.x86_64
libwx_baseu_net-2.8.so.0()(64bit) is needed by aMule-2.2.6-1.x86_64
libwx_baseu_net-2.8.so.0(WXU_2.8)(64bit) is needed by aMule-2.2.6-1.x86_64
libwx_gtk2u_adv-2.8.so.0()(64bit) is needed by aMule-2.2.6-1.x86_64
libwx_gtk2u_adv-2.8.so.0(WXU_2.8)(64bit) is needed by aMule-2.2.6-1.x86_64
libwx_gtk2u_core-2.8.so.0()(64bit) is needed by aMule-2.2.6-1.x86_64
libwx_gtk2u_core-2.8.so.0(WXU_2.8)(64bit) is needed by aMule-2.2.6-1.x86_64
The thing is I have all those files, but they are placed in:
/usr/lib64/wx-2.8-wxcontainer
not in
/usr/lib64/
And that is why (I guess) rpm fails. So how to "redirect" amule package to look in wxcontainer subdirectory, rather than its parent (/usr/lib64).
Once again -- compilation succeeded, I have problems with installation.
Many thanks for help, I see such problem for the first time.
-
I suggest leaving your system's wx all alone.
Build your wx locally, don't install it.
Then build aMule using --with-wxdir and install it only in a path in your home.
See http://wiki.amule.org/index.php/HowTo_Compile_In_Ubuntu
-
Thank you very much. After more struggle I found out, that it is problem of rpm (program, not package). It didn't looked at system libraries directories. Two solutions -- either forcing install (no problem with aMule after that) or additionally installing rpm metapackages which "inform" rpm where are the wx libraries.