Hello, I'm having difficulty compiling libapreq2 on Fedora Core 14 (also 13, 
but not 12 or older). It configures just fine with this command:

perl Makefile.PL --with-apache2-apxs=/usr/local/apache2/bin/apxs

And yes, Apache is there and works. But when I run make, I get this:

> /usr/bin/ld: test_cgi.o: undefined reference to symbol 'apr_terminate'
> /usr/bin/ld: note: 'apr_terminate' is defined in DSO 
> /usr/local/apache2/lib/libapr-1.so.0 so try adding it to the linker command 
> line
> /usr/local/apache2/lib/libapr-1.so.0: could not read symbols: Invalid 
> operation
> collect2: ld returned 1 exit status
> make[2]: *** [test_cgi] Error 1
> make[2]: Leaving directory `/home/paul/src/web/libapreq2-2.12/module'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/paul/src/web/libapreq2-2.12/module'
> make: *** [all-recursive] Error 1
> 

I'm aware that this error is related to this change to Fedora:

http://docs.fedoraproject.org/en-US/Fedora/13/html/Release_Notes/sect-Release_Notes-The_GCC_Compiler_Collection.html

However, I do not know how to fix it. Has anyone else determined how to solve 
this problem? Are there plans to update libapreq2 to address this change in 
Fedora?

Thanks for any assistance.
-Paul

Reply via email to