cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: 7.0.11beta - missing case insensitive compares

From: Rich Gray <RichGray_at_PlusTechnologies.com>
Date: Wed, 2 Aug 2000 09:00:18 -0400

I wrote:
> > Curiously:
> >
> > 5K>nm libresolv.so | grep cmp
> > [88] | 30656| 132|FUNC |WEAK |0 |11 |strcasecmp
> >
> > I wonder why this was not detected?
>

Danial astutely comments:
> Guessing from the other problems on that system: does it
> require some other
> lib together with libresolv to work?

DOH!!! [SMACKS FORHEAD!!!]

That's it.

I was thinking there's no way that strcasecmp can need anything else,
forgetting:

Undefined first referenced
 symbol in file
t_rcvuderr /usr/lib/libresolv.so
t_open /usr/lib/libresolv.so
t_error /usr/lib/libresolv.so
t_errno /usr/lib/libresolv.so
t_snd /usr/lib/libresolv.so
t_close /usr/lib/libresolv.so
inet_ntoa /usr/lib/libresolv.so
gethostname /usr/lib/libresolv.so
t_rcv /usr/lib/libresolv.so
t_bind /usr/lib/libresolv.so
t_connect /usr/lib/libresolv.so
getdomainname /usr/lib/libresolv.so
t_sndudata /usr/lib/libresolv.so
t_rcvudata /usr/lib/libresolv.so

This one too needs -lnsl in addition to -lresolv. Probably SCO openserver
too.

Rich
Received on 2000-08-02