Can I use 32bit shared libraries on a 64bit machine?

2010-09-16 Thread Herouth Maoz
Sorry about the newbie question. Our sysadmin is going abroad for the holidays, 
and I have to cover for him. Sort of. Well, I need to be able to connect to our 
office using Checkpoint SNX. But the version I was given is looking for 
libpam.so.0, I assume the 32 bit version, and doesn't find the 
/lib64/libpam.so.0 I have.

Should I install the 32 bit version of pam? Or is that going to have ill 
effects on my system? Or maybe I should just add /lib64 to LD_LIBRARY_PATH or 
something?

(My machine is Mandriva 2010.0)

Thanks,
Herouth
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Can I use 32bit shared libraries on a 64bit machine?

2010-09-16 Thread ik
You can use 32 bit libraries in 64 bit machines. I use several VPNs in Linux
that are only 32 bit based, while my own machine is 64 bit.

I haven't used Mandriva for a long time, but as far as I remember, you
should place it under the normal lib directory. the lib64 is for 64 bit
only. That's way you maintain the order of things.

When done, do ldconfig -v to see if the shared library was found in the
search path. If not, please add it to /etc/ld.so.conf.d/ or any other
directory/file Mandriva requires it.

Good luck

Ido

On Thu, Sep 16, 2010 at 21:59, Herouth Maoz hero...@spamcop.net wrote:

 Sorry about the newbie question. Our sysadmin is going abroad for the
 holidays, and I have to cover for him. Sort of. Well, I need to be able to
 connect to our office using Checkpoint SNX. But the version I was given is
 looking for libpam.so.0, I assume the 32 bit version, and doesn't find the
 /lib64/libpam.so.0 I have.

 Should I install the 32 bit version of pam? Or is that going to have ill
 effects on my system? Or maybe I should just add /lib64 to LD_LIBRARY_PATH
 or something?

 (My machine is Mandriva 2010.0)

 Thanks,
 Herouth
 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Can I use 32bit shared libraries on a 64bit machine?

2010-09-16 Thread Herouth Maoz

On 16/09/2010, at 22:56, ik wrote:

 You can use 32 bit libraries in 64 bit machines. I use several VPNs in Linux 
 that are only 32 bit based, while my own machine is 64 bit.

Thanks! I installed the 32 bit libpam from the mandriva repository and now SNX 
works perfectly.

Herouth
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il