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?
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.
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
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.