Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Dec 1999 13:52:59 -0500 (EST)
From:      Mikhail Teterin <mi@kot.ne.mediaone.net>
To:        stable@freebsd.org, ports@freebsd.org
Subject:   Re: -lc vs. -lc_r (building Apache-PHP)
Message-ID:  <199912271852.NAA75978@rtfm.newton>
In-Reply-To: <Pine.BSF.4.02A.9912271029520.6249-200000@shell.uniserve.ca> from Tom at "Dec 27, 1999 10:31:44 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Tom once stated:

=On Mon, 27 Dec 1999, Mikhail Teterin wrote:
=
=...
=> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912271852.NAA75978>