OpenLDAP
Up to top level
Build   Contrib   Development   Documentation   Historical   Incoming   Software Bugs   Software Enhancements   Web  

Logged in as guest

Viewing Build/3272
Full headers

From: lukeh@padl.com
Subject: SLAPI does not work properly on AIX
Compose comment
Download message
State:
1 replies: 1
0 followups:

Major security issue: yes  no

Notes:

Notification:


Date: Mon, 9 Aug 2004 07:57:26 GMT
From: lukeh@padl.com
To: openldap-its@OpenLDAP.org
Subject: SLAPI does not work properly on AIX
Full_Name: Luke Howard
Version: 2.2.15
OS: AIX 5.2
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (203.13.32.92)


Slapd linking against libslapi.a causes it to behave unpredictably on AIX. It
needs to link against the dynamic library (the same one that plugins link
against).

Really, slapd should respect --enable-dynamic if slapd was so built. It just so
happens that this appears to be necessary on AIX (note that I'm building
everything -brtl, which means that the runtime linker is used rather than
compile time linking against shared libraries).

I needed a patch like:

@@ -2351,8 +2354,8 @@
        fi
        AC_CHECK_LIB(ltdl, lt_dlinit, [
                SLAPI_LIBS=-lltdl
-               LIBSLAPI=libslapi.a
-               LIBSLAPITOOLS=../libslapi.a
+               LIBSLAPI=slapi/libslapi.la
+               LIBSLAPITOOLS=../slapi/libslapi.la
                AC_DEFINE(HAVE_LIBLTDL,1,[define if you have libtool -ltdl])
        ],[AC_MSG_ERROR([could not locate libtool -lltdl])])

The copying of libslapi.a in servers/slapd/Makefile can probably be ditched.


Reply 1

Resend
From: Kurt Zeilenga <openldap-its@OpenLDAP.org>
To: lukeh@padl.com
Subject: Re: SLAPI does not work properly on AIX (ITS#3272)
Date: Sat Aug 28 13:23:08 2004
Will this change likely cause problems elsewhere?

Up to top level
Build   Contrib   Development   Documentation   Historical   Incoming   Software Bugs   Software Enhancements   Web  

Logged in as guest


The OpenLDAP Issue Tracking System uses a hacked version of JitterBug

______________
© Copyright 2009, OpenLDAP Foundation, info@OpenLDAP.org