You are not logged in.
Pages: 1
So, I've been tinkering with the bitpim PKGBUILD from the AUR and have made a small amount of headway. What I've been trying to do is to get the 32 bit build (that one being the only one available) of bitpim in my 64 bit environment. So far, I have it running, but then it complains about libpango being of the wrong elfclass, even though I have the lib32 package installed for pango. Does anyone know how I can make bitpim look in /opt/lib32 instead of /usr/lib/ for the libpango it needs? And more than that, has anyone been able to run bitpim under Arch64 succesfully?
Peter
Offline
Sure, I run it all the time. You just need to wrap the bitpim executable with a couple exports. I generally make a wrapper and put it in my ~/bin, but if you want to do it right you should edit the pkgbuild and add the export lines to the main executable.
I've been pretty lazy, and just edited the bitpim shell executable directly. Here's my /usr/bin/bitpim:
#!/bin/sh
GTK_PATH=/opt/lib32/usr/lib/gtk-2.0
GCONV_PATH=/opt/lib32/usr/lib/gconv
PANGO_RC_FILE=/opt/lib32/config/pango/pangorc
GDK_PIXBUF_MODULE_FILE=/opt/lib32/config/gdk/gdk-pixbuf.loaders
GTK_IM_MODULE_FILE=/opt/firefox32/gtk.immodules
MOZ_PLUGIN_PATH=/opt/mozilla/lib/plugins
GTK_MODULES=/opt/lib32/usr/lib/gtk-2.0/modules/libgnomebreakpad.so
export GTK_PATH GCONV_PATH PANGO_RC_FILE GDK_PIXBUF_MODULE_FILE GTK_IM_MODULE_FILE MOZ_PLUGIN_PATH GTK_MODULES
LD_LIBRARY_PATH=/opt/lib32/usr/lib/:/usr/lib/BitPim-1.0.7.20081215:$LD_LIBRARY_PATH exec /usr/lib/BitPim-1.0.7.20081215/bitpim "$@"
Note that my bitpim version is likely different than yours; everything above the last line needs to be added so that bitpim can find the libraries it needs. You'll need the lib32 version of your gtk engine as well, which you probably have already if you use 32-bit gtk apps in arch64.
Oh, and don't forget lib32-libusb or usb phone connectors won't work (with zero error messages, what a pain to track down that was).
Cthulhu For President!
Offline
Excellent. Thanks a lot buttons, I'll get on this a bit later and let you know if I have any issues.
Peter
Offline
I'm very interested in getting this working as well. Pjjanak, could you post the PKGBUILD you have so far? I tried adding the exports that buttons suggested, but with the PKGBUILD from AUR bitpim won't even load and complains about wrong ELF class.
Offline
I have the wrapper Buttons used above, but I get this error:
ImportError: libexpat.so.0: wrong ELF class: ELFCLASS64
I have lib32-libexpat..any ideas?
Offline
Try the bitpim-svn package, it uses shared libraries instead of the private bitpim ones.
Last edited by matthewbauer (2009-08-14 15:51:08)
Libertarian Arch Linux User
Offline
Pages: 1