Bug 1325356 - libpam.so symlink does not exist in /usr/lib in Fedora 24 beta installation.
Summary: libpam.so symlink does not exist in /usr/lib in Fedora 24 beta installation.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: pam
Version: 24
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Tomas Mraz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-08 14:06 UTC by Anand
Modified: 2016-04-08 14:23 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-08 14:23:18 UTC
Type: Bug


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.