Article View: news.software.readers
Article #84965Re: slrn 0.9.7.2 color problem
From: Matthias Friedrich
Date: Sun, 30 Sep 2001 20:06
Date: Sun, 30 Sep 2001 20:06
36 lines
2347 bytes
2347 bytes
E. <erisson@sw-tech.com> wrote: [...] > Oh. I'm sorry. I guess I was unclear. Um, the problem is that even > though I've made the latest slang library, I can't use it. Under > various BSD flavors, I could tell slrn to look for it in my home > directories (I am not root on this box, which is what I meant by > 'userland'). This is a feature of the dynamic loader, ld.so. A possibility is to link slrn with a hardcoded library search path. That way, you don't need access to /etc/ld.so.conf and no permission to run ldconfig is necessary. Usually, it works like this: LDFLAGS='-Wl,-R,/path/to/slang/' ./configure && make But slrn's configure has a special switch for that: ./configure --enable-hardcode-libs \ --with-slang-library=/path/to/slang/lib \ --with-slang-includes=/path/to/slang/includes Another possibility is to give ld.so a search path via environment variables. This also overrides /etc/ld.so.conf. Unfortunately, I don't have access to a Linux box right now, but something like the following should work: LD_LIBRARY_PATH='/path/to/slang:/lib:/usr/lib' slrn Perhaps the name of the variable is slightly different, so check out the ld.so's manpage if it doesn't work. You could also export LD_LIBRARY_PATH and check the output of 'ldd `which slrn`' to see if the right libraries are used. Good luck, Matthias
Technical Details
Message-ID:
<slrn9reuql.70.matt@discovery.mafr.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!uni-erlangen.de!fu-berlin.de!uni-berlin.de!12-132.k.dial.o-tel-o.NET!not-for-mailReferences:
<slrn9qvhka.4as.erisson@tiamat.dragon.org> <slrn9rdob4.7l.matt@discovery.mafr.de> <slrn9rekv0.jei.erisson@tiamat.dragon.org>Show Full Headers
Complete Article Headers
Message-ID: <slrn9reuql.70.matt@discovery.mafr.de> Subject: Re: slrn 0.9.7.2 color problem Date: Sun, 30 Sep 2001 22:06:51 +0200 From: Matthias Friedrich <matt@mafr.de> References: <slrn9qvhka.4as.erisson@tiamat.dragon.org> <slrn9rdob4.7l.matt@discovery.mafr.de> <slrn9rekv0.jei.erisson@tiamat.dragon.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!uni-erlangen.de!fu-berlin.de!uni-berlin.de!12-132.k.dial.o-tel-o.NET!not-for-mail Newsgroups: news.software.readers Lines: 35 NNTP-Posting-Host: 12-132.k.dial.o-tel-o.net (212.144.12.132) X-Trace: fu-berlin.de 1001880482 17525479 212.144.12.132 (16 [47474]) X-Orig-Path: discovery.mafr.de!nobody User-Agent: slrn/0.9.7.2 (NetBSD)