Debian Codegraph @

docs/installation/build_unix_freebsd.html

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6 <title>FreeBSD</title>
7 <link rel="stylesheet" href="gettingStarted.css" type="text/css" />
8 <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
9 <link rel="start" href="index.html" title="Berkeley DB Installation and Build Guide" />
10 <link rel="up" href="build_unix.html" title="Chapter 7.  Building Berkeley DB for UNIX/POSIX" />
11 <link rel="prev" href="build_unix_aix.html" title="AIX" />
12 <link rel="next" href="build_unix_iphone.html" title="Apple iOS (iPhone OS)" />
13 </head>
14 <body>
15 <div xmlns="" class="navheader">
16 <div class="libver">
17 <p>Library Version 11.2.5.3</p>
18 </div>
19 <table width="100%" summary="Navigation header">
20 <tr>
21 <th colspan="3" align="center">FreeBSD</th>
22 </tr>
23 <tr>
24 <td width="20%" align="left"><a accesskey="p" href="build_unix_aix.html">Prev</a> </td>
25 <th width="60%" align="center">Chapter 7. 
26 Building Berkeley DB for UNIX/POSIX
27 </th>
28 <td width="20%" align="right"> <a accesskey="n" href="build_unix_iphone.html">Next</a></td>
29 </tr>
30 </table>
31 <hr />
32 </div>
33 <div class="sect1" lang="en" xml:lang="en">
34 <div class="titlepage">
35 <div>
36 <div>
37 <h2 class="title" style="clear: both"><a id="build_unix_freebsd"></a>FreeBSD</h2>
38 </div>
39 </div>
40 </div>
41 <div class="orderedlist">
42 <ol type="1">
43 <li>
44 <span class="bold">
45 <strong>I can't compile and run multithreaded applications.</strong>
46 </span>
47 <p>Special compile-time flags are required when compiling threaded
48 applications on FreeBSD. If you are compiling a threaded application,
49 you must compile with the _THREAD_SAFE and -pthread flags:</p>
50 <pre class="programlisting">cc -D_THREAD_SAFE -pthread ...</pre>
51 <p>The Berkeley DB library will automatically build with the correct options.</p>
52 </li>
53 <li>
54 <span class="bold">
55 <strong>I see fsync and close system call failures when accessing
56 databases or log files on NFS-mounted filesystems.</strong>
57 </span>
58 <p>Some FreeBSD releases are known to return ENOLCK from fsync and close
59 calls on NFS-mounted filesystems, even though the call has succeeded.
60 The Berkeley DB code should be modified to ignore ENOLCK errors, or no Berkeley DB
61 files should be placed on NFS-mounted filesystems on these systems.</p>
62 </li>
63 </ol>
64 </div>
65 </div>
66 <div class="navfooter">
67 <hr />
68 <table width="100%" summary="Navigation footer">
69 <tr>
70 <td width="40%" align="left"><a accesskey="p" href="build_unix_aix.html">Prev</a> </td>
71 <td width="20%" align="center">
72 <a accesskey="u" href="build_unix.html">Up</a>
73 </td>
74 <td width="40%" align="right"> <a accesskey="n" href="build_unix_iphone.html">Next</a></td>
75 </tr>
76 <tr>
77 <td width="40%" align="left" valign="top">AIX </td>
78 <td width="20%" align="center">
79 <a accesskey="h" href="index.html">Home</a>
80 </td>
81 <td width="40%" align="right" valign="top"> Apple iOS (iPhone OS)</td>
82 </tr>
83 </table>
84 </div>
85 </body>
86 </html>