Subject: Re: Apache 2 on VAX
To: John Klos <john@ziaspace.com>
From: Jason Thorpe <thorpej@shagadelic.org>
List: tech-pkg
Date: 12/08/2005 22:17:13
On Dec 8, 2005, at 3:20 PM, John Klos wrote:

> Didn't someone fix this a while ago? VAX running 2.1, latest pkgsrc:

I don't see -lpthread (or -pthread) in the link command...

>
> /bin/sh /usr/pkgsrc/www/apache2/work/httpd-2.0.55/libtool --silent  
> --mode=link cc    -O2 -I/usr/local/include -I/usr/include  -DNETBSD  
> -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/include -I/usr/ 
> include -I/usr/local/include/apr-0 -I/usr/local/include -I. -I/usr/ 
> pkgsrc/www/apache2/work/httpd-2.0.55/os/unix -I/usr/pkgsrc/www/ 
> apache2/work/httpd-2.0.55/server/mpm/prefork -I/usr/pkgsrc/www/ 
> apache2/work/httpd-2.0.55/modules/http -I/usr/pkgsrc/www/apache2/ 
> work/httpd-2.0.55/modules/filters -I/usr/pkgsrc/www/apache2/work/ 
> httpd-2.0.55/modules/proxy -I/usr/pkgsrc/www/apache2/work/ 
> httpd-2.0.55/include -I/usr/pkgsrc/www/apache2/work/httpd-2.0.55/ 
> modules/generators -I/usr/pkgsrc/www/apache2/work/httpd-2.0.55/ 
> server -I/usr/include/openssl -I/usr/pkgsrc/www/apache2/work/ 
> httpd-2.0.55/modules/dav/main -export-dynamic   -L/usr/local/lib - 
> Wl,-R/usr/local/lib -L/usr/lib -Wl,-R/usr/lib -o htpasswd   
> htpasswd.lo   -lz -lssl -lcrypto /usr/pkgsrc/www/apache2/work/ 
> httpd-2.0.55/srclib/pcre/libpcre.la /usr/local/lib/libaprutil-0.la - 
> lexpat /usr/local/lib/libapr-0.la -lm -lcrypt -lresolv
> /usr/pkgsrc/www/apache2/work/.buildlink/lib/libapr-0.so: undefined  
> reference to `pthread_cond_signal'
> /usr/pkgsrc/www/apache2/work/.buildlink/lib/libapr-0.so: undefined  
> reference to `pthread_create'
>
> ...
>
> -- 
> As long as people believe in absurdities they will continue to commit
> atrocities.  -Voltaire

-- thorpej