Shop OBEX P1 Docs P2 Docs Learn Events
bst ide on amd-64 bit machine with ubuntu and bad libappmenu.so file — Parallax Forums

bst ide on amd-64 bit machine with ubuntu and bad libappmenu.so file

alpinekidalpinekid Posts: 8
edited 2012-08-11 03:26 in Propeller 1
I have been using the propeller for real products and we have been compiling with the BST development environment.
I just received a new dual core 64 bit uber-fast AMD machine and we upgraded to UBUNTU 12.4.

The standalone spin compiler bstc.linus runs fine. The problem is the bst.linux IDE. I added the ia-32 set of libraries and that allows
bst.linux to start but it hangs with error:

/usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so: wrong ELF class: ELFCLASS64

(bst.linux:15290): Gtk-WARNING **: Failed to load type module: /usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so


Does anyone know how to get around this one?
I have see notes on UBUNTU forums that this is an example of a class of errors and they say that adding more old 32 libs in not the answer.
It should be fixed "upstream" but I dont know how.

Comments

  • pedwardpedward Posts: 1,642
    edited 2012-08-06 17:46
    The problem appears to be that your referenced lib is 64 bit. The 64bit libs live in /lib64/, so this appears to be a packaging error.

    My suggestion is to overwrite the ia64 binary with ia32 binary.
  • CircuitsoftCircuitsoft Posts: 1,166
    edited 2012-08-07 14:14
    Make sure you have ia32-libs-gtk installed. Once you have the 32-bit libraries installed, they should be preferred by the linker.
  • alpinekidalpinekid Posts: 8
    edited 2012-08-10 17:46
    Make sure you have ia32-libs-gtk installed. Once you have the 32-bit libraries installed, they should be preferred by the linker.

    Ubuntu has ia32-libs and ia32-libs-multiarch:i386 and I have installed both.
    /usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so does not seem to be amoung them.

    A couple of questions:
    1) is it just a matter of finding a 32bit version of that lib?
    If I find a copy, where should I put it, since i have a 64bit version of the file

    2) is the bst IDE still being supported?

    3) Does parallax have another IDE for the propeller for linux development environments?
  • CircuitsoftCircuitsoft Posts: 1,166
    edited 2012-08-10 18:43
    alpinekid wrote: »
    Ubuntu has ia32-libs and ia32-libs-multiarch:i386 and I have installed both.
    /usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so does not seem to be amoung them.
    So install ia32-libs-gtk
  • alpinekidalpinekid Posts: 8
    edited 2012-08-10 18:48
    It doesnt show up in ubuntu repositories, only the two I memtioned.

    I have seen that someone reported a bug and someone has patched this lib and it will be in ubuntu 12.4.1 but i have not found it yet.
  • CircuitsoftCircuitsoft Posts: 1,166
    edited 2012-08-10 19:06
    Edit /etc/apt/sources.list.d/debian

    Add:
    deb http://ftp.us.debian.org/debian wheezy main
    

    Just be careful to only install the libs you need, then delete the file (assuming you created it)
  • Heater.Heater. Posts: 21,230
    edited 2012-08-11 03:26
    Sadly we have not heard from the author of BST for a long time so support seems to have halted.
    There is now SimpleIDE a GUI dev environment that works for both Spin and C. It is cross platform, Windows, Mac and Linux. Even works on ARM processor on the Raspberry Pi board.
    Have a look back through the propgcc beta test thread to find it. It's still all in beta testing but works well enough for me already.
Sign In or Register to comment.