4.15 fails to run on 64-bit Ubuntu 10.10

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

4.15 fails to run on 64-bit Ubuntu 10.10

735件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by astokes on Thu Dec 15 00:20:07 MST 2011
The console error text is as follows:

/usr/local/lpcxpresso_4.1.5_187/lpcxpresso/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.2.R36x_v20101019_1345/eclipse_1310.so: cannot open shared object file: Permission denied
/usr/lib/gio/modules/libgvfsdbus.so: wrong ELF class: ELFCLASS64



Portions of [B]strace -e trace=open ./lpcxpresso[/B]                                                


open("/usr/lib/gio/modules", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 6
open("/usr/lib/gio/modules/giomodule.cache", O_RDONLY|O_LARGEFILE) = 7
open("/usr/lib/gio/modules/libgvfsdbus.so", O_RDONLY) = 6
/usr/lib/gio/modules/libgvfsdbus.so: wrong ELF class: ELFCLASS64
Failed to load module: /usr/lib/gio/modules/libgvfsdbus.so
open("/home/allan/.local/share//mime/mime.cache", O_RDONLY|O_LARGEFILE) = 6
open("/usr/share/gnome/mime/aliases", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/share/gnome/mime/subclasses", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/share/gnome/mime/icons", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/share/gnome/mime/generic-icons", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/local/share//mime/aliases", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/local/share//mime/subclasses", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/local/share//mime/icons", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/local/share//mime/generic-icons", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/share//mime/mime.cache", O_RDONLY|O_LARGEFILE) = 6
open("/home/allan/.icons/default/cursors/xterm", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/allan/.icons/default/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/icons/default/cursors/xterm", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/icons/default/index.theme", O_RDONLY) = 6
open("/usr/share/pixmaps/default/cursors/xterm", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/allan/.icons/DMZ-White/cursors/xterm", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/allan/.icons/DMZ-White/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/icons/DMZ-White/cursors/xterm", O_RDONLY) = 6
open("/usr/lib/libcanberra-0.25/libcanberra-pulse.la", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libcanberra-0.25/libcanberra-pulse.so", O_RDONLY) = 6
open("/usr/lib/libcanberra-0.25/libcanberra-alsa.la", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libcanberra-0.25/libcanberra-alsa.so", O_RDONLY) = 6
open("/usr/lib/libcanberra-0.25/libcanberra-gstreamer.la", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libcanberra-0.25/libcanberra-gstreamer.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libcanberra-0.25/libcanberra-pulse.la", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libcanberra-0.25/libcanberra-pulse.so", O_RDONLY) = 6
open("/usr/lib/libcanberra-0.25/libcanberra-alsa.la", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libcanberra-0.25/libcanberra-alsa.so", O_RDONLY) = 6
open("/usr/lib/libcanberra-0.25/libcanberra-gstreamer.la", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libcanberra-0.25/libcanberra-gstreamer.so", O_RDONLY) = -1 ENOENT (No such file or directory)


There *is* a [B]/usr/lib32/libgio[/B] and there *is* a [B]/usr/lib32/libcanberra[/B] on my system. 

The library search path seems broken. 

I'm in the no-rush-to-Unity camp, so if an upgrade is suggested, it will probably be Mint or the rolling Debian Mint.
0 件の賞賛
返信
3 返答(返信)

709件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Fri Dec 16 02:15:56 MST 2011
On closer examination, my installation gives exactly the same errors. However, the product runs normally and I have found no problems.

It looks like a bug in Ubuntu that affects many 32-bit apps. If you are interested, search for
/usr/lib/gio/modules/libgvfsdbus.so: wrong ELF class: ELFCLASS64
0 件の賞賛
返信

709件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by astokes on Thu Dec 15 11:54:07 MST 2011
The libs were checked before I posted.  

wishbone% dpkg -s ia32-libs
Package: ia32-libs
Status: install ok installed
Priority: extra
Section: libs
Installed-Size: 143540
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Version: 20090808ubuntu9.1
...


wishbone% dpkg -s linux32
Package `linux32' is not installed and no info is available.

wishbone%agi linux32
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'util-linux' instead of 'linux32'
util-linux is already the newest version.

wishbone% dpkg -s util-linux
Package: util-linux
Essential: yes
Status: install ok installed
Priority: required
Section: utils
Installed-Size: 1700
Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Version: 2.17.2-0ubuntu1.10.10.2
...


I had a previous xpresso from about a year ago installed under [B]/usr/local/LPCXpresso[/B], and I had done the path manipulation:

/home/allan/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/LPCXpresso/bin:/usr/local/LPCXpresso/tools/bin


When I ran into problems with the fresh install, I renamed the old install directory and symlinked [B]/usr/local/LPCXpresso[/B] to the new installation directory. 

How does strace show the problem libraries loading on the fresh install?  As per my original post on this box you can clearly see it looking not in the right place.
0 件の賞賛
返信

709件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Thu Dec 15 05:39:09 MST 2011
It works here. To validate I just did a completely clean install of Ubuntu 10.10 64-bit.

Did you follow the instructions that tell you to:
sudo apt-get install linux32 ia32-libs 
on 64-bit installations?
0 件の賞賛
返信