Mel Flynn mel.flynn+fbsd.questions at
Mon Sep 14 23:17:06 UTC 2009

On Tuesday 15 September 2009 00:02:50 Joe R. Jah wrote:
> Hello all,
> I want to install a dispather module from Day Communique software on
> apache22.  The binaray is provided by Day as a 64 bit
> *NIX compatible module to place in apache22 module directory.  The mocule
> requires a shared library missing from system:
> --8<--
> # apachectl -t
> httpd: Syntax error on line 827 of /usr/local/etc/apache22/httpd.conf:
> Cannot load /usr/local/libexec/apache22/ into server:
> Shared object "" not found, required by ""
> --8<--
> Does anyone know where to download, or from what port it can
> be installed?

nsl=name service library. All of it's functions are in FreeBSD implement in 
libc. If this is indeed loadable by FreeBSD's linker, then 
you can provide a dummy, like so:

$ cat <'EOF' >BSDmakefile

.include <>
$ cat <'EOF' >nsl.c
int nsl_dummy(void);

int nsl_dummy(void) { return 0; }

$ make; sudo make LIBDIR=/usr/local/lib install

The symbols it's looking for should be provided by libc, but if there's any 
undefined ones, this trickery gets a little dangerous and you're better off 
asking the developers for a native FreeBSD version.

More information about the freebsd-questions mailing list