[users@httpd] compilation problem for apache2 + ldap on solaris 8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux