Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 04-25-2002, 04:26 AM   #1
Registered: Nov 2001
Location: singapore
Posts: 120

Rep: Reputation: 15
apache installation problem...

cd ..; gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEED
ED `./apaci` -o helpers/dummy helpers/dummy.c -lm
/usr/bin/ld: cannot find -lm
collect2: ld returned 1 exit status
make: *** [dummy] Error 1

#./configure -- prefix=/usr/local/apache --enable-shared=max

After entering the command for installing apache, i got the error msg above. How can i solve this ?? what is -lm ??

i am installing apache_1.3.24 on redhat 6.2
Old 04-25-2002, 05:45 AM   #2
Senior Member
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
-lm tells it to use the m library. If you are including static libraries then you'll need the libm.a file and for the shared library you'll need I've got both of those files in /usr/lib they kind of belong to the minimal set of libraries you need. It's looking for the shared library though. Maybe your cache file is corrupt. You could try running /sbin/ldconfig. Or remove the file /etc/ first and then run the command.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
apache server installation problem diptanshu Linux - Software 3 07-11-2005 11:25 PM
Apache installation problem newLinuz Linux - Software 1 12-05-2004 07:40 PM
Apache installation problem with Modperl groover Linux - Software 2 05-24-2004 05:29 PM
Problem with Apache Installation on RedHat 9 kbrian38 Linux - Newbie 2 11-29-2003 12:42 AM
differences between Apache 2.0.47 in comparison to Apache 1.3.28 installation? rohanrohanrohan Linux - Newbie 2 11-06-2003 01:22 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:11 AM.

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