Re: Hi, I'm beginner in Korea. Installation problem.....

2000-08-21 Thread Craig Shaver

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]



Re: Hi, I'm beginner in Korea. Installation problem.....

2000-08-21 Thread Jacques GRILLOT



Hi,
Im'm beginner in France but I know read the readme ... ;)
Check the file README.SSL, line 50: you must patch two include file
from openssl (crypt/rand/rand.h and crypto/rand/rand_egd.c) with the file
openssl-0.9.5a-egd.diff
I file-attach this two patched files if you want.
annyonghi kaseyo,
Jacques

±èº´°ü wrote:

In
my waytar -xvzf openssl-0.9.5a.tar.gztar -xvzf patch-2.5.tar.gztar
-xvzf apache_1.3.12.tar.Ztar -xvzf apache_1.3.12+ssl_1.41.tar.gzandIn openssl-0.9.5a
directory./configmakemake testmake installandIn patch-2.5 directory./configuremakemake
installandcd /usr/local/src/apache_1.3.12vi SSLpatch(I modify SSL_BASE
and SSL_APP_DIR)patch -p1  SSLpatchcd src./Configurecd .../configure
--prefix=/usr/local/apache --enable-rule=SHARED_CORE --enable-module=somakeand
thenerror comesThis 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?

--
Professional homepage http://www.albert-inc.com

"Hi, my name is Bill Gates and I sell Windows..."
"Bonjour, je m'appelle Bill Portail et je vends des fenetres ..."
"Buongiorno, mi chiamo Guglielmo Cancelli e vendo finestre ..."




/* crypto/rand/rand.h */
/* Copyright (C) 1995-1998 Eric Young ([EMAIL PROTECTED])
 * All rights reserved.
 *
 * This package is an SSL implementation written
 * by Eric Young ([EMAIL PROTECTED]).
 * The implementation was written so as to conform with Netscapes SSL.
 * 
 * This library is free for commercial and non-commercial use as long as
 * the following conditions are aheared to.  The following conditions
 * apply to all code found in this distribution, be it the RC4, RSA,
 * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
 * included with this distribution is covered by the same copyright terms
 * except that the holder is Tim Hudson ([EMAIL PROTECTED]).
 * 
 * Copyright remains Eric Young's, and as such any Copyright notices in
 * the code are not to be removed.
 * If this package is used in a product, Eric Young should be given attribution
 * as the author of the parts of the library used.
 * This can be in the form of a textual message at program startup or
 * in documentation (online or textual) provided with the package.
 * 
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 * 1. Redistributions of source code must retain the copyright
 *notice, this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright
 *notice, this list of conditions and the following disclaimer in the
 *documentation and/or other materials provided with the distribution.
 * 3. All advertising materials mentioning features or use of this software
 *must display the following acknowledgement:
 *"This product includes cryptographic software written by
 * Eric Young ([EMAIL PROTECTED])"
 *The word 'cryptographic' can be left out if the rouines from the library
 *being used are not cryptographic related :-).
 * 4. If you include any Windows specific code (or a derivative thereof) from 
 *the apps directory (application code) you must include an acknowledgement:
 *"This product includes software written by Tim Hudson ([EMAIL PROTECTED])"
 * 
 * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS;