LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-27-2006, 10:05 AM   #1
anubis26
Member
 
Registered: Jan 2005
Location: Somewhere in the Central Timezone
Distribution: Suse 10.0
Posts: 128

Rep: Reputation: 15
Exclamation Apache 2 with ssl and php will not install


Hi
I am installing php5, mysql, openssl, and apache2, and I am following the instructions out of the book 'PHP and MySQL Web Development'. After successfully installing all but apache, I ran ./configure for apache (with a few other options). It finished successfully, but make can't find a library, which exists. Below is the last few lines of output from make and an ls command I executed.

EDIT: Here is the command I ran to configure (taken out of the book)
SSL_BASE=../openssl-0.9.7d ./configure --enable-ssl --enable-module=src/modules/php5/libphp5.a --prefix=/usr/local/apache2 --enable-shared=ssl
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
mod_env.la modules/metadata/libmod_setenvif.la modules/ssl/libmod_ssl.la modules/http/libmod_http.la modules/http/libmod_mime.la modules/generators/libmod_status.la modules/generators/libmod_autoindex.la modules/generators/libmod_asis.la modules/generators/libmod_cgi.la modules/mappers/libmod_negotiation.la modules/mappers/libmod_dir.la modules/mappers/libmod_actions.la modules/mappers/libmod_userdir.la modules/mappers/libmod_alias.la modules/mappers/libmod_so.la server/mpm/prefork/libprefork.la os/unix/libos.la -lm /home/mike/files/httpd-2.2.0/srclib/pcre/libpcre.la /home/mike/files/httpd-2.2.0/srclib/apr-util/libaprutil-1.la -lexpat /home/mike/files/httpd-2.2.0/srclib/apr/libapr-1.la -lrt -lcrypt -lpthread -ldl
libtool: link: cannot find the library `/home/mike/httpd-2.2.0/srclib/apr/libapr-1.la'
make[1]: *** [httpd] Error 1
make[1]: Leaving directory `/home/mike/files/httpd-2.2.0'
make: *** [all-recursive] Error 1
linux:/home/mike/files/httpd-2.2.0 # ls /home/mike/files/httpd-2.2.0/srclib/apr
. apr.pc config.layout emacs-mode libapr.dsp Makefile passwd tables
.. apr.pc.in config.log exports.c libaprnw.mcp.zip Makefile.in poll test
apr-1-config atomic config.nice export_vars.c libapr.rc memory random threadproc
apr-config.in build config.status file_io .libs misc README.dev time
apr-config.out buildconf configure helpers libtool mmap renames_pending user
apr.dsp build.conf configure.in images LICENSE network_io shmem
apr.dsw build-outputs.mk docs include locks NOTICE strings
apr.exp CHANGES dso libapr-1.la .make.dirs NWGNUmakefile support
linux:/home/mike/files/httpd-2.2.0 #

Last edited by anubis26; 03-27-2006 at 10:10 AM.
 
Old 03-28-2006, 08:43 PM   #2
nguyennh
Member
 
Registered: Feb 2006
Location: Vietnam
Distribution: FC , RH , SuSE
Posts: 106

Rep: Reputation: 15
Hi anubis ,
I configured httpd2 from tarball source like :
$ ./configure --prefix=/home/mike/files/httpd-2.2.0 --enable-so --enable-ssl --with-mpm=prefork --enable-modules=all --enable-mods-shared=all --enable-deflate

And then I built httpd supported ssl , php successfully .

Give configure above a chance ?
 
Old 04-26-2006, 01:54 PM   #3
m2azer
Member
 
Registered: Sep 2004
Location: USA
Distribution: red hat, fedora & centos
Posts: 202

Rep: Reputation: 30
did you use:
MAKE THEN MAKE INSTALL
OR DID YOU USE
MAKE THEN CHECKINSTALL TO CREATE RPM PACKAGE OF HTTPD. BECAUSE I AM GETTING THE SAME ERROR MESSAGE EVERYTIME I TRY TO USE CHECKINTALL
 
Old 04-26-2006, 05:39 PM   #4
tomdkat
Member
 
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595

Rep: Reputation: 30
I've never used "checkinstall". Have you tried installing what you built anyway and see what happens? Proceed with "make install" and see what happens when you fire up Apache.

Personally, I prefer using DSO (dynamic shared objects) for Apache than compiling stuff into Apache, as you appear to be doing.

Peace...
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Apache 2.2 and PHP 5.x without ssl nitaish Red Hat 1 01-18-2007 09:05 PM
Apache-SSL with PHP problem AnRkey Debian 1 12-30-2005 01:02 AM
Apache + SSL + PHP + Mysql rjbandura Linux - Software 5 07-01-2004 01:31 PM
Problem with apache SSL and PHP Donboy Linux - Software 3 10-30-2003 01:08 PM
Apache Jail with SSL, PHP and MySQL dai Linux - Security 3 07-05-2003 07:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:54 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration