Thanks for your time, Rich. The undefined symbol missing has to do with Posix Threads, not with zlib. Anyway, I installed Apache 1.3.24 and everything is OK now. I think it's because Apache 2 uses threads much more intenselly than older versions, and, as long as I know, Posix Threads are std only in API, not in implementation, and FreeBSD doesn't support then at kernel level...
That's it. Cheers, Wagner. PS: thanks for the link. Very useful and probably will avoid some postings from me in the future ;-) > -----Original Message----- > From: Richard Anglin [mailto:[EMAIL PROTECTED]] > Sent: segunda-feira, 20 de maio de 2002 20:57 > To: Wagner R. Teixeira; [EMAIL PROTECTED] > Subject: Re: [PHP-INST] PHP, Apache and threads: very strange > > > download zlib, install and recompile: > > http://www.faqts.com/knowledge_base/view.phtml/aid/5087 > > -regards > > Rich > ----- Original Message ----- > From: "Wagner R. Teixeira" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, May 20, 2002 4:08 PM > Subject: [PHP-INST] PHP, Apache and threads: very strange > > > > Hi, guys. > > > > I'm installing PHP 4.2.1 with Apache 2.0.36. I can compile both the way > I've > > been doing for years, but this time when I start Apache I get the > following > > error message: > > > > ================== > > Syntax error on line 230 of /usr/local/apache2/conf/httpd.conf: > > Cannot load /usr/local/apache2/modules/libphp4.so into server: > > /usr/local/apache2/modules/libphp4.so: Undefined symbol > > "pthread_getspecific" > > /apache/bin/apachectl start: httpd could not be started > > ================== > > > > httpd.conf, line 230 (automatically inserted during PHP build) is: > > LoadModule php4_module modules/libphp4.so > > > > PHP Configure command is: > > > ./configure --with-apxs2=/usr/local/apache2/bin/apxs > --enable-dbase --enable > > -ftp --with-mysql=/usr/local/mysql > --with-pgsql=/usr/local/pgsql --enable- > tr > > > ans-sid --enable-sysvsem --enable-sysvshm --enable-wddx > --enable-debug=no -- > > enable-safe-mode --with-imap=/usr/local/src/imap/client/imap-4.5 > > > > Apache Configure command is: > > > ./configure --enable-module=so --enable-module=unique_id > --with-perl=/usr/bi > > n/perl > > > > The OS is: FreeBSD 4.5-RELEASE > > > > Could anybody help me? > > > > Thanks in advance. > > Wagner. > > --- > > Outgoing mail is certified Virus Free. > > Checked by AVG anti-virus system (http://www.grisoft.com). > > Version: 6.0.361 / Virus Database: 199 - Release Date: 07/05/02 > > > > > > -- > > PHP Install Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > > > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.361 / Virus Database: 199 - Release Date: 07/05/02 > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.361 / Virus Database: 199 - Release Date: 07/05/02 -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php