Javier Serrano Polo <mailto:[EMAIL PROTECTED]> wrote on Thursday, April 24, 
2008 7:16 PM:

>> 32-bit applications that wish to use PAM
> 
> Could you give an example of such application?

My company produces a commercial application "ASDIS" that uses PAM. We 
currently build a 32-bit version only. This version runs without problems on a 
64-bit version of SuSE-Linux because SuSE-Linux does provide both 64-bit and 
32-bit versions of PAM modules. It will run on 64-bit Debian if we disable PAM 
in our application by some configuration. (I cannot provide this program 
because it is a commercial application.)

Currently the only use of /lib32/libpam.so.0 is to prevent an error from the 
dynamic linker. A 32-bit application linked with libpam.so.0 will start but 
cannot really use this library.

The problem will occur with any application that was built on a 32-bit system. 
If it is possible to install a Debian package that was intended for 32-bit on a 
64-bit system you could try this. Look for any package that depends on libpam0g.
Otherwise you could compile an application that uses PAM on a 32-bit system and 
try to run the binary program on a 64-bit system. If you need some sample code, 
you could look into the source code of package hylafax-server, module 
hfaxd/User.c++.


Bodo

-- 
Bodo Meissner
Senior Software Developer

Office: +49 30  20631 617
E-Fax:  +49 30  20631 44 617
Fax:    +49 30  20631 199
Email:  [EMAIL PROTECTED]
Web:    www.asdis.de

ASDIS Software AG
Neue GrĂ¼nstrasse 25, D-10179 Berlin (Sitz der Gesellschaft)
Registergericht: Amtsgericht Charlottenburg/Bln. (HRB 75835)
Vorstand: Mario Pelleschi, Vors. d. Aufsichtsrates: Urs Ehrismann

ASDIS.  Taking Care of Your Software


Reply via email to