1836375 Members
2323 Online
110100 Solutions
New Discussion

Error duing Configure -

 
Craig Johnson_1
Regular Advisor

Error duing Configure -

error: cannot run C compiled programs. If you meant > to cross compie, use '--host'

Then if you look in config.log you see:

/usr/lib/dld.sl: Can't open shared library: libc.2
/usr/lib/dld.sl: No such file or directory
./configure[3953]: 13340 Abort(coredump)

I have dld.sl and libc.2 in /usr/lib. What could be the problem?
5 REPLIES 5
Peter Godron
Honored Contributor

Re: Error duing Configure -

Craig,
what were you trying to configure ?
What are your SHLIB_PATH and LD_LIBRARY_PATH set to ?
spex
Honored Contributor

Re: Error duing Configure -

Hi,

Try this:

# export SHLIB_PATH=${SHLIB_PATH}:/usr/lib

PCS
Craig Johnson_1
Regular Advisor

Re: Error duing Configure -

I have SHLIB_PATH set, but not LD_LIBRARY_PATH - what should it be set to?
Craig Johnson_1
Regular Advisor

Re: Error duing Configure -

I am trying to configure sudo off of the Iexpress CD and recompile it with different permission options for the sudoers file.
Craig Johnson_1
Regular Advisor

Re: Error duing Configure -

OK, the README.hp file that came with the software said to set LDFLAGS="-Wl,+nodefaultrpath".

I got rid of that setting and now it works. I think.