pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/30666: net/bind9 libbind.so needs librt for clock_gettime() on Solaris



On Tue, Jul 05, 2005 at 07:12:01AM +0000, grant%NetBSD.org@localhost wrote:

> System: SunOS sunburst 5.8 Generic_108528-13 sun4u sparc SUNW,Sun-Blade-1000
> Architecture: sparc
> Machine: sun4u
> >Description:
> libbind.so 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 libbind.so (like mail/libspf-alt does)
> >Fix:
> link libbind.so 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
choice.




Home | Main Index | Thread Index | Old Index