[sane-devel] Erratic problems with saned/xsane

Henning Meier-Geinitz henning@meier-geinitz.de
Mon, 9 Dec 2002 21:29:21 +0100


[CC sane-devel]

On Mon, Dec 09, 2002 at 09:16:37PM +0100, Oliver Rauch wrote:
> I think the following should work with shared libs:
> 
> change the files&links /usr/local/lib/libsane*
> that are currently set to /usr/local/lib/sane/libsane-dll.so
> and set them to /usr/local/lib/libsane-net.so

But wouldn't saned then be linked against libsane-net also?
Your solution works when the connection goes to a different host, but
here saned on the same host is connected.

And without static linking xsane to sane-net I don't see a solution.

If you link xsane against the shared lib libsane-net.so, the dynamic
loader will still load libsane.so beacuse of our fiddlings with soname.

Bye,
  Henning