Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Dec 1999 16:49:28 +0300
From:      "Gene Sokolov" <hook@aktrad.ru>
To:        <freebsd-stable@freebsd.org>
Subject:   Re: -lc vs. -lc_r (building Apache-PHP)
Message-ID:  <0b1901bf513a$5c8c8810$0d8cdac3@aktrad.ru>

next in thread | raw e-mail | index | archive | help
From: Dirk Froemberg <dirk@freebsd.org>
> > Tom once stated:
> > => => What's the magic and why doesn't the port know it? Why is -lc even
> > => => in play if  some of the components  (-lmysqlclient) require -lc_r?
> > => => Yours,
> > => =
> > => =  libmysqlclient does  not require  -lc_r, because the  library does
> > => =not use threads. Only mysqld is threaded.
> > =>
> > => Thank you,  Tom, for this  correction. However, this does  not change
> > => much. Some other extension wants threads then...
> > =
> > =  Uhh.. highly unlikely. Almost none of PHP3 is thread-safe, and only a
> > =bit of Apache  is thread-safe. I doubt that anything  in the Apache-PHP
> > =port wants or needs threads.
> >
> > I did not put it in there myself  :) At least one of the many extensions
> > selected (I included  the Makefile.inc with my  original report) dragged
> > the c_r with it...
>
> It's the mhash option causing the problem. I disabled it for now.
>
> Basically the mhash port doesn't seem to be able to deal with
> FreeBSD's -pthread. I'll look at it to see whether the problem can
> be easily be solved.

By the way, is there a particular reason why the PHP port does not support
Sybase/FreeTDS option? The PHP itself supports it.

Gene Sokolov.




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0b1901bf513a$5c8c8810$0d8cdac3>