libtool not happy building apache modules

Matt Sealey matt at
Thu Jul 20 16:23:29 UTC 2006

===>  Generating apache plist
/usr/local/build-1/libtool --silent --mode=compile cc -prefer-pic -O -pipe -I/usr/local/include/mysql -D_THRE
AD_SAFE  -D_THREAD_SAFE -D_REENTRANT -O -pipe -I/usr/local/include/mysql -D_THREAD_SAFE -g -O2 -pthread -I/us
r/local/include/apache22  -I/usr/local/include/apr-1   -I/usr/local/include/apr-1 -I/usr/local/include/db42 -
I/usr/local/include  -c -o fcgi_buf.lo fcgi_buf.c && touch fcgi_buf.slo
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
apxs:Error: Command failed with rc=65536

I am getting this ALL of the time now. I haven't changed a thing; from what I remember this is libtool
getting confused about my compiler settings and so on, but I have no definitions set for CC, I didn't
change the compiler ever, I just don't understand why it spontaneously broke for everything. Previously
I was having trouble with the mod_python port which did this, but all my other modules worked fine.

Any clues on what I can rebuild/reconfigure in order to get this to work? It's important that we install
some new modules this week.

Matt Sealey <matt at>
Manager, Genesi, Developer Relations

More information about the freebsd-ports mailing list