[EMAIL PROTECTED] compiling apache 2.2 with openldap on solairs 9

2005-12-07 Thread GIppolito

Help please.

I've compilied and installed  openldap-2.3.11, openssl-0.9.7g  one solaris
9.

Now I'm trying to complie to apache 2.2.0  with ldap support. Please
see the following.  Configure works fine, but when I do a make I get the
following error.

Any help would be apprecated.

env

_=/usr/bin/env
HZ=100
PATH=/usr/local/bin:/usr/bin:/usr/sbin:/bin:/usr/local/libexec:/usr/ccs/bin
LOGNAME=root
PS1=osa-app01 #
LDFLAGS=-L/usr/local/ssl/lib -L/usr/local/lib
-R/usr/local/ssl/lib:/usr/local/lib
CC=gcc
SHELL=/sbin/sh
CPPFLAGS=-I/usr/local/ssl/include -I/usr/local/include
HOME=/
TERM=vt100
LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/usr/local/ssl/lib
PWD=/export/home/gippolit
TZ=America/Indiana/Marengo

Configure options to Apache

./configure --with-ldap-sdk=openldap --enable-ssl --with-ssl=/usr/local/ssl
--enable-authnz-ldap --enable-ldap --with-ldap=/usr/local


Make error

me/gippolit/httpd-2.2.0/srclib/pcre/libpcre.la
/export/home/gippolit/httpd-2.2.0/srclib/apr-util/libaprutil-1.la -ldb-4.2
/export/home/gippolit/httpd-2.2.0/srclib/apr-util/xml/expat/lib/libexpat.la
-liconv /export/home/gippolit/httpd-2.2.0/srclib/apr/libapr-1.la -luuid
-lsendfile -lrt -lsocket -lnsl -lpthread -ldl
Undefined   first referenced
 symbol in file
ldap_first_entry
modules/ldap/.libs/libmod_ldap.a(util_ldap.o)
apr_ldap_info
modules/ldap/.libs/libmod_ldap.a(util_ldap.o)
apr_ldap_init
modules/ldap/.libs/libmod_ldap.a(util_ldap.o)
ldap_err2string
modules/aaa/.libs/libmod_authnz_ldap.a(mod_authnz_ldap.o)
ldap_msgfree
modules/ldap/.libs/libmod_ldap.a(util_ldap.o)
ldap_value_free
modules/ldap/.libs/libmod_ldap.a(util_ldap.o)
ldap_memfree
modules/ldap/.libs/libmod_ldap.a(util_ldap.o)
ldap_count_entries
modules/ldap/.libs/libmod_ldap.a(util_ldap.o)
apr_ldap_ssl_deinit
modules/ldap/.libs/libmod_ldap.a(util_ldap.o)
ldap_get_dn
modules/ldap/.libs/libmod_ldap.a(util_ldap.o)
ldap_unbind_s
modules/ldap/.libs/libmod_ldap.a(util_ldap.o)
apr_ldap_set_option
modules/ldap/.libs/libmod_ldap.a(util_ldap.o)
ldap_simple_bind_s
modules/ldap/.libs/libmod_ldap.a(util_ldap.o)
ldap_search_ext_s
modules/ldap/.libs/libmod_ldap.a(util_ldap.o)
apr_ldap_ssl_init
modules/ldap/.libs/libmod_ldap.a(util_ldap.o)
ldap_set_option
modules/ldap/.libs/libmod_ldap.a(util_ldap.o)
apr_ldap_url_parse
modules/aaa/.libs/libmod_authnz_ldap.a(mod_authnz_ldap.o)
ldap_get_values
modules/ldap/.libs/libmod_ldap.a(util_ldap.o)
ldap_compare_s
modules/ldap/.libs/libmod_ldap.a(util_ldap.o)
ld: fatal: Symbol referencing errors. No output written to .libs/httpd
collect2: ld returned 1 exit status
make[1]: *** [httpd] Error 1
make[1]: Leaving directory `/export/home/gippolit/httpd-2.2.0'
make: *** [all-recursive] Error 1


-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] compiling apache 2.2 with openldap on solairs 9

2005-12-07 Thread Joe Orton
On Wed, Dec 07, 2005 at 09:39:49AM -0500, [EMAIL PROTECTED] wrote:
...
 Configure options to Apache
 
 ./configure --with-ldap-sdk=openldap --enable-ssl --with-ssl=/usr/local/ssl
 --enable-authnz-ldap --enable-ldap --with-ldap=/usr/local

Don't pass an argument to --with-ldap, try, e.g.:

  --with-ldap --with-ldap-lib=/usr/local/lib \
 --with-ldap-include=/usr/local/include 

(you may also need to set LD_LIBRARY_PATH=/usr/local/lib)

joe

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] compiling apache 2.2 with openldap on solairs 9

2005-12-06 Thread GIppolito

Help please.

I've compilied and installed  openldap-2.3.11, openssl-0.9.7g  one solaris
9.

Now I'm trying to complie to apache 2.2.0  with ldap support. Please
see the following.  Configure works fine, but when I do a make I get the
following error.

Any help would be apprecated.

env

_=/usr/bin/env
HZ=100
PATH=/usr/local/bin:/usr/bin:/usr/sbin:/bin:/usr/local/libexec:/usr/ccs/bin
LOGNAME=root
PS1=osa-app01 #
LDFLAGS=-L/usr/local/ssl/lib -L/usr/local/lib
-R/usr/local/ssl/lib:/usr/local/lib
CC=gcc
SHELL=/sbin/sh
CPPFLAGS=-I/usr/local/ssl/include -I/usr/local/include
HOME=/
TERM=vt100
LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/usr/local/ssl/lib
PWD=/export/home/gippolit
TZ=America/Indiana/Marengo

Configure options to Apache

./configure --with-ldap-sdk=openldap --enable-ssl --with-ssl=/usr/local/ssl
--enable-authnz-ldap --enable-ldap --with-ldap=/usr/local


Make error

me/gippolit/httpd-2.2.0/srclib/pcre/libpcre.la
/export/home/gippolit/httpd-2.2.0/srclib/apr-util/libaprutil-1.la -ldb-4.2
/export/home/gippolit/httpd-2.2.0/srclib/apr-util/xml/expat/lib/libexpat.la
-liconv /export/home/gippolit/httpd-2.2.0/srclib/apr/libapr-1.la -luuid
-lsendfile -lrt -lsocket -lnsl -lpthread -ldl
Undefined   first referenced
 symbol in file
ldap_first_entry
modules/ldap/.libs/libmod_ldap.a(util_ldap.o)
apr_ldap_info
modules/ldap/.libs/libmod_ldap.a(util_ldap.o)
apr_ldap_init
modules/ldap/.libs/libmod_ldap.a(util_ldap.o)
ldap_err2string
modules/aaa/.libs/libmod_authnz_ldap.a(mod_authnz_ldap.o)
ldap_msgfree
modules/ldap/.libs/libmod_ldap.a(util_ldap.o)
ldap_value_free
modules/ldap/.libs/libmod_ldap.a(util_ldap.o)
ldap_memfree
modules/ldap/.libs/libmod_ldap.a(util_ldap.o)
ldap_count_entries
modules/ldap/.libs/libmod_ldap.a(util_ldap.o)
apr_ldap_ssl_deinit
modules/ldap/.libs/libmod_ldap.a(util_ldap.o)
ldap_get_dn
modules/ldap/.libs/libmod_ldap.a(util_ldap.o)
ldap_unbind_s
modules/ldap/.libs/libmod_ldap.a(util_ldap.o)
apr_ldap_set_option
modules/ldap/.libs/libmod_ldap.a(util_ldap.o)
ldap_simple_bind_s
modules/ldap/.libs/libmod_ldap.a(util_ldap.o)
ldap_search_ext_s
modules/ldap/.libs/libmod_ldap.a(util_ldap.o)
apr_ldap_ssl_init
modules/ldap/.libs/libmod_ldap.a(util_ldap.o)
ldap_set_option
modules/ldap/.libs/libmod_ldap.a(util_ldap.o)
apr_ldap_url_parse
modules/aaa/.libs/libmod_authnz_ldap.a(mod_authnz_ldap.o)
ldap_get_values
modules/ldap/.libs/libmod_ldap.a(util_ldap.o)
ldap_compare_s
modules/ldap/.libs/libmod_ldap.a(util_ldap.o)
ld: fatal: Symbol referencing errors. No output written to .libs/httpd
collect2: ld returned 1 exit status
make[1]: *** [httpd] Error 1
make[1]: Leaving directory `/export/home/gippolit/httpd-2.2.0'
make: *** [all-recursive] Error 1


-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] compiling apache 2.2 with openldap on solairs 9

2005-12-06 Thread William A. Rowe, Jr.



[EMAIL PROTECTED] wrote:

Help please.

Make error

me/gippolit/httpd-2.2.0/srclib/pcre/libpcre.la
/export/home/gippolit/httpd-2.2.0/srclib/apr-util/libaprutil-1.la -ldb-4.2
/export/home/gippolit/httpd-2.2.0/srclib/apr-util/xml/expat/lib/libexpat.la
-liconv /export/home/gippolit/httpd-2.2.0/srclib/apr/libapr-1.la -luuid
-lsendfile -lrt -lsocket -lnsl -lpthread -ldl
Undefined   first referenced
 symbol in file
ldap_first_entry


You truncated the last command; please repost the entire link command that
failed.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]