Skip to Content
Berkeley DB
book

Berkeley DB

by Sleepycat™ Software, Inc.
June 2001
Intermediate to advanced content levelIntermediate to advanced
688 pages
19h 18m
English
Sams
Content preview from Berkeley DB

Solaris

  1. I can’t compile and run multithreaded applications.

    Special compile-time flags and additional libraries are required when compiling threaded applications on Solaris. If you are compiling a threaded application, you must compile with the D_REENTRANT flag and link with the libpthread.a or libthread.a libraries:

    cc -mt ... 
    cc -D_REENTRANT ... -lthread 
    cc -D_REENTRANT ... -lpthread 

    The Berkeley DB library will automatically build with the correct options.

  2. I’ve installed gcc on my Solaris system, but configuration fails because the compiler doesn’t work.

    On some versions of Solaris, there is a cc executable in the user’s path, but all it does is display an error message and fail:

     % which cc /usr/ucb/cc % cc /usr/ucb/cc: language optional software ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

The Berkeley DB Book

The Berkeley DB Book

Himanshu Yadava
Linux Recipes for Oracle DBAs

Linux Recipes for Oracle DBAs

Darl Kuhn, Charles Kim, Bernard Lopuz
Fedora Linux

Fedora Linux

Chris Tyler

Publisher Resources

ISBN: 0735710643Purchase book