🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #226423

Re: Leafnode...WTF is this?

#226423
From: Sidney Lambe
Date: Sun, 28 Sep 2008 23:52
119 lines
6194 bytes
JohnTheGeek <john@localhost.INVALID> wrote:
> On 2008-09-28, Troy Piggins <usenet-0809@piggo.com> wrote:
>> * JohnTheGeek wrote :
>>> sudo apt-get install leafnode
>>> Reading package lists... Done
>>> Building dependency tree... Done
>>> leafnode is already the newest version.
>>> 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
>>> 1 not fully installed or removed.
>>> Need to get 0B of archives.
>>> After unpacking 0B of additional disk space will be used.
>>> Setting up leafnode (1.11.4-2ubuntu1) ...
>>> awk: /^server.*=/ { if (x == foo) { print "server = news.motzarella.org
>>> awk:                                      ^ unterminated string
>>> dpkg: error processing leafnode (--configure):
>>>  subprocess post-installation script returned error exit status 1
>>> Errors were encountered while processing:
>>>  leafnode
>>> E: Sub-process /usr/bin/dpkg returned an error code (1)
>>>
>>> I guess I try to download and install the program from the source
>>
>> If you do, I'd recommend getting the version 2 alpha over version
>> 1.  Much better filtering capabilities ;)  Don't let the "alpha"
>> scare you, it's very stable and several of us here have been
>> using it for some time with no problems.  The maintainer is very
>> active in addressing any bugs reported if you join the mailing
>> list.
>>
>> http://www.dt.e-technik.uni-dortmund.de/~ma/leafnode/beta/
>>
>
> I got the source and tried to compile it.  Found out I needed something
> called "pre" so I got it and did the standard ./configure, make, sudo
> make install and it worked, so I went back to the leafnode directory
> and did the configure.  It worked so I went to do a make then sudo make
> install and got a whole pile of errors
> Here is a subset of the output from the make install
>
> make 'LDFLAGS=-L/usr/local/lib -lpcre' install-data-hook
> make[4]: Entering directory `/home/john/tmp/leafnode-1.11.6'
> set -e ; for i in "" /leaf.node /failed.postings /interesting.groups \
> 		/out.going /message.id /temp.files ; do \
>         mkdir -p /var/spool/news$i ; \
> 	if ./amiroot ; then \
> 	 chown news:news /var/spool/news/$i ; \
> 	 chmod 2775      /var/spool/news/$i ; fi ; \
> 	done
> ./amiroot: error while loading shared libraries: libpcre.so.0: cannot
> open shared object file: No such file or directory
> ./amiroot: error while loading shared libraries: libpcre.so.0: cannot
> open shared object file: No such file or directory
> ./amiroot: error while loading shared libraries: libpcre.so.0: cannot
> open shared object file: No such file or directory
> ./amiroot: error while loading shared libraries: libpcre.so.0: cannot
> open shared object file: No such file or directory
> ./amiroot: error while loading shared libraries: libpcre.so.0: cannot
> open shared object file: No such file or directory
> ./amiroot: error while loading shared libraries: libpcre.so.0: cannot
> open shared object file: No such file or directory
> ./amiroot: error while loading shared libraries: libpcre.so.0: cannot
> open shared object file: No such file or directory
> d="`dirname /var/spool/news/leaf.node/lock.file`" ; mkdir -p "${d}" && \
> 	if ./amiroot ; then \
>           chown news:news "${d}" ; \
> 	  chmod 2775 "${d}" ; fi
> ./amiroot: error while loading shared libraries: libpcre.so.0: cannot
> open shared object file: No such file or directory
> make[4]: Leaving directory `/home/john/tmp/leafnode-1.11.6'
> make[3]: Leaving directory `/home/john/tmp/leafnode-1.11.6'
> make[2]: Leaving directory `/home/john/tmp/leafnode-1.11.6'
> Making install in doc_german
> make[2]: Entering directory `/home/john/tmp/leafnode-1.11.6/doc_german'
> make[3]: Entering directory `/home/john/tmp/leafnode-1.11.6/doc_german'
> make[3]: Nothing to be done for `install-exec-am'.
> make[3]: Nothing to be done for `install-data-am'.
> make[3]: Leaving directory `/home/john/tmp/leafnode-1.11.6/doc_german'
> make[2]: Leaving directory `/home/john/tmp/leafnode-1.11.6/doc_german'
> make[1]: Leaving directory `/home/john/tmp/leafnode-1.11.6'
>
> I've seen errors like that
> libpcre.so.0 is installed
>
> whereis libpcre.so.0
> libpcre.so: /usr/lib/libpcre.so.3 /usr/local/lib/libpcre.so
> /usr/local/lib/libpcre.so.0
>
> but not sure what else to do at this point  I'm thinking a symbolic
> link in the right place will help, but that's beyond me at this point..
> suggestions?  Maybe I need to change the configuration options to point
> to the location of pcre where my install put it rather than where it
> thinks it is?  Will the leafnode docs help me or am chasing my tail?
>
> Google shows a couple of threads in the Ubuntu forums, but no responses.
> The rest of ght GIYF results are about Fedora, MySql and something
> called "Snort".  So I'm kinda stuck.
>

I've had this problem before.

I suggest copying all the pcre libs to /usr/lib (cp -p) and then create the
symlinks there that are in /usr/local/lib.

An example:

0 lrwxrwxrwx 1 root root   20 2007-11-08 14:38 libnss_compat.so.2 -> libnss_compat-2.5.so*

to create that, you'd do:

ln -s libnss_compat-2.5.so  lilbness_compat.so.2

(ln -s target link_name)

Then run ldconfig and start again with clean sources.

Sid


Technical Details
Message-ID: <4vh5r5xnf1.ln2@amma.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.albasani.net!news.newsland.it!x-privat.org!amma.net!not-for-mail
References: <gbp39c$f97$1@registered.motzarella.org> <20080929091858.342@usenet.piggo.com> <gbp4fn$ng1$1@registered.motzarella.org>

Show Full Headers
Complete Article Headers
Message-ID: <4vh5r5xnf1.ln2@amma.net>
Subject: Re: Leafnode...WTF is this?
Date: Sun, 28 Sep 2008 16:52:36 -0700
From: Sidney Lambe <nospam@nospam.invalid>
References: <gbp39c$f97$1@registered.motzarella.org> <20080929091858.342@usenet.piggo.com> <gbp4fn$ng1$1@registered.motzarella.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.albasani.net!news.newsland.it!x-privat.org!amma.net!not-for-mail
Newsgroups: news.software.readers
NNTP-Posting-Host: $$$gwcll$tsc1.news.x-privat.org
Organization: X-Privat.Org NNTP Server - http://www.x-privat.org
Lines: 119
X-Complaints-To: abuse@x-privat.org