LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 01-13-2010, 11:58 AM   #1
ted_s
LQ Newbie
 
Registered: Jan 2010
Posts: 2

Rep: Reputation: 0
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
 
Old 01-13-2010, 03:31 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,940

Rep: Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601
' 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.
.....

Last edited by knudfl; 01-15-2010 at 02:07 AM.
 
Old 01-14-2010, 09:23 AM   #3
ted_s
LQ Newbie
 
Registered: Jan 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Thank you! The package was actually listed as 'pam-devel' on my distribution.

Thanks so much,
Ted S.
 
  


Reply

Tags
compiling, fedora 7


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
make error: /usr/bin/ld: cannot find -lXext ryedunn Linux - Software 20 11-16-2011 03:28 AM
Error When performing Make: "/usr/bin/ld: cannot find -lpanel" paulmwiu Linux - General 6 08-28-2009 12:28 PM
cluster on rhel5 make giving error /usr/bin/ld: cannot find -ldlm xxx_anuj_xxx Linux - Software 3 05-18-2008 10:15 AM
/usr/bin/ld: cannot find -lqt, make xconfig tuxandme Linux - Software 5 06-19-2005 01:04 PM
when running make get: usr/bin/ld: cannot find -lart_lgpl_2 nigma Linux - Software 0 02-12-2004 09:22 PM


All times are GMT -5. The time now is 07:36 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration