On Thursday, Sep 5, 2002, at 07:32 US/Pacific, Ramprasad A Padmanabhan
wrote:
> Hello All
> I think my question is slightly misplaced in this newsgroup
> I have been using DB_File.pm to read Berkely db files
> Is there a similar library for C ( not C++ )
>
> I have been trying google search but could get one
[..]
you might want to start with
perldoc DB_File
{ this will of course fail on machines that
perl was built without the underlying c code... }
which will point out that this is basically a
wrapper around the Berkley DB C library - at
which point jump into the source code for the
version of perl you are running - and you can
find the DB_File stuff in
ext/DB_File
where if you peek at the Makefile.pl you
will notice that unless you are a MSWin32
that it will use the $LIB set to '-ldb'
which will filter through to the Makefile
itself at compile time...
you will most likely find libdb.* in /usr/lib
or /usr/local/lib if it is there...
you might therefore want to do the
man dbopen
and see if your machine has that vol 3
man page in it...
ciao
drieux
---
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]