On 2008-09-16 12:55, S.Madge wrote:
> 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
According to this it should be there.
FWIW I can compile clamav just fine on OpenBSD 4.3.
Can you compile and run the program below:
$ cat <<EOF >foo.c
#include <string.h>
#include <stdio.h>
int main()
{
puts(strcasestr("testStrCASeSTR","strcasestr"));
}
EOF
$ gcc -o foo foo.c && ./foo
Best regards,
--Edwin
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml