Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Dec 1999 15:30:08 -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:  <199912272030.PAA76727@rtfm.newton>
In-Reply-To: <Pine.BSF.4.02A.9912271136420.6973-100000@shell.uniserve.ca> from Tom at "Dec 27, 1999 11:37:41 am"

next in thread | previous in thread | raw e-mail | index | archive | help
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...

	-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?199912272030.PAA76727>