Bugzilla – Bug 69
Configuring on AIX
Last modified: 2002-04-29 00:42:26 MDT
When I execute ./configure on AIX 4.3.3, the error message below is shown :- checking for cc... cc checking for C compiler default output... a.out checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'.
Created attachment 10 [details] config log file
That's very strange. The compiler is able to create executables but when the resulting executable is run the dynamic loader is unable to find libc. Try running configure like this: env LDFLAGS=-blibpath:/usr/lib:/lib ./configure
*** Bug 70 has been marked as a duplicate of this bug. ***
FYI: I just successfully configured sudo using the vacpp V5 compiler and AIX 4.3, Release sudo-1.6.5p2.
Ok, sounds like it is a gcc misconfiguration then.