INN 2.2.1 compile error

Russ Allbery rra at stanford.edu
Sun Oct 24 21:23:54 UTC 1999


Joe Thompson <joe at orion-com.com> writes:

> Compiling on Linux i386 2.0.34, make aborts with the following error:

> /usr/lib/libdl.a(dlsym.o): In function `doit.2':
> dlsym.o(.text+0x22): undefined reference to `_dl_default_scope'
> dlsym.o(.text+0x4c): undefined reference to `_dl_default_scope'
> make[2]: *** [innd] Error 1
> make[2]: Leaving directory `/home/kensey/inn-2.2.1/innd'
> make[1]: *** [common] Error 1
> make[1]: Leaving directory `/home/kensey/inn-2.2.1'
> make: *** [all] Error 2

> I have libc6 installed; is this a library error on my system (in
> libdl.a) or a source error in dlsym.o? -- Joe

Are you building --with-perl?  The only thing I know of in INN that cares
about libdl is the Perl support, indirectly, to support dynamic loading of
modules.

It's odd that you're linking against /usr/lib/libdl.a, which sounds like a
static library.  On Linux, libdl should be in /lib rather than /usr/lib
and should be dynamic.  In any event, there is no dlsym.o object file in
INN, so that object file is probably coming from the library.

-- 
Russ Allbery (rra at stanford.edu)         <URL:http://www.eyrie.org/~eagle/>


More information about the inn-bugs mailing list