You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by empty body <em...@gmail.com> on 2006/06/17 18:59:19 UTC
[users@httpd] compilation problem for apache2 + ldap on solaris 8
this is the error during make:
-------------
/export/home/username/software/src/httpd-2.2.2/srclib/apr/libtool
--silent --mode=link gcc -pthreads -fPIC -mv8plus -O3
-L/usr/local/lib
-L/export/home/username/software/src/httpd-2.2.2/srclib/apr-util/xml/expat/lib
-R/usr/local/lib -L/opt/OpenSSL/lib -R/opt/OpenSSL/lib -o htpasswd
htpasswd.lo -lm
/export/home/username/software/src/httpd-2.2.2/srclib/pcre/libpcre.la
/export/home/username/software/src/httpd-2.2.2/srclib/apr-util/libaprutil-1.la
-lldap -llber /export/home/username/software/src/httpd-2.2.2/srclib/apr-util/xml/expat/lib/libexpat.la
-liconv /export/home/username/software/src/httpd-2.2.2/srclib/apr/libapr-1.la
-lsendfile -lrt -lsocket -lnsl -lpthread -ldl
ld: fatal: library -lnet: not found
ld: fatal: File processing errors. No output written to .libs/htpasswd
collect2: ld returned 1 exit status
make[2]: *** [htpasswd] Error 1
make[2]: Leaving directory
`/export/home/username/software/src/httpd-2.2.2/support'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/export/home/username/software/src/httpd-2.2.2/support'
make: *** [all-recursive] Error 1
-------------
this is the script to configure and build:
-------------
MAKE=/usr/local/bin/make
SSL_BASE=/opt/OpenSSL
export CFLAGS="-fPIC -mv8plus -O3"
export LD_LIBRARY_PATH=/usr/lib:$SSL_BASE/lib:/opt/SUNWspro/lib:/usr/ccs/lib:/usr/local/lib
make distclean clean 2>/dev/null
set -x
./configure \
--with-ssl=$SSL_BASE \
--with-z=/usr/local \
--prefix=/opt/apache2 \
--with-mpm=worker \
--enable-nonportable-atomics \
--disable-include \
--disable-env \
--disable-autoindex \
--disable-asis \
--disable-negotiation \
--disable-imap \
--disable-imagemap \
--disable-actions \
--disable-userdir \
--with-ldap-include=/usr/local/include \
--with-ldap-lib=/usr/local/lib \
--with-ldap=yes \
--enable-modules="access alias auth_basic authn_file authz_groupfile
authz_user cgid dir headers log_config mime setenvif so status" \
--enable-mods-shared="rewrite autoindex ssl dav deflate proxy
proxy-http proxy-connect env" \
&& $MAKE \
&& echo "made successfully"
-------------
config.log available here:
http://rafb.net/paste/results/f5ZkRt73.html
software:
---------
openldap 2.3.21 from sunfreeware.com
solaris sparc 8
apache 2.2.2
gcc 3.4.2
make 3.80
any comments/suggestions appreciated.
thank you.
---------------------------------------------------------------------
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] compilation problem for apache2 + ldap on solaris 8
Posted by empty body <em...@gmail.com>.
this worked, thank you.
On 6/17/06, Rainer Sokoll <R....@intershop.de> wrote:
> On Sat, Jun 17, 2006 at 12:59:19PM -0400, empty body wrote:
>
> > this is the error during make:
> [...]
> > ld: fatal: library -lnet: not found
>
> You need libnet (http://www.packetfactory.net/projects/libnet/). It is
> also available through sunfreeware.
>
> Rainer
>
---------------------------------------------------------------------
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] compilation problem for apache2 + ldap on solaris 8
Posted by Rainer Sokoll <R....@intershop.de>.
On Sat, Jun 17, 2006 at 12:59:19PM -0400, empty body wrote:
> this is the error during make:
[...]
> ld: fatal: library -lnet: not found
You need libnet (http://www.packetfactory.net/projects/libnet/). It is
also available through sunfreeware.
Rainer
---------------------------------------------------------------------
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