LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 09-10-2004, 10:55 AM   #1
vbfischer
Member
 
Registered: Jun 2004
Location: Tampa, FL
Distribution: CentOS 3.x
Posts: 33

Rep: Reputation: 15
Compiling Apache 2.0 with SSL


Having problems compiling Apache 2.0 with SSL. I use the following to configure:

./configure --enable-so --enable-mods-shared=most --enable-ssl --with-ssl=/usr/local/ssl

where /usr/local/ssl is where my openssl.cnf is located.

Configure exits with no errors. When I make, I get the following before it exits with an error:

/usr/local/src/httpd-2.0.50/srclib/apr/libtool --silent --mode=link gcc -g -O2 -pthread -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/src/httpd-2.0.50/srclib/apr/include -I/usr/local/src/httpd-2.0.50/srclib/apr-util/include -I/usr/local/src/httpd-2.0.50/srclib/apr-util/xml/expat/lib -I. -I/usr/local/src/httpd-2.0.50/os/unix -I/usr/local/src/httpd-2.0.50/server/mpm/prefork -I/usr/local/src/httpd-2.0.50/modules/http -I/usr/local/src/httpd-2.0.50/modules/filters -I/usr/local/src/httpd-2.0.50/modules/proxy -I/usr/local/src/httpd-2.0.50/include -I/usr/local/src/httpd-2.0.50/modules/generators -I/usr/local/ssl/include/openssl -I/usr/local/ssl/include -I/usr/local/src/httpd-2.0.50/modules/dav/main -export-dynamic -L/usr/local/src/httpd-2.0.50/srclib/apr-util/xml/expat/lib -L/usr/local/ssl/lib -o dftables -L/usr/local/src/httpd-2.0.50/srclib/apr-util/xml/expat/lib -L/usr/local/ssl/lib dftables.lo -lssl -lcrypto
./dftables > /usr/local/src/httpd-2.0.50/srclib/pcre/chartables.c
./dftables: error while loading shared libraries: libssl.so.0.9.7: cannot open shared object file: No such file or directory


Now, I noted that the output above has "-L/usr/local/ssl/lib". In that folder, libssl.so.0.9.7 does in fact exist there.

Versions:
Fedora Core 1
openssl-0.9.7d
httpd-2.0.50

Any suggestions?

Thanks in advance...
 
Old 09-10-2004, 05:14 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 51
you could try:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/ssl/lib

might help it get over it's confusion
 
Old 09-14-2004, 04:54 PM   #3
vbfischer
Member
 
Registered: Jun 2004
Location: Tampa, FL
Distribution: CentOS 3.x
Posts: 33

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by foo_bar_foo
you could try:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/ssl/lib

might help it get over it's confusion
Thanks. I tried that, and it seemed to compile without complaint...

But it didn't seem to generate a mod_ssl.so.
 
Old 09-15-2004, 03:42 PM   #4
vbfischer
Member
 
Registered: Jun 2004
Location: Tampa, FL
Distribution: CentOS 3.x
Posts: 33

Original Poster
Rep: Reputation: 15
Answering my own question..

I'm such a dumba**. When Ifirst started this, it was installing into /usr/local/apache

Somwhere down the line, I switched to /usr/local/apache2.

I was starting from the original one, which of course, never had ssl compiled...

Fixed now.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache 1.3.33 (debian built) and Apache SSL does not respond to the proper ports lqorg_user Linux - Networking 0 11-06-2005 05:11 PM
compiling apache2 with SSL devfreak Linux - Software 1 05-22-2005 12:18 PM
Problem compiling Apache 2.0.49 + SSL 0.9.7a-20.2 on RedHat 9 Lunitari Linux - Software 4 05-21-2004 10:12 AM
Problem compiling apache 2.0, ssl headers and gcc may be keys. eblakely Red Hat 0 04-16-2004 03:12 PM
Invalid SSL/TLS toolkit base dir error while compiling Apache 2 basse- Linux - Software 2 03-20-2004 01:23 PM


All times are GMT -5. The time now is 03:55 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration