From owner-freebsd-ports Mon Dec 27 10:53: 5 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 A22831529B; Mon, 27 Dec 1999 10:53:00 -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 NAA54304; Mon, 27 Dec 1999 13:52:59 -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 NAA75978; Mon, 27 Dec 1999 13:52:59 -0500 (EST) (envelope-from mi@kot.ne.mediaone.net) Message-Id: <199912271852.NAA75978@rtfm.newton> Subject: Re: -lc vs. -lc_r (building Apache-PHP) In-Reply-To: from Tom at "Dec 27, 1999 10:31:44 am" To: stable@freebsd.org, ports@freebsd.org Date: Mon, 27 Dec 1999 13:52:59 -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... The two different problems are: . it is possible to mix the -lc_r and -lc without specifying either one explicitly . the Apache port may still fail to build a usable executable because of this Yours, -mi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message