[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#3997) building openLDAP on aix 5.2 w/gcc

Full_Name: kelvin gerhart
Version: 2.2.26
OS: AIX 5.2.6m
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

Like others, I am trying to build openLDAP on a AIX box. Have had success
building 2.2.26 with --enable-static and --disable-shared. It configures, makes
and tests completely. But when I try to use the openLDAP libraries with other
need programs, such as when building nss_ldap or PHP with --enable-ldap, I get
LDAP library not found. If I rebuild openLDAP using --enable-shared and
--disable-static I can successful build say nss_ldap because magically the LDAP
libraries are found BUT when I try to run the make test it fails. Executing
slapd causes a segmentation fault. Any suggestion? Yes, I tried --enable-shared
and --eanable-static too. Get segmentation fault.

Is there a written procedure for success.  Have also downloaded UCLAs binaries
but they seems to use a hard coded path structure. And it didn't work either.

Have tried 2.3.4 version with different results. It looks like the library paths
are hard coded went the program was build. Am going to try runtime linking using
the -brtn flag.

Thanks for any help you can give. I already weeks behind....