httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James <>
Subject Re: [users@httpd] undefined reference to "apr_file_link"
Date Fri, 16 Mar 2012 00:04:01 GMT
I've had to do the same thing when compiling under RHEL 5.7 64 bit. Im just verifying that
the mentioned solution worked for me.
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

Tianyin Xu <> 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:

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.


On Thu, Mar 15, 2012 at 9:01 AM, Aubrey Li <> 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/ -lexpat
/usr/local/apr/lib/ -lrt -lcrypt -lpthread
rotatelogs.o: In function `post_rotate':
undefined reference to `apr_file_link'

I'm using:


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

Any help are highly appreciated!


To unsubscribe, e-mail:
For additional commands, e-mail:

Tianyin XU,

View raw message