Subject: Re: when should mk/dlopen.buildlink3.mk be used? and chat/gaim
To: Jeremy C. Reed <reed@reedmedia.net>
From: Todd Vierling <tv@duh.org>
List: tech-pkg
Date: 08/13/2005 17:15:28
On Sat, 13 Aug 2005, Jeremy C. Reed wrote:
> mk/dlopen.buildlink3.mk is not covered in the pkgsrc guide.
>
> When should it be used?
Whenever dlopen is used in the package. For instance, packages that use
devel/libltdl (a dlopen abstraction layer) indirectly include
dlopen.buildlink3.mk also.
> /usr/lib/silc/libsilc.so: undefined reference to `dlerror'
> /usr/lib/silc/libsilc.so: undefined reference to `dlclose'
> /usr/lib/silc/libsilc.so: undefined reference to `dlopen'
> /usr/lib/silc/libsilc.so: undefined reference to `dlsym'
Then yes, dlopen.buildlink3.mk is needed. It's a no-op on platforms with
dlopen in libc -- such as NetBSD.
--
-- Todd Vierling <tv@duh.org> <tv@pobox.com> <todd@vierling.name>