OpenLDAP ./Configure Issue (exits with error)

Best practice information from Scalix users relating to integration of Scalix with other products.

Moderator: ScalixSupport

djsoundfx

OpenLDAP ./Configure Issue (exits with error)

Postby djsoundfx » Sun Jul 15, 2007 5:25 pm

First, I'm kind of a newbie when it comes to RHEL 4, and my company is using a preconfigured iso (appliance) that instals RHEL and Scalix. Okay now onto the issue:

I've downloaded the latest release of Openldap, and I can't even get past ./configure:

Code: Select all

$ ./configure
Configuring OpenLDAP 2.3.36-Release ...
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking target system type... i686-pc-linux-gnulibc1
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking configure arguments... done
checking for cc... cc
checking for ar... ar
checking for style of include used by make... GNU
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.


So then I open config.log and find....

Code: Select all

...configure:4576: checking for C compiler default output file name
configure:4579: cc    conftest.c  >&5
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
configure:4582: $? = 1
configure: failed program was:
| /* confdefs.h.  */...
|


Okay from my google research I've discovered that the /usr/bin/ld -lc has to do with glibc. So I downloaded this, and tried to install it, it told me it was already installed, I got frustrated and forced it to install but still no dice. I'm kinda stuck any suggestions would be a great help.

Thanks!

ioitest
Posts: 19
Joined: Sun Dec 03, 2006 11:33 pm

Postby ioitest » Wed Jul 18, 2007 12:30 am

you dont have to install openldap from tarball. install it from rpm or from up2date.

# up2date install <package-name>


package name starts with openldap


Return to “Third Party Integration”



Who is online

Users browsing this forum: No registered users and 1 guest