# Re: xsane default sizes

Oliver Rauch (oliver.rauch@Wolfsburg.DE)
Mon, 03 May 1999 17:43:57 +0200

- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
- Next message: Roy-Anders Larsen: "Re: Q: which parallel scanner supported"
- Previous message: Oliver Rauch: "Re: xsane default sizes"

Petter Reinholdtsen wrote:

> [Bob van der Poel]
> > novices who aren't quickly aware of the fact that they have to add
> > /usr/local/lib/sane to their /etc/etc/ld.so.conf
>
> [Oliver Rauch]
> > I think it should be no problem for a novice to make it working
> > asshared library.
>
> Novices should not have to edit ld.so.conf at all. The program should
> be linked using libtool with
>
> -rpath $prefix/lib -rpath $prefix/lib/sane
>
> Using this, all platforms will update xsane dll searchpath to include
> the given directories.
>

xsane will not be compiled/linked with libtool. A precompiled xsanehas to find
the sane libraries without that it nows where to find it,
because they may be in different directories on different systems,
so that is no solution!

The shared library loader needs to know where the sane libraries are!

Bye
Oliver

    --
    EMAIL: Oliver.Rauch@Wolfsburg.DE
    WWW: http://www.wolfsburg.de/~rauch

    --
    Source code, list archive, and docs: http://www.mostang.com/sane/
    To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com

     Next message: Roy-Anders Larsen: "Re: Q: which parallel scanner supported"
     Previous message: Oliver Rauch: "Re: xsane default sizes"