i'm seeing bits-n-pieces of what the current "proper" way of compiling and linking an apr based program is. would be very helpful to see the complete steps given the simple program below. or is it already documented somewhere?
i tried the following: CFLAGS=`$APR_CONFIG --cflags --includes` LD_FLAGS=`$APR_CONFIG --libs --ldflags --link-ld`
gcc $CFLAGS $LD_FLAGS -o apr-test apr-test.c
but -laprutil-0 is missing. i add that, then find i also need to add -L/usr/lib -lgdbm -lexpat -ldb
you asked for the flags to link against apr, not to link against apr-util. there's also an apu-config, i imagine you should also be using that.
-garrett
