You are not finding your crypto or ssl libs. Use a -L/usr/local/ssl/lib
or whatever that points directly to the location of the crytpo/ssl libs.
You may have to add a -lgcc depending on your platform.



> ±èº´°ü wrote:
> 
> In my way....
> tar -xvzf openssl-0.9.5a.tar.gz
> tar -xvzf patch-2.5.tar.gz
> tar -xvzf apache_1.3.12.tar.Z
> tar -xvzf apache_1.3.12+ssl_1.41.tar.gz
> and
> In openssl-0.9.5a directory
> ./config
> make
> make test
> make install
> and
> In patch-2.5 directory
> ./configure
> make
> make install
> and
> cd /usr/local/src/apache_1.3.12
> vi SSLpatch
> (I modify SSL_BASE and SSL_APP_DIR)
> patch -p1 < SSLpatch
> cd src
> ./Configure
> cd ..
> ./configure --prefix=/usr/local/apache --enable-rule=SHARED_CORE
> --enable-module=so
> make
> and then
> error comes
> This is the last part of "make processing"
> 
> gcc -I./os/unix -I./include -I/usr/local/src/openssl-0.9.5a/include
> -DLINUX=2 -DTARGET=\"httpsd\" -I/usr/local/src/php-4.0.1pl2
> -I/usr/local/src/php-4.0.1pl2/main -I/usr/local/src/php-4.0.1pl2/main
> -I/usr/local/src/php-4.0.1pl2/Zend -I/usr/local/src/php-4.0.1pl2/Zend
> -I/usr/local/src/php-4.0.1pl2 -DUSE_EXPAT -I./lib/expat-lite -fpic
> -DSHARED_CORE -DAPACHE_SSL `./apaci` -rdynamic \
> -o libhttpsd.ep -DSHARED_CORE_TIESTATIC main/http_main.c \
> -L. -lhttpsd -Wl,-rpath,/usr/local/gd-1.8.3 -Wl,-rpath,/usr/local/lib
> -Wl,-rpath,/usr/local/imap/c-client
> -Wl,-rpath,/usr/local/mysql/lib/mysql -rdynamic -L/usr/local/gd-1.8.3
> -L/usr/local/lib -L/usr/local/imap/c-client
> -L/usr/local/mysql/lib/mysql -Lmodules/php4 -L../modules/php4
> -L../../modules/php4 -lmodphp4 -lgdbm -lpam -lc-client -ldl
> -lmysqlclient -lttf -lpng -lz -lgd -lresolv -lm -ldl -lcrypt -lnsl
> -lresolv -lm -lcrypt -ldl -L/usr/local/src/openssl-0.9.5a -lssl
> -lcrypto
> ./libhttpsd.so: undefined reference to `RAND_egd_bytes'
> collect2: ld returned 1 exit status
> make[2]: *** [libhttpsd.ep] Error 1
> make[2]: Leaving directory `/usr/local/src/apache_1.3.12/src'
> make[1]: *** [build-std] Error 2
> make[1]: Leaving directory `/usr/local/src/apache_1.3.12'
> make: *** [build] Error 2
> 
> how can I manage?

-- 
Craig Shaver, Productivity Group
POB 60458 Sunnyvale, CA  94088 (650)390-0654
http://www.progroup.com/ mailto:[EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to