[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

2.99.45 'configure' problem



Changelog:
        * configure.in, config.h.in:
...
            - Test for  res_init()  instead of  gethostbyname()  to see
              if the system provided libraries are enough, or if more are
              needed (like  -lresolv)


This causes libnsl not to link under Solaris (2.5). At least at me.
My resolver is what came with BIND 4.9.4.

A quick and dirty workaround:

After running 'configure' edit config.status. Replace
s%@LIBSOCKET@%-lsocket%g
with
s%@LIBSOCKET@%-lsocket -lnsl%g

Then run config.status again.

Gabor