Bug 1325356

Summary: libpam.so symlink does not exist in /usr/lib in Fedora 24 beta installation.
Product: [Fedora] Fedora Reporter: Anand <anand312>
Component: pamAssignee: Tomas Mraz <tmraz>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 24CC: tmraz
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-08 14:23:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Anand 2016-04-08 14:06:54 UTC
pam-1.2.1-5.fc24.i686 rpm package does not create a symbolic link for libpam.so in the /usr/lib folder for 32 bit binaries [ running on a 64 bit installation ].
so if i try to compile the 32 code and try to link with libpam.so it cracks saying cant find libpam.so

gcc -L/usr/lib -m32 -shared -fPIC sample.cpp -o libsample.so -lpam

I had to manually create a symbolic link like below in /usr/lib as root to solve this problem.

cd /usr/lib
ln -s libpam.so.0.84.1 libpam.so

Then it works!

Comment 1 Tomas Mraz 2016-04-08 14:23:18 UTC
You have to install pam-devel.i686 for that.