LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   fedora7 make error - /usr/bin/ld: cannot find -lpam (http://www.linuxquestions.org/questions/linux-server-73/fedora7-make-error-usr-bin-ld-cannot-find-lpam-782009/)

ted_s 01-13-2010 11:58 AM

fedora7 make error - /usr/bin/ld: cannot find -lpam
 
Hi everybody,

I am trying to compile a new version of Mapserver on my fedora7 system and after 'make' I get the following error:

/usr/bin/ld: cannot find -lpam
collect2: ld returned 1 exit status
make: *** [shp2img] Error 1

libpam is definitely on the system.

# locate libpam
/etc/ld.so.conf.d/libpam.conf
/lib/libpam.so.0
/lib/libpam.so.0.81.6
/lib/libpam_misc.so.0
/lib/libpam_misc.so.0.81.2
/lib/libpamc.so.0
/lib/libpamc.so.0.81.0
/root/psa/PSA_8.4.0/dist-rpm-FedoraCore-7-i386/base/psa-libpam-plesk-8.4.0-fc7.build84080425.19.i586.rpm
/root/psa/PSA_9.2.3/dist-rpm-FedoraCore-7-i386/base/psa-libpam-plesk-9.2.3-fc7.build92091015.22.i586.rpm
/swsoft/PSA_8.3.0/dist-rpm-FedoraCore-7-i386/base/psa-libpam-plesk-8.3.0-fc7.build83071218.19.i586.rpm

I have tried
#ldconfig

and also adding a file.conf in /ld.so.conf.d which contains only the line:
/lib/

then
#ldconfig

All with no success (same error is repeated)

Any ideas?

Thanks very much in advance
ted s

knudfl 01-13-2010 03:31 PM

' lpam ' means ' libpam.so ', which is provided
by the package ' libpam-devel '.
EDIT : Sorry, typo : Package name = pam-devel .

( libpam.so is a link to libpam.so.0.81.6 )

.....

.. And welcome to LQ.
.....

ted_s 01-14-2010 09:23 AM

Thank you! The package was actually listed as 'pam-devel' on my distribution.

Thanks so much,
Ted S.


All times are GMT -5. The time now is 04:59 AM.