On Saturday 08 August 2009 19:38:42 Charles Howse wrote: > On Aug 8, 2009, at 11:36 AM, Mel Flynn wrote: > > On Saturday 08 August 2009 08:00:47 Charles Howse wrote: > >> Just wondering if anyone has tried updating from mod_security 2.5.9 > >> to > >> 2.5.9_1 via portupgrade. > >> It fails with a "linker error" for me. > > > > And can we see the actual linker error? > > Thought I had included enough in my original post. > Here's the mod_security part of 'portupgrade -a' > > ... > [Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 51 > packages found (-0 +1) . done] > ---> Upgrading 'mod_security-2.5.9' to 'mod_security-2.5.9_1' (www/ > mod_security) > ---> Building '/usr/ports/www/mod_security'
... > checking for libapr config script... /usr/local/bin/apr-1-config > configure: using ' -lcrypt -pthread' for apr Library ^^^^^^^^^^^^^^^^^^ > /usr/local/share/apr/build-1/libtool --silent --mode=link cc -o > mod_security2.la -R/usr/local/lib -L/usr/local/lib -L/usr/local/lib - > L/usr/local/lib -lpcre -lxml2 -lz -liconv -lm -rpath /usr/local/ > libexec/apache22 -module -avoid-version msc_release.lo msc_lua.lo > acmp.lo msc_geo.lo pdf_protect.lo msc_reqbody.lo persist_dbm.lo > msc_pcre.lo msc_util.lo msc_parsers.lo modsecurity.lo msc_multipart.lo > msc_xml.lo msc_logging.lo re_variables.lo re_tfns.lo re_actions.lo > re_operators.lo re.lo apache2_util.lo apache2_io.lo apache2_config.lo > mod_security2.lo > # XXX there is "mlogc-static" target in the Makefile, too > cd /usr/ports/www/mod_security/work/modsecurity-apache_2.5.9/apache2 > && /usr/bin/env SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local > LOCALBASE=/usr/local X11BASE=/usr/local MOTIFLIB="-L/usr/local/lib - > lXm -lXp" LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -fno-strict-aliasing - > pipe" CXX="c++" CXXFLAGS="-O2 -fno-strict-aliasing -pipe" MANPREFIX="/ > usr/local" BSD_INSTALL_PROGRAM="install -s -o root -g wheel -m 555" > BSD_INSTALL_SCRIPT="install -o root -g wheel -m 555" > BSD_INSTALL_DATA="install -o root -g wheel -m 444" > BSD_INSTALL_MAN="install -o root -g wheel -m 444" make -f Makefile > mlogc > > Building dynamically linked mlogc... > /usr/local/lib/libapr-1.so: undefined reference to `pthread_yield' > /usr/local/lib/libapr-1.so: undefined reference to > `pthread_attr_destroy' > /usr/local/lib/libapr-1.so: undefined reference to `pthread_create' > /usr/local/lib/libapr-1.so: undefined reference to `pthread_attr_init' > /usr/local/lib/libapr-1.so: undefined reference to `pthread_exit' > /usr/local/lib/libapr-1.so: undefined reference to `pthread_equal' > /usr/local/lib/libapr-1.so: undefined reference to `pthread_detach' > /usr/local/lib/libapr-1.so: undefined reference to > `pthread_attr_setstacksize' > /usr/local/lib/libapr-1.so: undefined reference to > `pthread_attr_getdetachstate' > /usr/local/lib/libapr-1.so: undefined reference to > `pthread_attr_setguardsize' > /usr/local/lib/libapr-1.so: undefined reference to > `pthread_attr_setdetachstate' > /usr/local/lib/libapr-1.so: undefined reference to `pthread_join' > /usr/local/lib/libapr-1.so: undefined reference to > `pthread_cond_timedwait' > *** Error code 1 Apparently -pthread isn't passed here. I've tried to reproduce this, but I can't. Could you show the output of: make -C /usr/ports/www/mod_security actual-package-depends Also the contents of /var/db/ports/apr/options. -- Mel _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"