lang/php4-cli build failure
Jens Rehsack
rehsack at liwing.de
Wed Sep 3 09:37:24 PDT 2003
Roman Neuhauser wrote:
> textproc/libxml2-2.5.10 knobs used:
> -DWITH_THREADS -DWITH_SCHEMA
>
> lang/php4-cli-4.3.3 knobs used:
> -DBATCH PHP4_OPTIONS="BCMATH BZIP2 CDB CRACK CTYPE CURL DOMXML DOMXSLT FTP GD GETTEXT ICONV IMAP INIFILE MBSTRING MCRYPT MHASH MIME MYSQL OPENSSL OVERLOAD PCRE POSIX POSTGRESQL SESSION SOCKETS TOKENIZER XML XMLRPC ZIP ZLIB"
>
> lang/php4-cli build fails with
>
> configure:35980: checking for GNU gettext support
> configure:36040: checking for bindtextdomain in -lintl
> configure:36059: cc -o conftest -O2 -pipe -R/usr/local/lib -L/usr/local/lib -L/usr/local/lib conftest.c -lintl -lexslt -lxsltbreakpoint -lxml2 -lxslt -lz -lcurl -lcrack -lbz2 -lz -lssl -lcrypto -lm -lcurl -lz -lssl -lcrypto -lz -lxml2 -lz -liconv -lm 1>&5
> /usr/local/lib/libxml2.so: undefined reference to `pthread_cond_signal'
> /usr/local/lib/libxml2.so: undefined reference to `pthread_getspecific'
> /usr/local/lib/libxml2.so: undefined reference to `pthread_equal'
> /usr/local/lib/libxml2.so: undefined reference to `pthread_once'
> /usr/local/lib/libxml2.so: undefined reference to `pthread_key_create'
> /usr/local/lib/libxml2.so: undefined reference to `pthread_cond_init'
> /usr/local/lib/libxml2.so: undefined reference to `pthread_mutex_unlock'
> /usr/local/lib/libxml2.so: undefined reference to `pthread_self'
> /usr/local/lib/libxml2.so: undefined reference to `pthread_mutex_destroy'
> /usr/local/lib/libxml2.so: undefined reference to `pthread_mutex_lock'
> /usr/local/lib/libxml2.so: undefined reference to `pthread_cond_wait'
> /usr/local/lib/libxml2.so: undefined reference to `pthread_mutex_init'
> /usr/local/lib/libxml2.so: undefined reference to `pthread_setspecific'
>
> provided the above is enough information, what's the quick fix?
>
Add a '-lc_r' to the libraries php is linked against.
Jens
More information about the freebsd-ports
mailing list