I'm trying to get a 32bit application running (multi-gnome-terminal) using a generic binary tarball (I can't get it to build from source on my machine). However, I'm having problems with the shared libraries. The program installs fine, but when I run it I get:- multi-gnome-terminal: error while loading shared libraries: libglade-gnome.so.0: cannot open shared object file: No such file or directory I've tried putting links to /opt/gnome/lib/libglade-gnome.so.0 in various places, but to no avail - I guess I don't really know what I'm doing :) I'd be grateful for some pointers. Thanks, - Richard -- Richard Kimber http://www.psr.keele.ac.uk/
rkimber@ntlworld.com writes:
I'm trying to get a 32bit application running (multi-gnome-terminal) using a generic binary tarball (I can't get it to build from source on my machine).
However, I'm having problems with the shared libraries. The program installs fine, but when I run it I get:-
multi-gnome-terminal: error while loading shared libraries: libglade-gnome.so.0: cannot open shared object file: No such file or directory
LD_DEBUG=libs run-your-app and see where it searches. Perhaps you need to run ldconfig as root? Andreas -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SUSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
On Tue, 12 Oct 2004 20:05:57 +0200 Andreas Jaeger <aj@suse.de> wrote:
multi-gnome-terminal: error while loading shared libraries: libglade-gnome.so.0: cannot open shared object file: No such file or directory
LD_DEBUG=libs run-your-app
and see where it searches.
It tries 16 possibilities ending with: trying file=/usr/lib/libglade-gnome.so.0 this exists as a symbolic link to /opt/gnome/lib/libglade-gnome.so.0 but it still complains that it cannot open shared object file: No such file or directory
Perhaps you need to run ldconfig as root? I did that.
- Richard. -- Richard Kimber http://www.psr.keele.ac.uk/
rkimber@ntlworld.com writes:
On Tue, 12 Oct 2004 20:05:57 +0200 Andreas Jaeger <aj@suse.de> wrote:
multi-gnome-terminal: error while loading shared libraries: libglade-gnome.so.0: cannot open shared object file: No such file or directory
LD_DEBUG=libs run-your-app
and see where it searches.
It tries 16 possibilities ending with: trying file=/usr/lib/libglade-gnome.so.0 this exists as a symbolic link to /opt/gnome/lib/libglade-gnome.so.0 but it still complains that it cannot open shared object file: No such file or directory
So, what does ls -l /usr/lib/libglade-gnome.so.0 and ls -l /opt/gnome/lib/libglade-gnome.so.0 report? Are you running a 32-bit or a 64-bit application? ist libglade-gnome.so.0 a 32-bit or 64-bit library? Andreas -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SUSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
On Tue, 12 Oct 2004 21:23:14 +0200 Andreas Jaeger <aj@suse.de> wrote:
LD_DEBUG=libs run-your-app
and see where it searches.
It tries 16 possibilities ending with: trying file=/usr/lib/libglade-gnome.so.0 this exists as a symbolic link to /opt/gnome/lib/libglade-gnome.so.0 but it still complains that it cannot open shared object file: No such file or directory
So, what does ls -l /usr/lib/libglade-gnome.so.0 lrwxrwxrwx 1 root root 34 2004-10-12 20:14 /usr/lib/libglade-gnome.so.0 -> /opt/gnome/lib/libglade-gnome.so.0
ls -l /opt/gnome/lib/libglade-gnome.so.0 Aaargh. I was confused by locate. It's a link to the 64bit version. I assumed they were separate, and that everything not in lib64 was 32bit
Are you running a 32-bit or a 64-bit application? The application is 32bit.
Can I just install an i586 rpm of libglade or will installing it mess something else up? - Richard. -- Richard Kimber http://www.psr.keele.ac.uk/
rkimber@ntlworld.com writes:
On Tue, 12 Oct 2004 21:23:14 +0200 Andreas Jaeger <aj@suse.de> wrote:
LD_DEBUG=libs run-your-app
and see where it searches.
It tries 16 possibilities ending with: trying file=/usr/lib/libglade-gnome.so.0 this exists as a symbolic link to /opt/gnome/lib/libglade-gnome.so.0 but it still complains that it cannot open shared object file: No such file or directory
So, what does ls -l /usr/lib/libglade-gnome.so.0 lrwxrwxrwx 1 root root 34 2004-10-12 20:14 /usr/lib/libglade-gnome.so.0 -> /opt/gnome/lib/libglade-gnome.so.0
ls -l /opt/gnome/lib/libglade-gnome.so.0 Aaargh. I was confused by locate. It's a link to the 64bit version. I assumed they were separate, and that everything not in lib64 was 32bit
Are you running a 32-bit or a 64-bit application? The application is 32bit.
Can I just install an i586 rpm of libglade or will installing it mess something else up?
It should work - but check whethere there's a libglade-32bit... Andreas -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SUSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
On Tue, 12 Oct 2004 22:57:33 +0200 Andreas Jaeger <aj@suse.de> wrote:
Can I just install an i586 rpm of libglade or will installing it mess something else up?
It should work - but check whethere there's a libglade-32bit...
I can't find anything called libglade-32, but there's a libglade-0.17-225.i586.rpm Can I use this? Presumably it will overwrite the symbolic link(s) to the stuff in lib64. - Richard. -- Richard Kimber http://www.psr.keele.ac.uk/
rkimber@ntlworld.com writes:
On Tue, 12 Oct 2004 22:57:33 +0200 Andreas Jaeger <aj@suse.de> wrote:
Can I just install an i586 rpm of libglade or will installing it mess something else up?
It should work - but check whethere there's a libglade-32bit...
I can't find anything called libglade-32, but there's a libglade-0.17-225.i586.rpm
Can I use this? Presumably it will overwrite the symbolic link(s) to the stuff in lib64.
Go ahead, should be fine... You have to install it besides the other one, so check that both are installed afterwards, Andreas -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SUSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
On Wed, 13 Oct 2004 07:00:11 +0200 Andreas Jaeger <aj@suse.de> wrote:
I can't find anything called libglade-32, but there's a libglade-0.17-225.i586.rpm
Can I use this? Presumably it will overwrite the symbolic link(s) to the stuff in lib64.
Go ahead, should be fine...
You have to install it besides the other one, so check that both are installed afterwards,
Yes, maybe I did it all wrong, but actually I ended up with the 64bit version being removed and yast2 complaining about a load of dependencies. (If I can digress for a moment, one problem with yast2 is that when there's a problem it doesn't necessarily offer you the direct solution you need. It wanted to remove the packages that depended on 64bit libglade rather than install 64bit libglade and delete 32bit which is what I wanted to do. In the end I risked the threatened system instabilities and forced it to delete libglade and then reinstalled the 64bit). The solution to getting multi-gnome-terminal to run (after installing the generic binary package) was to extract the following from their respective i586 RPMs and place them in /usr/lib: libwrap.so.0 libxml.so.1 libglade.so.0 libglade-gnome.so.0 and in /usr/lib to make links: ln -s libpopt.so.1 libpopt.so.0 ln -s libdb-3.3.so libdb3.so.3 It's worth the effort because multi-gnome-terminal is superior in many ways to gnome-terminal, provided you don't mind the lack of font aliasing. I don't know if it's a bug, but 64bit gnome-terminal produces a somewhat unpleasant effect when you scoll back a page in less using 'b'. Also changing panes by clicking on a tab doesn't activate the cursor in the window, you have to click on the window itself. m-g-t has none of these problems. Thanks for the help. - Richard. -- Richard Kimber http://www.psr.keele.ac.uk/
* rkimber@ntlworld.com <rkimber@ntlworld.com> [041012 21:59]:
On Tue, 12 Oct 2004 21:23:14 +0200 Andreas Jaeger <aj@suse.de> wrote:
LD_DEBUG=libs run-your-app
and see where it searches.
It tries 16 possibilities ending with: trying file=/usr/lib/libglade-gnome.so.0 this exists as a symbolic link to /opt/gnome/lib/libglade-gnome.so.0 but it still complains that it cannot open shared object file: No such file or directory
So, what does ls -l /usr/lib/libglade-gnome.so.0 lrwxrwxrwx 1 root root 34 2004-10-12 20:14 /usr/lib/libglade-gnome.so.0 -> /opt/gnome/lib/libglade-gnome.so.0
ls -l /opt/gnome/lib/libglade-gnome.so.0 Aaargh. I was confused by locate. It's a link to the 64bit version. I assumed they were separate, and that everything not in lib64 was 32bit
This confuses me a bit - how comes /opt/gnome/lib/libglade-gnome.so.0 being a link to a 64bit lib - this shouldn't come from an rpm. There is no libglade-32bit in 9.1, only libglade2-32bit.
Are you running a 32-bit or a 64-bit application? The application is 32bit.
Can I just install an i586 rpm of libglade or will installing it mess something else up?
It probably will complain about the documentation - that's all.
- Richard. -- Richard Kimber http://www.psr.keele.ac.uk/
-- Check the List-Unsubscribe header to unsubscribe For additional commands, email: suse-amd64-help@suse.com
Stefan -- Stefan Fent <stefan.fent@suse.com> SuSE Linux AG, Maxfeldstr. 5, D-90409 Nuernberg Phone: +49-911-740 53 - 559 GPG fingerprint = B226 E3DA 37B0 2170 7403 D19C 18AF E579 9161 4BBC
I'm going to order a new 64-bit laptop today. I have 2 questions. 1.) what is the best model (tried and true) to purchase to run SuSE 9.1 + on?
I have an Acer Aspire 1501LMi and it works stable with some minor tweaks using the standard 2.6.8.1 kernel. The tweaks/patches were for the IRDA and MMC hardware (no SD yet). The only big question is when the infamous Broadcom wireless card will be understood well enough to write a normal driver. Oleg.
participants (4)
-
Andreas Jaeger
-
Oleg Gusev
-
rkimber@ntlworld.com
-
Stefan Fent