Bug 69

Summary: Configuring on AIX
Product: Sudo Reporter: shanthi_thana
Component: SudoAssignee: Todd C. Miller <Todd.Miller>
Status: RESOLVED FIXED    
Severity: high    
Priority: high    
Version: 1.6.5   
Hardware: IBM   
OS: AIX   
Attachments: config log file

Description shanthi_thana 2002-01-25 00:14:19 MST
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'.
Comment 1 shanthi_thana 2002-01-25 00:21:59 MST
Created attachment 10 [details]
config log file
Comment 2 Todd C. Miller 2002-01-25 12:24:59 MST
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
Comment 3 Todd C. Miller 2002-02-20 15:16:59 MST
*** Bug 70 has been marked as a duplicate of this bug. ***
Comment 4 Ken Foskey 2002-04-28 18:42:59 MDT
FYI:  I just successfully configured sudo using the vacpp V5 compiler and AIX
4.3,  Release sudo-1.6.5p2.
Comment 5 Todd C. Miller 2002-04-28 20:42:59 MDT
Ok, sounds like it is a gcc misconfiguration then.