Skip to ContentSkip to Footer
Start of content
- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - Linux
- >
- System Administration
- >
- Re: PAM library issues.....
System Administration
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-01-2002 09:10 AM
05-01-2002 09:10 AM
PAM library issues.....
I have been running into a shared library error that has been stumping me. For some reason on our RedHat Linux box the PAM shared library is not being recognized. The
compilation of PHP stops in the following manner:
gmake[1]: Entering directory `/web/src/php/php-4.1.2'
/bin/sh /web/src/php/php-4.1.2/libtool --silent --mode=link gcc -I. -I/web/src/
php/php-4.1.2/ -I/web/src/php/php-4.1.2/main -I/web/src/php/php-4.1.2 -I/web/ser
ver/apache/include -I/web/src/php/php-4.1.2/Zend -I/web/src/php/php-4.1.2/ext/my
sql/libmysql -I/web/src/php/php-4.1.2/ext/xml/expat -DLINUX=22 -DNO_DBM_REWRITE
MAP -DUSE_HSREGEX -DUSE_EXPAT -I/web/src/php/php-4.1.2/TSRM -g -O2 -prefer-pic
-o libphp4.la -rpath /web/src/php/php-4.1.2/libs -avoid-version stub.lo Zend
/libZend.la sapi/apache/libsapi.la main/libmain.la regex/libregex.la ext/ftp/lib
ftp.la ext/ldap/libldap.la ext/mysql/libmysql.la ext/pcre/libpcre.la ext/posix/l
ibposix.la ext/session/libsession.la ext/standard/libstandard.la ext/xml/libxml.
la TSRM/libtsrm.la -lpam -ldl -lldap -llber -lcrypt -lresolv -lm -ldl -lnsl -lre
solv -lcrypt
/usr/bin/ld: cannot find -lpam
collect2: ld returned 1 exit status
gmake[1]: *** [libphp4.la] Error 1
To simplify the problem I wrote a baby C program that just prints out a line, and compiled it using the same PAM library. The same error appears:
$ gcc bar.c -o bar -lpam
/usr/bin/ld: cannot find -lpam
collect2: ld returned 1 exit status
Surprisingly, the PAM libraries are fully in place:
$ ls /lib/lib*pam*
/lib/libpamc.so.0@ /lib/libpam_misc.so.0@ /lib/libpam.so.0@
/lib/libpamc.so.0.75* /lib/libpam_misc.so.0.75* /lib/libpam.so.0.75*
And I did a "ldconfig -n /lib" as root to make sure the shared library cache was updated.
Where could I have gone wrong?
compilation of PHP stops in the following manner:
gmake[1]: Entering directory `/web/src/php/php-4.1.2'
/bin/sh /web/src/php/php-4.1.2/libtool --silent --mode=link gcc -I. -I/web/src/
php/php-4.1.2/ -I/web/src/php/php-4.1.2/main -I/web/src/php/php-4.1.2 -I/web/ser
ver/apache/include -I/web/src/php/php-4.1.2/Zend -I/web/src/php/php-4.1.2/ext/my
sql/libmysql -I/web/src/php/php-4.1.2/ext/xml/expat -DLINUX=22 -DNO_DBM_REWRITE
MAP -DUSE_HSREGEX -DUSE_EXPAT -I/web/src/php/php-4.1.2/TSRM -g -O2 -prefer-pic
-o libphp4.la -rpath /web/src/php/php-4.1.2/libs -avoid-version stub.lo Zend
/libZend.la sapi/apache/libsapi.la main/libmain.la regex/libregex.la ext/ftp/lib
ftp.la ext/ldap/libldap.la ext/mysql/libmysql.la ext/pcre/libpcre.la ext/posix/l
ibposix.la ext/session/libsession.la ext/standard/libstandard.la ext/xml/libxml.
la TSRM/libtsrm.la -lpam -ldl -lldap -llber -lcrypt -lresolv -lm -ldl -lnsl -lre
solv -lcrypt
/usr/bin/ld: cannot find -lpam
collect2: ld returned 1 exit status
gmake[1]: *** [libphp4.la] Error 1
To simplify the problem I wrote a baby C program that just prints out a line, and compiled it using the same PAM library. The same error appears:
$ gcc bar.c -o bar -lpam
/usr/bin/ld: cannot find -lpam
collect2: ld returned 1 exit status
Surprisingly, the PAM libraries are fully in place:
$ ls /lib/lib*pam*
/lib/libpamc.so.0@ /lib/libpam_misc.so.0@ /lib/libpam.so.0@
/lib/libpamc.so.0.75* /lib/libpam_misc.so.0.75* /lib/libpam.so.0.75*
And I did a "ldconfig -n /lib" as root to make sure the shared library cache was updated.
Where could I have gone wrong?
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-01-2002 09:57 AM
05-01-2002 09:57 AM
Re: PAM library issues.....
By copyiing the shared library and replacing these files, I was able to repair this issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-11-2010 02:42 PM
03-11-2010 02:42 PM
Re: PAM library issues.....
$ sudo ldconfig -vn /lib|grep pam
libpam.so.0 -> libpam.so.0.81.5
libpamc.so.0 -> libpamc.so.0.81.0
libpam_misc.so.0 -> libpam_misc.so.0.81.2
I had same problem and had to force a reinstall of pam and pam-devel on the http://www.askapache.com/ server, now it works.
libpam.so.0 -> libpam.so.0.81.5
libpamc.so.0 -> libpamc.so.0.81.0
libpam_misc.so.0 -> libpam_misc.so.0.81.2
I had same problem and had to force a reinstall of pam and pam-devel on the http://www.askapache.com/ server, now it works.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
End of content
United States
Hewlett Packard Enterprise International
Communities
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP