Subject: Re: pkg/30666: net/bind9 needs librt for clock_gettime() on Solaris
To: None <,,>
From: grant beattie <>
List: pkgsrc-bugs
Date: 07/06/2005 11:54:07
On Tue, Jul 05, 2005 at 07:12:01AM +0000, wrote:

> System: SunOS sunburst 5.8 Generic_108528-13 sun4u sparc SUNW,Sun-Blade-1000
> Architecture: sparc
> Machine: sun4u
> >Description:
> references clock_gettime() but it isn't linked against
> librt so it can't resolve the symbol at runtime.
> >How-To-Repeat:
> attempt to link against (like mail/libspf-alt does)
> >Fix:
> link against librt.

from looking at the bind8 source, on Solaris < 7 the recommendation is
to link against libposix4 (which is a symlink to librt on at least
Solaris 8 and 9). so in the name of portability, libposix4 is a better