bst ide on amd-64 bit machine with ubuntu and bad libappmenu.so file
alpinekid
Posts: 8
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.
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
My suggestion is to overwrite the ia64 binary with ia32 binary.
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?
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.
Add:
Just be careful to only install the libs you need, then delete the file (assuming you created it)
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.