httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Schaefer <joe+gm...@sunstarsys.com>
Subject Re: `apr_temp_dir_get' undefined?
Date Mon, 28 Jun 2004 20:29:20 GMT
Brian <brian@photoresearchers.com> writes:

> In an attempt to build libapreq2.so (in both the libapreq2-2.03-dev
> and libapreq2-2.04-dev releases) on RedHat linux, I'm getting errors
> about an undefined reference to `apr_temp_dir_get'.  The initial
> `make' runs fine, but a `make test' yields the following:
> 
> make[2]: Entering directory `/path/to/libapreq2-2.0[34]-dev/env'
> /bin/sh ../libtool --mode=link gcc  -g -O2   -o test_cgi  test_cgi.o
> ../src/libapreq2.la  /usr/lib/libapr-0.la  -lrt -lm -lcrypt -lnsl  -ldl
> /usr/lib/libaprutil-0.la  -ldb -lexpat
> gcc -g -O2 -o .libs/test_cgi test_cgi.o  ../src/.libs/libapreq2.so
> /usr/lib/libaprutil-0.so /usr/lib/libapr-0.so -lrt -lm -lcrypt -lnsl -ldl
> -lpthread -ldb /usr/lib/libexpat.so -Wl,--rpath -Wl,/etc/httpd/lib
> ../src/.libs/libapreq2.so: undefined reference to `apr_temp_dir_get'
> collect2: ld returned 1 exit status
> make[2]: *** [test_cgi] Error 1

Your apr lib is too old- you need apr version 0.9.4.  Our prereq
checks should have detected this problem during "./configure ...".

-- 
Joe Schaefer


Mime
View raw message