🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #205579

Re: Update: [slrn] NNTP-Posting-Host whois lookup macro

#205579
From: Thomas Wiegner
Date: Mon, 10 Sep 2007 19:38
76 lines
4853 bytes
On Mon, 10 Sep 2007, Blinky the Shark <no.spam@box.invalid> wrote:
> Thomas Wiegner wrote:

>> Yes, that would help. Don't forget to rerun ldconfig. Btw, a simple
>> 'man ldconfig' would have told you that.
>
> And what is there about "/etc/ld.so.conf" that would tell one he should
> read man ldd?  Thomas, I'm sure that there's a man for everything.
> There are thousands of manuals.  But if you have to have read *all* of
> them to know which one to refer to when you need a specific job done,
> something in the Way It's Done is broken.

No, of course you don't have to read all of them. Sorry, you have all
your nice Linux tips on your homepage and you also seem quite good in
coding slang, so I thought, you were a little bit deeper into the 
Linux basics. 

But IMHO it should not be too difficult to find the right manpage on
your own. You've been given the tip to run 'ldconfig' after installing
slang. So what I would do, if did not work after ldconfig is to read the
manpage of ldconfig. The manpage is really short and (on my system) in
the 3rd row is the reference to /etc/ld.so.conf. 

>>>> > 'ldd chkslang'?
>>>>>
>>>>> ldd: ./chkslang: No such file or directory
>>>>
>>>> I'm pretty sure, there is somewhere a "chkslang", otherwise
>>>> "chkslang" wouldn't complain about missing libraries.
>>>
>>> I ran the command you requested.
>>>
>>> Now i'll run locate:
>>>
>>> /home/blinky/downloads/most-4.10.2/src/chkslang.c
>>> /home/blinky/downloads/most-4.10.2/src/objs/chkslang.o
>>> /home/blinky/downloads/most-4.10.2/src/objs/chkslang
>>> /home/blinky/downloads/slrn-0.9.8.1pl2/src/chkslang.c
>>> /home/blinky/downloads/slrn-0.9.8.1pl2/src/.deps/chkslang.Po
>>> /home/blinky/downloads/slrn-0.9.8.1pl2/src/chkslang.o
>>> /home/blinky/downloads/slrn-0.9.8.1pl2/src/chkslang
>>>
>>> (Those are the directories created by untarring most and slrn.  Note
>>> that I *have* installed most.)
>>
>> If you are trying to compile slrn I'm sure it will be the one in the
>> slrn directory.
>
> Well, yeah. <sigh>  If it's better at finding stuff than it seems to be.
>
>>> And what must I do with that information?
>>
>> 'man ldd'
>
> See, again.  There's nothing about chkslang.whatever that implies "ldd".
> If you don't know this stuff, there's no way to figure it out.  That's
> why I try to use packages whenever possible.

Again, is it really too hard to read the correct manpage. checkslang
complained about a missing library. From ldd manpage:

| NAME
|       ldd - print shared library dependencies
|
| SYNOPSIS
|       ldd [OPTION]...  FILE...

But anyway. Adding your /usr/local/lib to your /etc/ld.so.conf should
fix the problem of not finding your lib. It's somehow strange that it is
not already inside. I've never seen a distribution wehre this is not
already included by default.

Cheers,

 Thomas
Technical Details
Message-ID: <i2jgr4-gcd.ln1@wiegner.user.individual.de>
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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <20070905110242@usenet.piggo.com> <slrnfdvbit.2e8.no.spam@thurston.blinkynet.net> <20070906175322@usenet.piggo.com> <slrnfdvfie.ca3.no.spam@thurston.blinkynet.net> <20070906204749@usenet.piggo.com> <slrnfe08a2.ltf.no.spam@thurston.blinkynet.net> <20070907064447@usenet.piggo.com> <slrnfe0tug.qjj.no.spam@thurston.blinkynet.net> <slrnfe22p6.81a.wiegner@dost.mchm.siemens.de> <slrnfe30n9.f28.no.spam@thurston.blinkynet.net> <l1h8r4-q0a.ln1@wiegner.user.individual.de> <slrnfe5osm.li4.no.spam@thurston.blinkynet.net> <slrnfe6l7i.86h.davis@aluche.mit.edu> <slrnfe6u75.v81.no.spam@thurston.blinkynet.net> <20070909150157@usenet.piggo.com> <pan.2007.09.09.08.07.29.666088@thurston.blinkynet.net> <de3dr4-u45.ln1@wiegner.user.individual.de> <slrnfe8dc0.94n.no.spam@thurston.blinkynet.net> <854er4-nam.ln1@wiegner.user.individual.de> <slrnfeasa6.q42.no.spam@thurston.blinkynet.net> <2segr4-7ia.ln1@wiegner.user.individual.de> <slrnfeb59l.q42.no.spam@thurston.blinkynet.net>

Show Full Headers
Complete Article Headers
Message-ID: <i2jgr4-gcd.ln1@wiegner.user.individual.de>
Subject: Re: Update: [slrn] NNTP-Posting-Host whois lookup macro
Date: Mon, 10 Sep 2007 21:38:26 +0200
From: Thomas Wiegner <wiegner@gmx.de>
References: <20070905110242@usenet.piggo.com> <slrnfdvbit.2e8.no.spam@thurston.blinkynet.net> <20070906175322@usenet.piggo.com> <slrnfdvfie.ca3.no.spam@thurston.blinkynet.net> <20070906204749@usenet.piggo.com> <slrnfe08a2.ltf.no.spam@thurston.blinkynet.net> <20070907064447@usenet.piggo.com> <slrnfe0tug.qjj.no.spam@thurston.blinkynet.net> <slrnfe22p6.81a.wiegner@dost.mchm.siemens.de> <slrnfe30n9.f28.no.spam@thurston.blinkynet.net> <l1h8r4-q0a.ln1@wiegner.user.individual.de> <slrnfe5osm.li4.no.spam@thurston.blinkynet.net> <slrnfe6l7i.86h.davis@aluche.mit.edu> <slrnfe6u75.v81.no.spam@thurston.blinkynet.net> <20070909150157@usenet.piggo.com> <pan.2007.09.09.08.07.29.666088@thurston.blinkynet.net> <de3dr4-u45.ln1@wiegner.user.individual.de> <slrnfe8dc0.94n.no.spam@thurston.blinkynet.net> <854er4-nam.ln1@wiegner.user.individual.de> <slrnfeasa6.q42.no.spam@thurston.blinkynet.net> <2segr4-7ia.ln1@wiegner.user.individual.de> <slrnfeb59l.q42.no.spam@thurston.blinkynet.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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Lines: 76
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: individual.net LwJAz/O4/2XwR4fz0Zl6LAGpc0YP3xqHAm59jb5xZ57zYVvC0=
X-Orig-Path: wiegner.user.individual.de!news
Cancel-Lock: sha1:eK+raSy3C0efogNqcoK6m6Nen9o=
User-Agent: slrn/0.9.8.1pl2.1 (Linux)