You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2007/03/29 15:40:47 UTC

DO NOT REPLY [Bug 41041] - mod_ldap segfaults when using TLS w/OpenLDAP libs

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41041>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41041





------- Additional Comments From laurent@elanor.org  2007-03-29 06:40 -------
I had the same issue, it was breaking the use of TLS when using LDAP in PHP.
Actually, I found out that I had to compile with exported variables, like this:

export CPPFLAGS='-I/usr/local/openldap-2.3.32/include'
export LDFLAGS='-R/usr/local/openssl/lib -R/usr/local/openldap-2.3.32/lib
-L/usr/local/openldap-2.3.32/lib'
./configure --prefix=/usr/local/httpd-2.2.3 etc...

I used to do only CPPFLAGS=xxx LDFLAGS=xxx ./configure, which worked, except the
variables did not reach the apr-util configure, it seems, so Apache used
OpenLDAP, but apr-utils was linked to Solaris LDAP.

Also, a sidenote, I had to remove an /usr/local/apache2 link that pointed to the
directory, because in the case, the old apr-util was used (configure does a
search in a few directories), and a new one with proper links was not built.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org