Apache & crypt

Victor Martinez <[email protected]>
Newsgroups gmane.linux.suse.sparc
Message-ID <[email protected]>
Hi! list!
i recenctly try to compile apache 2 on SUse 7.3
Making all in mappers
make[2]: Entering directory `/home/vicm3/httpd-2.0.43/modules/mappers'
make[3]: Entering directory `/home/vicm3/httpd-2.0.43/modules/mappers'
make[3]: Nothing to be done for `local-all'.
make[3]: Leaving directory `/home/vicm3/httpd-2.0.43/modules/mappers'
make[2]: Leaving directory `/home/vicm3/httpd-2.0.43/modules/mappers'
make[1]: Leaving directory `/home/vicm3/httpd-2.0.43/modules'
Making all in support
make[1]: Entering directory `/home/vicm3/httpd-2.0.43/support'
make[2]: Entering directory `/home/vicm3/httpd-2.0.43/support'
/bin/sh /home/vicm3/httpd-2.0.43/srclib/apr/libtool --silent --mode=link
gcc  -g -O2 -pthread    -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -D_SVID_SOURCE -DAP_HAVE_DESIGNATED_INITIALIZER  
-I/home/vicm3/httpd-2.0.43/srclib/apr/include
-I/home/vicm3/httpd-2.0.43/srclib/apr-util/include
-I/home/vicm3/httpd-2.0.43/srclib/apr-util/xml/expat/lib -I.
-I/home/vicm3/httpd-2.0.43/os/unix
-I/home/vicm3/httpd-2.0.43/server/mpm/prefork
-I/home/vicm3/httpd-2.0.43/modules/http
-I/home/vicm3/httpd-2.0.43/modules/filters
-I/home/vicm3/httpd-2.0.43/modules/proxy
-I/home/vicm3/httpd-2.0.43/include
-I/home/vicm3/httpd-2.0.43/modules/dav/main -export-dynamic
-L/home/vicm3/httpd-2.0.43/srclib/apr-util/xml/expat/lib   -o htpasswd 
htpasswd.lo    /home/vicm3/httpd-2.0.43/srclib/pcre/libpcre.la
/home/vicm3/httpd-2.0.43/srclib/apr-util/libaprutil-0.la -ldb2
/home/vicm3/httpd-2.0.43/srclib/apr-util/xml/expat/lib/libexpat.la
/home/vicm3/httpd-2.0.43/srclib/apr/libapr-0.la -lm -lnsl -ldl
htpasswd.o: In function `mkrecord':
/home/vicm3/httpd-2.0.43/support/htpasswd.c:222: undefined reference to
`crypt'
collect2: ld returned 1 exit status
make[2]: *** [htpasswd] Error 1
make[2]: Leaving directory `/home/vicm3/httpd-2.0.43/support'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/vicm3/httpd-2.0.43/support'
make: *** [all-recursive] Error 1

in the case of apache 1.3.27make[4]: Nothing to be done for `all'.
<=== src/modules/standard
<=== src/modules
gcc -c  -I./os/unix -I./include   -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT
-I./lib/expat-lite -DNO_DL_NEEDED `./apaci` modules.c
gcc -c  -I./os/unix -I./include   -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT
-I./lib/expat-lite -DNO_DL_NEEDED `./apaci` buildmark.c
gcc  -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite
-DNO_DL_NEEDED `./apaci`    \
      -o httpd buildmark.o modules.o modules/standard/libstandard.a
main/libmain.a ./os/unix/libos.a ap/libap.a regex/libregex.a
lib/expat-lite/libexpat.a  -lm
ap/libap.a(ap_checkpass.o): In function `ap_validate_password':
ap_checkpass.o(.text+0xa8): undefined reference to `crypt'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/home/vicm3/apache_1.3.27/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/home/vicm3/apache_1.3.27'
make: *** [build] Error 2

Same trouble...
in fact get some troubles with "crypt" & more with -lcrypt some advice?
Best Regards!


"Life sucks, but it's better than the alternative." -- Peter da Silva
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.