libs in wrong place for 32 bit apps?

I need to install an app that relies on libXm.so.4 - and i have the library, it’s in /usr/lib64. The app is Citrix’ ICA client. Am I correct in assuming the problem is that the app is looking in the wrong place?

How do I tell it where to look, or how does one link to the correct lib?

Thanks!
Brian

You can’t if you’re lucky you’ll find a compat lib, then if not you may have to install the 32bit version and if really unlucky you’ll get into a dependency nightmare.

Sometimes 32bit apps go easily but very occasionally you encounter this. If you can find a 64bit version be the easiest, another option maybe a src compile.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

If the app is a 32-bit app and it’s looking only /usr/lib64 then that’s a
bit silly, but you could try symlinking from /usr/lib64 to /usr/lib, or
you could create a file in /etc/ld.so.conf.d/whateverHere which basically
has /usr/lib in it and then once done run, as root, ‘ldconfig’ so it
rebuilds the cache of libraries and that may work as well the next time
you try to start things. Either way you should probably report a bug to
Citrix, if appropriate. If the file is in /usr/lib64 but you need a
32-bit version then you should find the 32-bit version and install it as a
32-bit app will not load a 64-bit library no matter how much you want it
to, and often vice versa.

Good luck.

badams ios wrote:
> I need to install an app that relies on libXm.so.4 - and i have the
> library, it’s in /usr/lib64. The app is Citrix’ ICA client. Am I correct
> in assuming the problem is that the app is looking in the wrong place?
>
> How do I tell it where to look, or how does one link to the correct
> lib?
>
> Thanks!
> Brian
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIcBAEBAgAGBQJKW7JLAAoJEF+XTK08PnB5k8AQAMyH2YfOoO0tBNcMLmidIVSp
CP6nmqdsauW50ofHHk4jHu8OCRsbkw0yywk4E0aHbBQ3OqM4YQn4t5J3RLqKQHCs
rmIinQD880ZG2JIP9RqEb7KEX49vF1kPda17Fliv8m5rKGGfPLj6A9lkSHJcdsrK
Sf6Tzz2xdz8ov+AaRYNq/CcfQNvxr3plpqg9cLp/8CAIrIrfB6ZA8CDpuGVNHt67
FkxVO2HwdpRhfbk3ntCtXKPQTsDLOHriw4uY8uUBapGgjh5o1HPGjMZPT8WKJ2uT
D7qbvB8SIVeBSPhob/x4cvcNENACg88rgan/7s2WYUfhjZpIWRdIuDhxZbITEdVt
HpRkixyAfwJe2ic+dN2KrC5WBEZTKfyiKY5GXqdwlFeEXYdPNvrIgrz+cqPQbgWO
Rt8+LZm3z+BDe66mHsglI7zDWu7xYDS8Vq47WcDG3Y8y6Tq8qKdOcrOg0W+efMkg
rr+sQyz4y92WQx1cWn762STMt01qDouKLrthaDRj3KDy3joTFceOXK7OoD7yZzTm
f5snD3nnwQPta8yndk17Be4Ra2Kko4CZOZXx8hcYn3rPQbKHRa/onq/cfnOeAeH1
h6BYZYt9J6xGQ7mM9J02fs4iE9GqowFqgsm1KjFvT/Tm2j9IdMZd8vMIdo9tHaf5
SYsso1qCVWaPdV4ZokJr
=HIrD
-----END PGP SIGNATURE-----

Chances are, as FeatherMonkey and ab say, it’s looking for a 32-bit library and no matter how you symlink it, it will not use the one from lib64. You probably have to install the 32-bit version of the package containing the library.

rpm -qf /usr/lib64/libXm.so.4

shows that this library comes from openmotif-libs.

zypper se openmotif

shows that there is an openmotif-libs-32bit intended just for this sort of situation.

Have you actually tried to run the app (in a terminal window)? What happens?

Didn’t get far enough to try to run it, it’d get to 50% of the install and say the lib wasn’t found. I wound up installing the 32 bit version of the lib as well, and that allowed me to install it, then it ran, but (remember this is the Citrix client) when I opened Outlook, Outlook hung. If I went to a Windows machine and resumed the session from there, Outlook would be just fine. Makes sense, Outlook is just presented to, not run from the clent.

This is a new build, and nothing depends on 64 bit other than perhaps performance and even that’s questionable given the way the machine is utilized. I’m going to reinstall with the 32 bit version of Suse. I’m assuming the Citrix ICA client is finding half of what it needs in a 64 bit version and the rest in 32.

I’m an old fashioned stick in the mud kinda guy. Why take a chance and all that. It’s either run Suse or Vista on this machine and all I need is remote access to Citrix and a VMware test lab. Core 2 quad and 8 gb ram, I doubt I’ll see a performance hit between 64 and 32 bit. Raid 0 drives for the virtual disks.

Thanks! Just getting started in this Linux world, so in the immortal words of my tax lots and spend even more governator, I’ll be back. Well, gotta go print up some IOU’s now.