On 2001-06-06 12:47 +0200, Jan Prikryl wrote:
> > Jan Prikryl <[EMAIL PROTECTED]> writes:
> > 
> > > It seems that -lsocket is not found as it requires -lnsl for
> > > linking. -lnsl is not detected as it does not contain
> > > `gethostbyname()' function.
> > 
> > That's weird.  What does libnsl contain if not gethostbyname()?
> 
> It seems to contain `gethostname()' ... see the config.log submitted
> in one of the previous emails. But it's a very long distance shot: if,
> after adding -lsocket -lnsl everything works correctly and if with
> -lsocket only the linker complains about missing 'yp_*()' functions
> and also missing `gethostname()' and `getdomainname()', I thinks it's
> likely that these functions are defined in -lnsl. Of course, if -lnsl
> has built in dependency on some other library, the situation might be
> completely different.

I've put the output of nm for libsocket and libnsl at

  http://www.teaser.fr/~amajorel/mpras/libnsl.so.nm.gz
  http://www.teaser.fr/~amajorel/mpras/libsocket.so.nm.gz

-- 
André Majorel
Work: <[EMAIL PROTECTED]>
Home: <[EMAIL PROTECTED]> http://www.teaser.fr/~amajorel/

Reply via email to