FreeBSD lang/ruby18 pthread question

Josh Paetzel josh at tcbug.org
Thu Dec 28 10:30:31 PST 2006


I originally sent this email to the ruby maintainer but haven't gotten 
a response so maybe someone else can enlighten me as to what is going 
on here.

If I install lang/ruby18 with the pthread option turned off (which is
the default) I get:

# ruby -rrbconfig -e 'puts Config::CONFIG["LIBS"]'
-lcrypt -lm  -rpath=/usr/lib:/usr/local/lib -pthread

If I turn pthreads on I get:
# ruby -rrbconfig -e 'puts Config::CONFIG["LIBS"]'
-pthread -lcrypt -lm  -rpath=/usr/lib:/usr/local/lib -pthread

Either way it looks like I get pthread support, unless I am
interpreting the output wrong.

Any thoughts on this?

-- 
Thanks,

Josh Paetzel


More information about the freebsd-ports mailing list