db3.1?

Lapo Luchini lapo@lapo.it
Thu Oct 2 08:40:00 GMT 2003


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@lapo.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/



More information about the Cygwin mailing list