LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   install libimlib2 i386 on a x64 system (https://www.linuxquestions.org/questions/linux-software-2/install-libimlib2-i386-on-a-x64-system-648886/)

franciccio 06-12-2008 02:32 PM

install libimlib2 i386 on a x64 system
 
hi all, i'm running xubuntu hardy x64 and i'm trying to use wbar (32bit) that needs libimlib2. i've downloaded the package libimlib2_1.4.0-1ubuntu1_i386.deb from packages.ubuntu.com then unpacked it and copyed the files from it's relative directory usr/lib to my absolute /usr/lib32/ path.
wbar stopped give me the "wrong ELF class: ELFCLASS64" error for imlib2 and returned with that:
"/usr/share/wbar/wbar.icons/osxbarback.png -> Image not found. Maybe using a relative path?"
obviously that file is there and have all the needed permission, i've googled and i found someone that solved that problem reinstalling just the libimlib2 package (in a 32bit system though), so i assume that tha problem is in my unclean "installation" of imlib2.
...any suggestion?
thanks in advance :)

emi_ramo 06-13-2008 05:13 AM

Hi franciccio,
There is a package called bwbar and is available for x64 platforms. May be it's enough for you. If not, ¿have you installed ia32 package? And may be try copying 32bits libraries to /lib32 instead of /usr/lib32.

If problem persists, come again.

emi

franciccio 06-13-2008 05:13 PM

Quote:

Originally Posted by emi_ramo (Post 3183477)
Hi franciccio,
There is a package called bwbar and is available for x64 platforms. May be it's enough for you. If not, ¿have you installed ia32 package? And may be try copying 32bits libraries to /lib32 instead of /usr/lib32.

If problem persists, come again.

emi

hi, thank you for reply.
bwbar is a tool to "generate text and graphical readout of current bandwidth use", wbar is just a lightwheight animated launcher bar.
of course the ia32 package is installed.
i havn't understood exactly why, but i've also tried to copy the imlib2 files to /lib32 but nothing changed.
just to do something randomly i've reinstalled the imlib2 x64 package, the i386 one and wbar itself with no success.
in addiction, to ensure that the imlib2 i386 was cleanly installed on my 64bit system, i've used getlibs (http://ubuntuforums.org/showthread.php?t=474790) and nothing changed.
at this point i'm not sure where the problem is.

i'm not a coder but here (http://code.google.com/p/wbar/source...unk/Bar.cc?r=3) it is the source code page that stores the function LOAD_IMAGE() that's the one which fail returning " -> Image not found. Maybe using a relative path?". that function is defined as imlib_load_image(path) that is a imlib2 function.
so i'm supposing again that the problem is in imlib2 altought seems to be cleanly installed (according to getlibs).


All times are GMT -5. The time now is 02:53 PM.