[sane-devel] Re: Re: Re: epson 3490 - transparency unit problem

patrick deflandre plum.pudding at free.fr
Mon Nov 14 18:08:12 UTC 2005


m. allan noah a écrit :
> 
>>>>> 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 ...
>>
> 
> or, even better, add /usr/local/lib to /etc/ld.so.conf, and then run 
> ldconfig. this will make it more permanent than the env var, which is 
> often not available from within cron, etc. (not that many people other 
> than me do anything with sane from cron :)
> 
> allan
> 

I have try the 2 methods, but I always have a green line across my scan. 
This line is few pixel wide.
I can send you an example if you like.

Patrick.



More information about the sane-devel mailing list