Re: linking problem/question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 13, Marcin Krzysztof Porwit wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Thorsten,
> 
> Our product accesses PAM from java, using the jpam libraries. The
> testing that I am doing currently shows the error on both SuSE 10.1 and
> on SuSE 9.2. When I enable debug logging in /etc/syslog.conf, I see the
> following in the log:
> Sep 11 06:52:57 test-basic java: PAM unable to
> dlopen(/lib/security/pam_unix.so)

Did you compile jpam yourself or did you use the binary from Sourceforge?
The binary is linked correct against libpam:

# ldd libjpam.so
        linux-gate.so.1 =>  (0xffffe000)
        libpam.so.0 => /lib/libpam.so.0 (0xb7f02000)
        libpam_misc.so.0 => /lib/libpam_misc.so.0 (0xb7efe000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7efa000)
        libc.so.6 => /lib/libc.so.6 (0xb7dda000)
        libaudit.so.0 => /lib/libaudit.so.0 (0xb7dc9000)
        /lib/ld-linux.so.2 (0x80000000)

So I assume you recompiled it yourself and libjpam.so is not linked
against libpam?

  Thorsten

-- 
Thorsten Kukuk         http://www.suse.de/~kukuk/      kukuk@xxxxxxx
SUSE LINUX Products GmbH       Maxfeldstr. 5       D-90409 Nuernberg
--------------------------------------------------------------------    
Key fingerprint = 8C6B FD92 EE0F 42ED F91A  6A73 6D1A 7F05 2E59 24BB

_______________________________________________
Pam-list mailing list
Pam-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/pam-list

[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux