This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

db3.1?


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]