Results 1 to 5 of 5

Thread: libs in wrong place for 32 bit apps?

  1. #1

    Default 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

  2. #2

    Default Re: libs in wrong place for 32 bit apps?

    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.
    Man first, have a try at Info, have a look at Wiki, if all that fails Scroogle!!!!!
    If I've helped click on the Rep button I don't know what it does but it sounds cool.

  3. #3

    Default Re: libs in wrong place for 32 bit apps?

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

  4. #4
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: libs in wrong place for 32 bit apps?

    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?

  5. #5

    Default Re: libs in wrong place for 32 bit apps?

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •