Thanks, this one works! On Fri, Mar 16, 2012 at 7:54 AM, Tianyin Xu <tixu@xxxxxxxxxxx> wrote: > hmmm... this problem can be probably solve by put the newest apr and > apr-util libs in your source code directory, and then build your httpd based > on them. > > Try this: > > Download the apr and apr-util from the > link: http://apr.apache.org/download.cgi > > 1. untar these two tarballs and put them into the srclib directory > > 2. rename the directory to apr and apr-util without the version number > > 3. using ./configure --with-included-apr and build it. > > Hope it works. > > T > > On Thu, Mar 15, 2012 at 9:01 AM, Aubrey Li <aubreylee@xxxxxxxxx> wrote: >> >> Sorry to bother if this is a known issue, building httpd-2.4.1 run >> into the following error. >> =================================== >> /usr/local/apr/build-1/libtool --silent --mode=link gcc -std=gnu99 -g >> -O2 -pthread -o rotatelogs rotatelogs.lo >> /usr/local/apr/lib/libaprutil-1.la -lexpat >> /usr/local/apr/lib/libapr-1.la -lrt -lcrypt -lpthread >> rotatelogs.o: In function `post_rotate': >> /export/bench/benchmarks/src/httpd-2.4.1/support/rotatelogs.c:298: >> undefined reference to `apr_file_link' >> =================================== >> >> I'm using: >> >> apr-1.4.6 >> apr-util-1.4.1 >> httpd-2.4.1 >> >> Here is how I configure httpd-2.4.1, /usr/local/apr is where I >> installed the package built by my own. >> ================================== >> ./configure --enable-ssl --enable-so --with-mpm=worker >> --prefix=/export/bench/benchmarks/tmp --with-apr=/usr/local/apr >> -with-apr-util=/usr/local/apr >> >> Any help are highly appreciated! >> >> Thanks, >> -Aubrey >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx >> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx >> > > > > -- > Tianyin XU, > http://cseweb.ucsd.edu/~tixu/ --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx