From owner-freebsd-questions Fri Jan 19 18:59:56 2001 Delivered-To: freebsd-questions@freebsd.org Received: from thelab.hub.org (SHW2-220.accesscable.net [24.71.145.220]) by hub.freebsd.org (Postfix) with ESMTP id 2E5C937B401 for ; Fri, 19 Jan 2001 18:59:38 -0800 (PST) Received: from localhost (scrappy@localhost) by thelab.hub.org (8.11.1/8.11.1) with ESMTP id f0K2veN08643; Fri, 19 Jan 2001 22:57:40 -0400 (AST) (envelope-from scrappy@hub.org) X-Authentication-Warning: thelab.hub.org: scrappy owned process doing -bs Date: Fri, 19 Jan 2001 22:57:40 -0400 (AST) From: The Hermit Hacker To: Cc: Subject: fastresolve 2.8 with DB_File / Berkeley DB3 ... Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Morning ... I just installed fastresolve 2.8 under FreeBSD, and altho dns-terror is writing out the db files properly (or appears to), none of the perl utilities appear to be able to read them in ... hub# file ip2host.db ip2host.db: Berkeley DB (Btree, version 8, native byte-order) hub# file /usr/local/bin/dns-terror /usr/local/bin/dns-terror: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamically linked (uses shared libs), not stripped hub# ldd !$ ldd /usr/local/bin/dns-terror /usr/local/bin/dns-terror: libadns.so.1 => /usr/local/lib/libadns.so.1 (0x4806b000) libz.so.2 => /usr/lib/libz.so.2 (0x4807b000) libdb3.so => /usr/local/lib/libdb3.so (0x48088000) libdb_cxx3.so => /usr/local/lib/libdb_cxx3.so (0x480f2000) libstdc++.so.3 => /usr/lib/libstdc++.so.3 (0x4816b000) libm.so.2 => /usr/lib/libm.so.2 (0x481b1000) libc.so.4 => /usr/lib/libc.so.4 (0x481cd000) hub# yet: hub# !get getdominfo -i ip2host.db Can't tie to ip2host.db: Inappropriate file type or format hub# since getdominfo is a perl script, I'm suspecting DB_File is where the problem is, but, without recompiling perl, I'm wonderin gif maybe there is some other way around this? Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy Systems Administrator @ hub.org primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message