Jump to content

Help compiling apache


erinspice

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.