[ Usenet FAQs | Web FAQs | Documents | RFC Index ]
    Search the FAQ Archives

Part1 - Part2 - Part3 - Part4 - Part5 - Part6 - Part7 - Part8 - Part9 - Single Page

Top Document: INN FAQ Part 5/9: Other error messages and what they mean
Previous Document: Table Of Contents for Part 5/9
Next Document: (5.2) Bad file number writing history file -- throttling


(5.1) ld.so: Undefined symbol: _dbzwritethrough


> Everything compiles correctly, but when I try to test rc.local I get:
>
> hermes# sh /usr/local/etc/rc.news
> ld.so: Undefined symbol: _dbzwritethrough
>
> What am I doing wrong?

This means that you are using a $INN/lib/dbz.c file that hasn't been
patched with the $INN/lib/dbz.pch patch.

The patching is automatic.  Running "make" should do the patch without
you even noticing.  To force the code to be re-patched (i.e. copy the
original to dbz.c and apply the patch to it), simply delete
$INN/lib/dbz.c and run the usual "make".  The Makefile does everything
for you.

Why might the patch fail and leave you with an unpatched dbz.c?

1)  You don't have Larry Wall's (or the FSF's) "patch" program
installed.  It is available at ftp://prep.ai.mit.edu/pub/gnu/patch-2.1.tar.gz

2)  Most C++ compilers based on USL's cfront come with a program called
"patch" that does something completely different than Larry Wall's (or
the FSF's) "patch" program.  If your path is configured so that this
program is found before Larry Wall's (or the FSF's) "patch" program,
you will get an unpatched dbz.c.  To fix this, delete $INN/lib/dbz.c,
change your path, and do the usual "make".  If this file is deleted the
Makefile will do everything for you.

See also section "5.2 The DBZ package" of the Install.ms document.



Top Document: INN FAQ Part 5/9: Other error messages and what they mean
Previous Document: Table Of Contents for Part 5/9
Next Document: (5.2) Bad file number writing history file -- throttling

Part1 - Part2 - Part3 - Part4 - Part5 - Part6 - Part7 - Part8 - Part9 - Single Page


[ Usenet FAQs | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
hwr@pilhuhn.de (Heiko W.Rupp)

Last Update October 22 2009 @ 05:35 AM

Some parts © 2009 Advameg, Inc.