From: David E. <de...@ar...> - 2002-09-09 19:57:11
|
At 08:01 PM 09/09/02 +0100, Peter Burgess wrote: >I was wondering if anyone can point out what I am >doing wrong, I am compiling a cobol program (ex >HP3000) which has file i/o, so I have berkleys db >Library installed versions 2.? and 3.? , but I get the >following error message:- > >$ htcobol pay2.cob > ... ld: cannot find -ldb >collect2: ld returned 1 exit status > >I am working via cygwin and understand I need to >change the libraries to point to ldb2 or ldb3 , the >only problem is I cannot find them on my system , what >could be the possible issue ? Is this called something >else other than ldb2 or ldb3 on cygwin ? AFAIK, Berkeleys DB is not part of the basic Cygwin distribution. You can find version 1.85 binaries for both Cygwin and MinGW on the download TC web pages. The Cygwin version can be installed using the Cygwin 'setup.exe'. Hope this helps. David Essex |