delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/02/04:07:29

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3F7BDC8E.3040706@lapo.it>
Date: Thu, 02 Oct 2003 10:06:38 +0200
From: Lapo Luchini <lapo AT lapo DOT it>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20030916
X-Accept-Language: it, en, fr, es
MIME-Version: 1.0
To: Mailing List: CygWin <cygwin AT cygwin DOT com>
Subject: db3.1?
X-Enigmail-Version: 0.76.7.0
X-Enigmail-Supports: pgp-inline, pgp-mime

Is there any particuloar reason that a db3 program compiled like this:

  -I/usr/include/db3.1/ -ldb-3.1

can compile ok and, at runtime, exit with the following error code?

  [02/10/2003 10:06:22] [5316]: Erroring opening db environment: 
/usr/local/onak/ (Invalid argument)

        ret = dbenv->open(dbenv, config.db_dir,
                        DB_INIT_LOG | DB_INIT_MPOOL | DB_INIT_LOCK |
                        DB_INIT_TXN |
                        DB_CREATE,
                        0);
        if (ret != 0) {
                logthing(LOGTHING_CRITICAL,
                                "Erroring opening db environment: %s (%s)",
                                config.db_dir,
                                db_strerror(ret));
                exit(1);
        }

?

(it does compile perfectly under FreeBSD, as an example)

-- 
Lapo 'Raist' Luchini
lapo AT lapo DOT it (PGP & X.509 keys available)
http://www.lapo.it (ICQ UIN: 529796)



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019