According to Paul Cousoulis: While burning my CPU.
> 
> I am running Redhat 5.1 and I have the Sunsite archives on CD. My
> problem is very little of what's in the archive will run on my
> system. I either get a library error if I have compiled version
> or a .h header file error if I run make, for example: If I try
> to run linux-sdoom I get the error that libvga.so.1 can't be found in
> /usr/lib. The file is there. If I replace it with the libvga.so.1
> that comes with linux-sdoom, the program can't find libc4. What is
> going on here? Is there a standard set of library files I should have?
> And how do I run programs that want different versions of library files
> with same name.
> 

The file may be there but is there a symbolic link pointing to the "actual"
file name, like libvga.so.1 => libvga.so.1.2.7

'man ldconfig' might help you here.

You could use a script to start programs which need spiecial libs, in that
file use the LD_PRELOAD export command, like

export LD_PRELOAD="/usr/lib/libvga.so.1.2.7"
exec /usr/sdoom


> Thanks,
>  Paul
> 


-- 
Regards Richard.
[EMAIL PROTECTED]

Reply via email to