You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Qingshan Xie <xi...@yahoo.com> on 2006/11/20 21:40:06 UTC
[users@httpd] Apache 1.3.37 compilation error with mod_auth_ldap on Solaris 2.6
Hi!
I tried to compile Apache-1.3.37 with openssl-0.9.8d
and mod_auth_ldap-1.4.2 on a Solari 2.6, but
compilation failed many times. The errors in the
begining are as below,
......
gcc -DSOLARIS2=260 -DUSE_EXPAT -I./lib/expat-lite
-DNO_DL_NEEDED `./apaci` \
-o httpd buildmark.o modules.o
modules/standard/libstandard.a
modules/proxy/libproxy.a modules/extra/libextra.a
main/libmain.a ./os/unix/libos.a ap/libap.a
lib/expat-lite/libexpat.a -lsocket -lnsl -lpthread
modules/extra/libextra.a(mod_ldap.o): In function
`auth_ldap_init':
mod_ldap.o(.text+0x14): undefined reference to
`ldap_init'
modules/extra/libextra.a(mod_ldap.o): In function
`auth_ldap_free_connection':
mod_ldap.o(.text+0x18c): undefined reference to
`ldap_unbind_s'
modules/extra/libextra.a(mod_ldap.o): In function
`auth_ldap_connect_to_server':
mod_ldap.o(.text+0x4a8): undefined reference to
`ldap_simple_bind_s'
mod_ldap.o(.text+0x528): undefined reference to
`ldap_err2string'
mod_ldap.o(.text+0x5bc): undefined reference to
`ldap_memcache_set'
mod_ldap.o(.text+0x5dc): undefined reference to
`ldap_err2string'
modules/extra/libextra.a(mod_ldap.o): In function
`auth_ldap_find_connection':
mod_ldap.o(.text+0x8d0): undefined reference to
`ldap_memcache_init'
mod_ldap.o(.text+0x8f0): undefined reference to
`ldap_err2string'
modules/extra/libextra.a(mod_ldap.o): In function
`ldap_authenticate_basic_user':
mod_ldap.o(.text+0xd84): undefined reference to
`ldap_search_ext_s'
mod_ldap.o(.text+0xe0c): undefined reference to
`ldap_err2string'
mod_ldap.o(.text+0xe78): undefined reference to
`ldap_count_entries'
mod_ldap.o(.text+0xf28): undefined reference to
`ldap_first_entry'
mod_ldap.o(.text+0xf44): undefined reference to
`ldap_get_dn'
mod_ldap.o(.text+0xf94): undefined reference to
`ldap_memfree'
modules/extra/libextra.a(mod_ldap_config.o): In
function `parse_auth_ldap_url':
mod_ldap_config.o(.text+0xb4): undefined reference to
`ldap_url_parse'
modules/extra/libextra.a(mod_ldap_cache.o): In
function `auth_ldap_authbind':
mod_ldap_cache.o(.text+0x8a4): undefined reference to
`ldap_simple_bind_s'
mod_ldap_cache.o(.text+0x920): undefined reference to
`ldap_err2string'
modules/extra/libextra.a(mod_ldap_cache.o): In
function `auth_ldap_compare':
mod_ldap_cache.o(.text+0xf14): undefined reference to
`ldap_compare_s'
make[2]: *** [target_static] Error 1
make[2]: Leaving directory
`/home/qixie/CVS/infrastructure.old/webmaster/apache_1.3.37/src'
make[1]: *** [build-std] Error 2
Can some one help me?
Thx, Q.Xie
____________________________________________________________________________________
The all-new Yahoo! Mail beta
Fire up a more powerful email and get things done faster.
http://new.mail.yahoo.com
---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Apache 1.3.37 compilation error with mod_auth_ldap
on Solaris 2.6
Posted by Ricardo Stella <st...@rider.edu>.
Qingshan Xie wrote:
> Hi!
>
> I tried to compile Apache-1.3.37 with openssl-0.9.8d
> and mod_auth_ldap-1.4.2 on a Solari 2.6, but
> compilation failed many times. The errors in the
> begining are as below,
>
> ...
>
There are different ldap modules for 1.3.x I used auth_ldap (with
openldap libraries) and mm_mod_auth_ldap (with netscape libs).
In any case, get apache running first, then compile/add your module.
Ie, try:
mod_ssl:
$ cd
mod_ssl-2.8.x-1.3.x ALL
$ ./configure
\ ALL
--with-apache=../apache_1.3.x
\ ALL
--with-crt=/path/to/your/server.crt \
OPTIONAL
--with-key=/path/to/your/server.key
OPTIONAL
$ cd
.. ALL
apache:
sh
SSL_BASE="/usr/local/ssl" \
./configure \
"--with-layout=Apache" \
"--enable-module=most" \
"--enable-module=ssl" \
"--prefix=/usr/local/apache" \
"--enable-shared=ssl" \
"--enable-shared=max"
make
make install
--
°(((=((===°°°(((===========================================