dynamic mod_shib
Clausen, Jörn
joern.clausen at uni-bielefeld.de
Wed Oct 23 10:45:03 EDT 2019
Am 23.10.2019 um 15:16 schrieb Cantor, Scott:
> Your Apache is probably broken and passing bad flags via apxs to the build.
config.log shows only these results from calling apxs:
APXS24='/usr/pkg/bin/apxs'
APXS24_CFLAGS='-I/usr/pkg/include/apr-1 -I/usr/pkg/include
-I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/apr-1 -I/us
r/pkg/include -I/usr/include -pthread -DNETBSD
-I/usr/pkg/include/apr-1 -I/usr/pkg/include/apr-1 '
APXS24_INCLUDE='/usr/pkg/include/httpd'
I don't see any linker flags generated by apxs. And as far as I can
tell, no output of apxs ends up in postdeps_CXX.
And this here looks unsuspicious as well:
$ apxs -c mod_foo.c
/usr/pkg/libexec/apr/libtool --silent --mode=compile gcc -prefer-pic -O2
-D_FORTIFY_SOURCE=2 -I/usr/pkg/include/apr-1 -I/usr/pkg/include
-I/usr/include -DNETBSD -pthread -I/usr/pkg/include/httpd
-I/usr/pkg/include/apr-1 -I/usr/pkg/include/apr-1 -c -o mod_foo.lo
mod_foo.c && touch mod_foo.slo
/usr/pkg/libexec/apr/libtool --silent --mode=link gcc -L/usr/pkg/lib
-Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o mod_foo.la -rpath
/usr/pkg/lib/httpd -module -avoid-version mod_foo.lo
I don't think that apxs generates the -lgcc linker flags.
--
Jörn Clausen
Plattformen & Serverdienste
BITS - Bielefelder IT-Servicezentrum
https://www.uni-bielefeld.de/bits
More information about the users
mailing list