Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Ubuntu 12.0.4 httpd-2.2.22.tar

Having following error when building.

Error 1 (when compiling):

#./configure --prefix=/usr/local/apacheHttpServer3 --enable-modules=proxy
#make install -lrt -lcrypt -lpthread -ldl
libtool: link: cannot find the library `/root/Downloads/httpd-2.2.22/srclib/apr-util/xml/expat/' or unhandled argument `/root/Downloads/httpd-2.2.22/srclib/apr-util/xml/expat/'
make[2]: *** [] Error 1
make[2]: Leaving directory `/root/Downloads/httpd-2.2.22/srclib/apr-util'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/root/Downloads/httpd-2.2.22/srclib'
make: *** [install-recursive] Error 1

Is there a compact solution for this different from what I have answer as follow.

Solution 1:

cd Downloads/httpd-2.2.22/srclib/apr-util/xml/expat/
cp /usr/lib/

Error 2 (when running): braries: cannot open share Solution:

ln -s  /usr/lib/

this command should be executed each time when starting and stopping server.

share|improve this question

migrated from Sep 19 '12 at 22:11

This question came from our site for professional and enthusiast programmers.

up vote 0 down vote accepted

This might not answer your question, but why are you building version 2.2.22 from source? The package from ubuntu is the same version. Just run:

sudo apt-get install apache2
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.