From owner-freebsd-questions Thu Sep 28 2:32:35 2000 Delivered-To: freebsd-questions@freebsd.org Received: from osiris.ipform.ru (osiris.ipform.ru [212.158.165.98]) by hub.freebsd.org (Postfix) with ESMTP id 3466437B423 for ; Thu, 28 Sep 2000 02:32:11 -0700 (PDT) Received: from wp2 (wp2 [192.168.0.12]) by osiris.ipform.ru (8.11.0/8.11.0) with SMTP id e8S9VnR12870 for ; Thu, 28 Sep 2000 13:31:53 +0400 (MSD) (envelope-from matrix@ipform.ru) Message-ID: <029a01c0292e$efbab900$0c00a8c0@ipform.ru> From: "Artem Koutchine" To: Subject: Berkeley DB Date: Thu, 28 Sep 2000 13:31:46 +0400 Organization: IP Form MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have a wird problem with Berkley DB and i think it is releated to FreeBSD. So, I have DB_File perl module which uses DB. One script creates DB and another read it. Everything fine, until that file is not created on Linux machine. If DB file is created on the linux machine it cannot be read by the script on FreeBSD. I thought that version were incompatible and desided to figure out what version i have and it fugures i cannot tell easily, because there is no libdb files at all. So, i said, heck with it, and install 2.7.7 from the ports and the newest availabe DB_File.pm from CPAN. Now, when i do perl Makefile.PL it says that it cannot find library for -ldb option. But still, it builds and tests, but still the same problem: files create on linux (bdb 2.7.0 and libdb present, slakware) cannot be read on FreeBSD. I think this is because BDB is statically link to some other library and that version of BDB is old. I tried ln -s libdb2.a libdb.a - didn't help. What's the deal with BDB? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message