aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: How to redirect aMule to seek libraries in wxcontainer subdirectory  (Read 1798 times)

macias

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 110

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:

Code: [Select]
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:
Quote
/usr/lib64/wx-2.8-wxcontainer

not in

Quote
/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.

Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3762
  • Engines screaming

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
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

macias

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 110
Re: How to redirect aMule to seek libraries in wxcontainer subdirectory
« Reply #2 on: June 01, 2011, 02:38:07 PM »

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.
Logged