On Sun, 11 Nov 2007, Peter Clifton wrote:

> Hi,
>
> I was thinking a bit about the need to set LD_LIBRARY_PATH for the
> common case where a user installs gEDA in their home directory. It
> represents one more barrier to getting things working, and stops users
> being able to create desktop launchers pointing directly at the
> application. (You'd need a wrapper script).
>
> It turns out that linking with libtool:
> libtool --mode=link gcc .....
>
> will add an appropriate RPATH entry for the libraries we link with. This
> should solve the problem, and as we already (IIRC) hard-code a path to
> the GEDADATADIR in libgeda anyway.
>
> Is this a good idea?

Since it munges a system variable, doesn't it require root access?

Stuart



_______________________________________________
geda-dev mailing list
[email protected]
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev

Reply via email to