apache compile error "collect2: Library libm not found"

apache compile error "collect2: Library libm not found"

Post by Shen ChuMin » Fri, 15 Dec 2000 14:03:55

Help, I try to make apache under AIX4.3

I got : gcc 2.95.2

Creating Configuration.apaci in src
Creating Makefile in src
 + configured for IBM AIX 4.3 platform
 + setting C compiler to gcc
 + setting C pre-processor to gcc -E
 + checking for system header files
 + adding selected modules
 + checking sizeof various data types
 + doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed.  The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc.

cd ..;
/apaci`   -lm
-lpthread  -o helpers/dummy helpers/dummy.c
collect2: Library libm not found
make: *** [dummy] Error 1
======== Error Output for sanity check ========
============= End of Error Report =============

I know that something is missing "collect2: Library libm not found"
but, I can't tell what package shall I need to have apache compile



apache compile error "collect2: Library libm not found"

Post by Shen ChuMin » Fri, 15 Dec 2000 15:14:33

Thanks, I already find out.
I miss the search path "/usr/ccs" in profile



1. gnu g++ "collect2: Library libm not found"


 I get "collect2: Library libm not found" after trying to compile a
very simple c++ program with g++_2.95.2. (basically just a hello world)

I I am running AIX 4.3.3 on an RS6000, I had to install gcc and g++
since AIX didn't come with any compilers... Sounds like I am missing
some fundamental C/C++ Libraries...

Has anybody ever run into this error? Anybody know how I can resolve it?

Thanks in advance,

Sent via Deja.com http://www.deja.com/
Before you buy.

2. Q: how to share application memory.

3. compiling apache- make error "ar: not found"

4. mount Windows'95 partition

5. Netscape: "libm.so.4" not found

6. How to stop user deleting .htaccess files??

7. GETSERVBYNAME()????????????????????"""""""""""""

8. netbeans caused native 1.3.1 version to crash...

9. compiling the kernel error: "as86: Command not found"

10. Cant compile applications: "make" cant find "cc"

11. """"""""My SoundBlast 16 pnp isn't up yet""""""""""""

12. "find" and "locate" commands not working, linux RH5.2

13. CygWin - PATH finds "myscript.sh" but not "myscript"