Re: Libraries

From: Michele Andreoli (m.andreoli@tin.it)
Date: Mon Sep 18 2000 - 15:45:46 CEST


On Sun, Sep 17, 2000 at 10:48:11PM +0200, Ondrej Kavka nicely wrote:
> Hi,
> I have a problem. I compiled links 0.92 with simple javascript and
> persistent cookies support patches, but it doesn't run on my mu. It needs
> a libgpm.1.18 library. Fine. I got it. But then, midnight commander will
> dump core on me, because it seems to work fine only with libgpm.1.09. If I
> run ldconfig, it links the file onle with the newer version on midnight
> won't run. Is there a way to run these two programs simultaneously without
> extensive scripting and constant re-linking of the library, which is
> really not a way to go, I think..?

There is a way to instruct the system to load alternate library
Put that in /etc/profile:

        links()
        {
        LD_LIBRARY_PATH=/my/own/libraries /usr/bin/links $@
        }

Put in /my/own/libraries the new libgpm. Hope it works.

Michele

-- 
I'd like to conclude with a positive statement, but I can't 
remember any. Would two negative ones do?       -- Woody Allen
---------------------------------------------------------------------
To unsubscribe, e-mail: mulinux-unsubscribe@sunsite.auc.dk
For additional commands, e-mail: mulinux-help@sunsite.auc.dk


This archive was generated by hypermail 2.1.6 : Sat Feb 08 2003 - 15:27:16 CET