From owner-freebsd-questions Sun Aug 24 05:10:14 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id FAA29439 for questions-outgoing; Sun, 24 Aug 1997 05:10:14 -0700 (PDT) Received: from sunsrv5.lrz-muenchen.de (sunsrv5.lrz-muenchen.de [129.187.10.15]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id FAA29432 for ; Sun, 24 Aug 1997 05:10:08 -0700 (PDT) Received: from dial131.lrz-muenchen.de by sunsrv5.lrz-muenchen.de; Sun, 24 Aug 97 14:10:06 +0200 From: Joachim.Wunder@lrz-muenchen.de (Joachim Wunder) To: questions@freebsd.org Subject: NDBM incompatibilities between Perl 5.004 and C - Help! Date: Sun, 24 Aug 1997 12:10:00 GMT Organization: Leibniz-Rechenzentrum, Muenchen (Germany) Reply-To: Joachim.Wunder@lrz-muenchen.de Message-ID: <34002386.31531886@mailhost.lrz-muenchen.de> X-Mailer: Forte Agent .99e/32.227 Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi! First of all I thought this is a Perl problem, so I consulted the appripriate newsgroups. But people told me that this has to be a FreeBSD problem: I installed Perl 5.004 out of the ports section and am trying to create a NDBM database (read/write) which I wanna read under C afterwards. The problem: Perl creates it like `test.db´ (1 File) and C with #include expects it to be in 2 Files, like `test.pag´ and `test.dir´. People are telling me that I need re-install Perl so that both Perl and C will use the same system call. They claim that both NDBMs are for sure compatible! Please, I have FreeBSD 2.2.1, could anyone enlighten me? I am working on a bigger project with it (diploma thesis), and I am stuck in the middle. :( Thanks for ANY hint, Joachim -- Email: Joachim.Wunder@LRZ-Muenchen.DE