I changed the command a little (nm in openbsd does not support the
dynamic parameter and the libraries are in /usr/lib and some
in /usr/local/lib):
# grep strcasestr /usr/include/*
/usr/include/string.h:char *strcasestr(const char *, const char *);
# nm /usr/lib/libc* | grep strcasestr
/usr/lib/libc.a:strcasestr.o:
00000000 T strcasestr
00000000 F strcasestr.c
000160ec T strcasestr
00000000 F strcasestr.c
/usr/lib/libc_p.a:strcasestr.po:
00000000 T strcasestr
00000000 F strcasestr.c
/usr/lib/libc_pic.a:strcasestr.so:
00000000 T strcasestr
00000000 F strcasestr.c
# nm /usr/local/lib/libc* | grep strcasestr
nm: /usr/local/lib/libcharset.la: not object file or archive
nm: /usr/local/lib/libclamav.la: not object file or archive
nm: /usr/local/lib/libclamunrar.la: not object file or archive
nm: /usr/local/lib/libclamunrar_iface.la: not object file or archive
U Curl_strcasestr
00000044 T Curl_strcasestr
nm: /usr/local/lib/libcurl.la: not object file or archive
00022478 T Curl_strcasestr
Best regards,
Stan
On Tue, 2008-09-16 at 12:13 +0300, Török Edwin wrote:
> On 2008-09-16 11:49, S.Madge wrote:
> > /* Define to 1 if you have the `strcasestr' function. */
> > #define HAVE_STRCASESTR 1
> >
>
> According to this you have strcasestr.
>
> What does the following output:
> $ grep strcasestr /usr/include/*
> $ nm -D /lib/libc* | grep strcasestr
>
> Best regards,
> --Edwin
> _______________________________________________
> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> http://www.clamav.net/support/ml
>
>
--
Met vriendelijke groeten,
Stanford Madge
Nederlands Forensisch Instituut - Digitale Technologie en Biometrie
T +31(0)70 888 6 519
F +31(0)70 888 6 559
E [EMAIL PROTECTED] / [EMAIL PROTECTED]
PGP: http://www.holmes.nl/S.M.Madge.asc
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml