-   Linux - Server (
-   -   fedora7 make error - /usr/bin/ld: cannot find -lpam (

ted_s 01-13-2010 12:58 PM

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

I have tried

and also adding a file.conf in / which contains only the line:


All with no success (same error is repeated)

Any ideas?

Thanks very much in advance
ted s

knudfl 01-13-2010 04:31 PM

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

( is a link to )


.. And welcome to LQ.

ted_s 01-14-2010 10: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 06:00 AM.