I just worked it out, sorry for the noise ! Just had to compile clamav again with the newest curl installed , and the resulting clamav package worked just fine.
----- Original Message ----- From: "Marcos Laufer" <[EMAIL PROTECTED]> To: <misc@openbsd.org> Sent: Thursday, June 28, 2007 4:11 PM Subject: Fw: clamav on 3.9 I'v managed to compile curl (jsut had to remove the old one first) but i still can't install the clamav package , i still get the same error message: test:/usr/ports/security/clamav{95}# 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 curl.3.3 Even by looking in the dependency tree: arc-5.21n, libidn-0.6.1, libiconv-1.9.2p3, bzip2-1.0.3, zoo-2.10.1p0, unzip-5.52, lha-1.14i.ac20050924, gettext-0.14.5p1, expat-1.95.6p1, gmp-4.1.4p0, curl-7.16.2 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. test:/usr/ports/security/clamav{96}# ----- Original Message ----- From: "Marcos Laufer" <[EMAIL PROTECTED]> To: <misc@openbsd.org> Sent: Thursday, June 28, 2007 3:56 PM Subject: clamav on 3.9 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!