From owner-freebsd-ports Mon Dec 27 12:30:29 1999 Delivered-To: freebsd-ports@freebsd.org Received: from kot.ne.mediaone.net (kot.ne.mediaone.net [24.218.15.190]) by hub.freebsd.org (Postfix) with ESMTP id A1A6F14CF4; Mon, 27 Dec 1999 12:30:14 -0800 (PST) (envelope-from mi@kot.ne.mediaone.net) Received: from rtfm.newton (rtfm.newton [10.10.0.1]) by kot.ne.mediaone.net (8.9.3/8.9.1) with ESMTP id PAA54625; Mon, 27 Dec 1999 15:30:09 -0500 (EST) From: Mikhail Teterin X-Relay-IP: 10.10.0.1 Received: (from mi@localhost) by rtfm.newton (8.9.3/8.9.3) id PAA76727; Mon, 27 Dec 1999 15:30:08 -0500 (EST) (envelope-from mi@kot.ne.mediaone.net) Message-Id: <199912272030.PAA76727@rtfm.newton> Subject: Re: -lc vs. -lc_r (building Apache-PHP) In-Reply-To: from Tom at "Dec 27, 1999 11:37:41 am" To: stable@freebsd.org, ports@freebsd.org Date: Mon, 27 Dec 1999 15:30:08 -0500 (EST) X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7w hJ5G_<5143Bb3kOIs9XpX+"V+~$adGP:J|SLieM31VIhqXeLBli" => 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... -mi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message