Jump to content

Recommended Posts

Hi! I'm running FC7 on my PC and I'm trying to install apache. When I try to use yum (Fedora's package manager) to install it, apache segfaults, so I've resigned myself to install it from source.  However, I'm getting this error during compilation:

 

Making all in support
make[1]: Entering directory `/home/erin/downloads/httpd-2.2.6/support'
make[2]: Entering directory `/home/erin/downloads/httpd-2.2.6/support'
/usr/lib/apr-1/build/libtool --silent --mode=link gcc -pthread        -o htpasswd  htpasswd.lo   -lm /home/erin/downloads/httpd-2.2.6/srclib/pcre/libpcre.la /usr/lib/libaprutil-1.la -lldap -llber -ldb -lexpat /usr/lib/libapr-1.la -lpthread -ldl
/usr/bin/ld: cannot find -ldb
collect2: ld returned 1 exit status
make[2]: *** [htpasswd] Error 1
make[2]: Leaving directory `/home/erin/downloads/httpd-2.2.6/support'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/erin/downloads/httpd-2.2.6/support'
make: *** [all-recursive] Error 1

 

Any insight would be greatly appreciated!  I found some references to this error on Google, but couldn't find a solution that applied in my case.

Link to comment
https://forums.phpfreaks.com/topic/71568-help-compiling-apache/
Share on other sites

I know this isn't the advice you're after, but if I had a segfault doing a default Apache install I wouldn't use that distro (unless the devs had announced that it is a bug and will be fixed). 

 

I take it that because you're only at the point of installing Apache you haven't got very far.  Try Debain or if you're not comfortable try Ubuntu Server (which has a LAMP server install option).

Link to comment
https://forums.phpfreaks.com/topic/71568-help-compiling-apache/#findComment-362158
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.