From owner-freebsd-stable Tue Dec 28 5:48:33 1999 Delivered-To: freebsd-stable@freebsd.org Received: from ns1.aktrad.ru (ns1.aktrad.ru [195.218.140.4]) by hub.freebsd.org (Postfix) with ESMTP id 7A26B14A20 for ; Tue, 28 Dec 1999 05:48:28 -0800 (PST) (envelope-from hook@aktrad.ru) Received: from sloth (sloth.aktrad.ru [195.218.140.13]) by ns1.aktrad.ru (8.9.3/8.9.3) with SMTP id QAA70444 for ; Tue, 28 Dec 1999 16:48:26 +0300 (MSK) Message-ID: <0b1901bf513a$5c8c8810$0d8cdac3@aktrad.ru> From: "Gene Sokolov" To: Subject: Re: -lc vs. -lc_r (building Apache-PHP) Date: Tue, 28 Dec 1999 16:49:28 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG From: Dirk Froemberg > > 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