HEADS UP: libkse -> libpthread switch

Daniel Eischen eischen at vigrid.com
Fri Jan 30 06:38:35 PST 2004

On Fri, 30 Jan 2004, Jacques A. Vidrine wrote:

> On Fri, Jan 30, 2004 at 07:34:02AM -0500, Daniel Eischen wrote:
> >       Until
> > 	the ports system is updated to handle this change, it is
> > 	recommended that folks install an /etc/libmap.conf(5) that
> > 	maps libc_r to libpthread.  
> Why, exactly? (curious)
> IMHO it is unacceptable to require /etc/libmap.conf to exist.  I know
> this is temporary, but I hope it is *really* temporary.

When you start [re]building ports now, they may pick up libpthread
instead of PTHREAD_LIBS (currently -lc_r).  Then you may have
things linked to both libc_r and libpthread, or new applications
may depend on libraries that were linked to libc_r.  You can't
depend on more than one threads library.

I suspect it's going to be a mess for a while, but use of
an appropriate libmap.conf should make things usable again.
After ports catches up to these changes and you rebuild all
your ports with the new threads library, then you'll no
longer need the libmap.conf.  Unless you have nvidia provided

Dan Eischen

More information about the freebsd-current mailing list