undefined symbol: X509_free

2005-08-29 Thread Toney Samuel
i have downloaded openssl-0.9.8.tar.gz. I untared it then configured
it with these switches
./config --prefix=/usr/local shared zlib-dynamic
then did make and make install

i had apache httpd-2.0.53.tar.gz also untared it then used these
switches to configure
./configure  --enable-deflate  --enable-usertrack  --enable-auth-dbm 
--enable-mime-magic \
--enable-expires  -disable-autoindex  --enable-so  --enable-cern-meta 
--enable-ssl \
--enable-mods-shared=ssl --with-ssl=/usr/local/bin
then did make and make install

but when i start apache with 
./apachectl startssl
I am getting this error
cluster1:/usr/local/apache2/bin # ./apachectl startssl
Syntax error on line 234 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/mod_ssl.so into server:
/usr/local/apache2/modules/mod_ssl.so: undefined symbol: X509_free
__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  modssl-users@modssl.org
Automated List Manager[EMAIL PROTECTED]


Re: undefined symbol: X509_free

2005-08-29 Thread Cliff Woolley
On 8/29/05, Toney Samuel [EMAIL PROTECTED] wrote:
 I am getting this error
 cluster1:/usr/local/apache2/bin # ./apachectl startssl
 Syntax error on line 234 of /usr/local/apache2/conf/httpd.conf:
 Cannot load /usr/local/apache2/modules/mod_ssl.so into server:
 /usr/local/apache2/modules/mod_ssl.so: undefined symbol: X509_free

This is a long-outstanding bug in the Apache build process.  It's easy
to work around.  Please refer to
http://www.mail-archive.com/modssl-users@modssl.org/msg14344.html .

Thanks!
Cliff
__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  modssl-users@modssl.org
Automated List Manager[EMAIL PROTECTED]


undefined symbol: X509_free

2003-03-18 Thread Phillip Qin








Having searched through the archive, I could not find a solution
to the above error. This error only occurs when I build mod_ssl as dynamic
linked module. When I have done is



-
download zlib-1.1.4 source and build it --shared --prefix=/usr

-
download openssl-0.9.7a source and build it

-
download httpd-2.0.44 source and build it ./configure
 --enable-ssl=shared -with-ssl=/usr/local/ssl



My OS is Red Hat 7.2.










undefined symbol: X509_free when apachectl startssl

2003-03-06 Thread apachep2








Having searched through the archive, I could not find a
solution to the above error. This error only occurs when I build mod_ssl as
dynamic linked module. When I have done is



-
download zlib-1.1.4 source and build it --shared --prefix=/usr

-
download openssl-0.9.7a source and build it

-
download httpd-2.0.44 source and build it ./configure . --enable-ssl=shared
with-ssl=/usr/local/ssl



My OS is Red Hat 7.2.












undefined symbol: X509_free when starting apache 2.0.40 with mod_ssl

2002-09-09 Thread Joseph Shraibman

I have openssl 0.9.6g installed in /usr/local/ssl. My ld.so.conf has:
/usr/local/ssl/lib as the first line.  When I try to start apache I get:

Syntax error on line 235 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/mod_ssl.so into server: 
/usr/local/apache2/modules/mod_ssl.so: undefined symbol: X509_free

[root@d1 /usr/local/apache2/bin] ldd apache2
 libaprutil.so.0 = /usr/local/apache2/lib/libaprutil.so.0 (0x40015000)
 libgdbm.so.2 = /usr/lib/libgdbm.so.2 (0x40032000)
 libdb.so.3 = /lib/libdb.so.3 (0x40038000)
 libexpat.so.0 = /usr/local/apache2/lib/libexpat.so.0 (0x40072000)
 libapr.so.0 = /usr/local/apache2/lib/libapr.so.0 (0x4008f000)
 libm.so.6 = /lib/libm.so.6 (0x400aa000)
 libcrypt.so.1 = /lib/libcrypt.so.1 (0x400c7000)
 libnsl.so.1 = /lib/libnsl.so.1 (0x400f5000)
 libresolv.so.2 = /lib/libresolv.so.2 (0x4010b000)
 libdl.so.2 = /lib/libdl.so.2 (0x4011a000)
 libpthread.so.0 = /lib/libpthread.so.0 (0x4011f000)
 libc.so.6 = /lib/libc.so.6 (0x40132000)
 /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000)
[root@d1 /usr/local/apache2/bin] ldd ../modules/mod_ssl.so
 libc.so.6 = /lib/libc.so.6 (0x40031000)
 /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x8000)

I configured apache with:
./configure --enable-ssl=shared  --enable-info=shared   --enable-include=shared

-- 
Joseph Shraibman
[EMAIL PROTECTED]
Increase signal to noise ratio.  http://xis.xtenit.com

__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]



can't load /usr/local/apach2/modules/mod_sll.so into server undefined symbol x509_free

2002-08-19 Thread Venkat Reddy Valluri

Hi,
   I installed openssl 0.9.6g engine on redhat 7.3 over which i installed apache 
2.0.39, It seems installation to be successful,
   but when i tried to start apache with sll
./apachecntl startssl
 iam getiing
   can't load /usr/local/apache2/modules/mod_ssl.so into server 
/usr/local/apache2/modules/mod_ssl.so

Can you just help me how to install openssl with sharedlibs option
Any help greatly apprecitated  

Thks in advance
Venkat
__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]



RE: can't load /usr/local/apache2/modules/mod_ssl.sointoserver/usr/local/apache2/modules/mod_ssl.so undefined symbol x509_free

2002-08-19 Thread Cliff Woolley

On Mon, 19 Aug 2002, Venkat Reddy Valluri wrote:

 As you told I checked the directory /usr/local/lib for libcrypto.so and
 libssl.so, but I found out only libcrypto.a and libssl.a,
   can you please let me know how to configure openssl to get these modules
 shared like libcrypto.so and libssl.so

Frankly it's always been a bit of a pain for me.  The default Makefile
doesn't seem to behave quite right.

You can try this:

make build-shared

But then you have to install them by hand because the $(SHARED_LIBS)
variable has no value in the default Makefile so make install doesn't see
them.  Alternatively, you can edit the Makefile as follows:

--- Makefile2002-03-17 20:03:36.0 -0500
+++ Makefile.new2002-08-19 12:44:49.0 -0400
@@ -183,7 +183,7 @@
 LIBS=   libcrypto.a libssl.a
 SHARED_CRYPTO=libcrypto$(SHLIB_EXT)
 SHARED_SSL=libssl$(SHLIB_EXT)
-SHARED_LIBS=
+SHARED_LIBS=libcrypto$(SHLIB_EXT) libssl$(SHLIB_EXT)
 SHARED_LIBS_LINK_EXTS=.so.$(SHLIB_MAJOR) .so

 GENERAL=Makefile

and then run:

make clean
make
make install

and it should just work.  I think.  Haven't tried it recently.  :)  Let me
know how it goes.  And if anybody else out there knows something about
this that I'm missing (which is possible), please speak up.  :-]

--Cliff
__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]



can't load /usr/local/apach2/modules/mod_sll.so into server undefined symbol x509_free

2002-08-16 Thread Venkat Reddy Valluri

Hi,
   I installed openssl 0.9.6g engine on redhat 7.3 over which i installed apache 
2.0.39, It seems installation to be successful,
  but when i tried to start apache with sll
./apachecntl startssl
 iam getiing
   can't load /usr/local/apache2/modules/mod_ssl.so into server 
/usr/local/apache2/modules/mod_ssl.so

  Any help greatly apprecitated   

Thks in advance
Venkat
__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]



Re: can't load /usr/local/apach2/modules/mod_sll.so into server undefined symbol x509_free

2002-08-16 Thread R. DuFresne


didyou install openssl with shared libs?  I recall this being a
requirement for the apache 2 code.  Also there is a newer version of
apache available, it is a security update.

Thanks,

Ron DuFresne

On Fri, 16 Aug 2002, Venkat Reddy Valluri wrote:

 Hi,
I installed openssl 0.9.6g engine on redhat 7.3 over which i installed apache 
2.0.39, It seems installation to be successful,
   but when i tried to start apache with sll
 ./apachecntl startssl
  iam getiing
can't load /usr/local/apache2/modules/mod_ssl.so into server 
/usr/local/apache2/modules/mod_ssl.so
 
   Any help greatly apprecitated   
 
 Thks in advance
 Venkat
 

-- 
~~
admin  senior security consultant:  sysinfo.com
http://sysinfo.com

Cutting the space budget really restores my faith in humanity.  It
eliminates dreams, goals, and ideals and lets us get straight to the
business of hate, debauchery, and self-annihilation.
-- Johnny Hart

testing, only testing, and damn good at it too!

__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]



undefined symbol X509_free

2002-06-24 Thread Zac Hillier

Hi,

Have installed apache-2.0.39 with ssl module on redhat 7.3, when trying to
start the server with -D SSL I get an error:

Syntax error line 234 of httpd.conf
Cannot load mod_ssl.so into server : undefined symbol X509_free

When I build apache I used --enable-ssl=shared
and --wth-ssl=/usr/local/openssl

Can anyone suggest what I should do?

Thanks

Zac

__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]



undefined symbol: X509_free

2002-06-15 Thread Zac Hillier

Just recently, eventually got apache 2.0.36 installed with mod_ssl.

Now when I try to start apache with:

httpd -D SSL

I get an error:

Cannot load modules/mod_ssl.so into server : modules/mod_ssl.so:  undefined
symbol : X509_free

Anybody know what this means and how I can resolve it?

Thanks

Zac

__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]



Re: undefined symbol: X509_free

2002-06-15 Thread Cliff Woolley

On Sat, 15 Jun 2002, Zac Hillier wrote:

 Just recently, eventually got apache 2.0.36 installed with mod_ssl.
 Now when I try to start apache with:
 httpd -D SSL
 I get an error:

 Cannot load modules/mod_ssl.so into server : modules/mod_ssl.so:  undefined
 symbol : X509_free

That's a still-outstanding bug in the Apache build process (a linking
problem, specifically).  It's triggered when you build a shared mod_ssl
against a static OpenSSL.  The workaround is to make them match -- I
recommend installing the shared version of OpenSSL (eg, /usr/lib/libssl.so
and /usr/lib/libcrypto.so instead of /usr/lib/libssl.a and
/usr/lib/libcrypto.a... see the mod_ssl install docs for how to accomplish
this), and then recompile mod_ssl.

What's happened in your case right now is that for some reason we're
linking OpenSSL into the httpd binary rather than into the mod_ssl DSO,
and the static linker is therefore throwing away all the symbols we need
because httpd itself doesn't use them.  When we go to dynamically link in
mod_ssl later, OpenSSL's symbols aren't there for us.

--Cliff

__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]