[sane-devel] Re: Re: Re: epson 3490 - transparency unit problem
Theodoros V. Kalamatianos
thkala at softlab.ece.ntua.gr
Mon Nov 14 14:19:01 UTC 2005
On Mon, 14 Nov 2005 plum.pudding at free.fr wrote:
> Selon Jim MacLeod <j75trym at blueyonder.co.uk>:
>
>>> So we use the same backend and firmware with a different result.
>>>
>>> Should it be due to my installation : I've make and installed the cvs code
>>> in /usr/local without uninstalling the debian version which is in /usr
>>>
>> In order to use Kooka (KDE scanner prog) I start it from a console with
>>
>> LD_PRELOAD=/usr/local/lib/libsane.so kooka
>>
>> There is probably a much neater way of doing things but it works. Hopefully
>> the backend will be in a Kubuntu release eventually.
>>
>> Jim
>>
>
> I will try this command line this evening. Thanks for the trick.
LD_PRELOAD ? Why not just set the LD_LIBRARY_PATH environment variable to
look up /usr/local/lib first ? AFAIK this is the only way to properly
force select programs to use a different library search path. Preloading
just one library may not be enough - e.g. any dynamically loaded libraries
would still be loaded from other directories. IIRC the default library
path for the linux ld.so loader is /usr/lib:/lib ...
Regards,
Theodoros Kalamatianos
More information about the sane-devel
mailing list