Fixing -pthreads (Re: ports and -current)
Daniel Eischen
eischen at vigrid.com
Wed Sep 24 12:19:45 PDT 2003
On Wed, 24 Sep 2003, Matthew N. Dodd wrote:
> On Wed, 24 Sep 2003, Daniel Eischen wrote:
> > It isn't clear that libmap can deal with libraries that are
> > linked to one specific threads library, and how libmap'd
> > applications work. If mplayer is libmap'd to libthr,
> > ogle is libmap'd to libpthread, and both are linked to
> > libGL which is linked to libc_r, what happens?
>
> This is why its important to use the same name for the threading library
> and never link directly with libkse, libthr, libc_r etc. Make libpthread
> a symlink, please.
Eek, no. Libpthread is libpthread, libthr is libthr, etc. A
symlink doesn't help you anyways because the library/application
becomes dependent on the thing it is symlink'd to, not the
symlink.
--
Dan Eischen
More information about the freebsd-current
mailing list