Re: [PHP-DEV] Bug #784: stat() bug introduced in 3.0.4? From: russell <email protected>
Date: 09/29/98

On Tue, 29 Sep 1998, Zeev Suraski wrote:

> No, -lpthread in the Makefile is useless. Actually, just for the test,
> make Apache normally, and take a look at its very final linking line. See
> if you can see -lpthread in there. If you can, copy&paste this linking
> line, only remove -lpthread, and test the resulting binary.

Oops - yup, it's there:

gcc -DLINUX=2 -DUSE_HSREGEX -DSERVER_SUBVERSION=\"PHP/3.0.4\" `./apaci` -o
httpd buildmark.o modules.o modules/standard/libstandard.a modules/php3
/libphp3.a main/libmain.a ./os/unix/libos.a ap/libap.a regex/libregex.a
-Lmodules/php3 -L../modules/php3 -L../../modules/php3 -lmodphp3 -lgdbm
-L/usr/local/lib/mysql -lmysqlclient /usr/local/lib/c-client.a -lpthread
-lm -ldl -lresolv -lm

Removing the -lpthread did the trick!!!

Now: Is this something unique to the Slackware 3.5 configuration in some
way, or will there be a way to fix up the configure scripts to be able to
fix this more generally?

---
 Russell McOrmond, Internet Consultant: <http://www.flora.org/russell/work/>
http://www.flora.org/russell/work/open-links.html Y2K,Green,Co-op,Microsoft?
      New Announcements at FLORA soon:  http://www.flora.org/

-- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe <email protected> For help: php-dev-help <email protected>