xref: /minix/external/bsd/nvi/dist/README.DB3 (revision 84d9c625)
1This version of vi requires DB3.1 or better, which can be found
2on http://www.sleepycat.com/ .
3
4Note that there is a small problem with DB 3.2 in that it will
5not let nvi read in a final line that doesn't end in a newline.
6This should be fixed in DB 3.3
7
8If your system library (such as glibc prior to version 2.2) uses a
9previous version of db (e.g. DB2) internally, you must configure with
10--enable-dynamic-loading to avoid symbols in the internally used db from
11being resolved against the newer db.
12
13If, on top of that, the vi binary is explicitly linked against that
14previous version of db (such as might happen if you enable the perl
15embedding), you should compile the 3.x version with all symbols internally
16resolved.  In case you use the Gnu linker (ld), this can be accomplished
17by passing it the -Bsymbolic option. You can do this by setting CC
18to e.g. "gcc -Wl,-Bsymbolic" prior to configuring db.
19See docs/ref/build_unix/flags.html in the db distribution for more
20information.
21
22skimo@kotnet.org
23