Hi there,

I'm trying to install the newest clamav (0.90.3) on OpenBSD 3.9 . I updated
the
sources, and managed to compile it . But when i try to install the package i
get this error:

 pkg_add /usr/ports/packages/i386/all/clamav-0.90.3p0.tgz
Can't install /usr/ports/packages/i386/all/clamav-0.90.3p0.tgz: lib not
found idn.16.15
Even by looking in the dependency tree:
        lha-1.14i.ac20050924, unzip-5.52, arc-5.21n, gmp-4.1.4p0,
libiconv-1.9.2p3, bzip2-1.0.3, curl-7.15.3, zoo-2.10.1p0
Maybe it's in a dependent package, but not tagged with @lib ?
(check with pkg_info -K -L)
If you are still running 3.6 packages, update them.

And libidn is installed :
 pkg_info |grep libid
libidn-0.6.1        internationalized string handling

I read here http://www.mail-archive.com/[EMAIL PROTECTED]/msg11199.html
someone
had a similar problem and his solution was to update curl as well , but i
can't
upgrade it because i get another funky error:

/usr/local/bin/libtool  --tag=CC    --mode=link
  -O2 -pipe   -L/usr/local/lib -o curl main.o hugehelp.o urlglob.o
writeout.o writeenv.o getpass.o  homedir.o curlutil.o strtoofft.o strdup.o
../lib/libcurl.la  -lz
mkdir .libs
cc -O2 -pipe -o .libs/curl main.o hugehelp.o urlglob.o writeout.o writeenv.o
getpass.o homedir.o curlutil.o strtoofft.o
strdup.o  -L/usr/local/lib -L../lib/.libs -lcurl -lcrypto -lssl -lidn -licon
v -lz -Wl,-rpath,/usr/local/lib
main.o(.text+0x2ff): In function `file2string':
: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libcurl.so.3.3: warning: sprintf() is often misused, please
use snprintf()
main.o(.text+0x68b1): In function `my_get_line':
: warning: strcat() is almost always misused, please use strlcat()
main.o(.text+0x4752): In function `operate':
: undefined reference to `curl_easy_escape'
collect2: ld returned 1 exit status
*** Error code 1
Stop in /u/system/ports/net/curl/w-curl-7.16.2/curl-7.16.2/src (line 358 of
Makefile).
*** Error code 1
Stop in /u/system/ports/net/curl/w-curl-7.16.2/curl-7.16.2/src (line 279 of
Makefile).
*** Error code 1
Stop in /u/system/ports/net/curl/w-curl-7.16.2/curl-7.16.2 (line 374 of
Makefile).
*** Error code 1
Stop in /u/system/ports/net/curl (line 1924 of
/usr/ports/infrastructure/mk/bsd.port.mk).

I'd appreciate any help on how to continue
Thanks!

Reply via email to