Re: SunOS linking (was: Re: Outstanding GTK+ patches)
- From: notzed helixcode com
- To: gtk-devel-list redhat com
- Subject: Re: SunOS linking (was: Re: Outstanding GTK+ patches)
- Date: Wed, 1 Mar 2000 08:52:16 -0500 (EST)
It is much easier just to maintain LD_LIBRARY_PATH.
(I maintained a lot of gnu and other software on
solaris/sunos for over 3 years).
The problem is with setuid binaries LD_LIBRARY_PATH is ignored,
but then they are special cases that need more attention
anyway.
>
> Tim Janik wrote:
>
> > > Adds -R to the output of glib-config; I think one of the GNU info
> > > pages has some manifesto as to why -R is evil... but otherwise
> > > might be OK. (Would require the corresponding change to gtk
> > > to be useful)
> >
> > REMOVED
> >
> > can we have confirmation/refusals from other SunOS people on this topic?
>
> It is true, indeed. If I link with `glib-config --libs`, still the lib path
> must be in LD_LIBRARY_PATH for the program to be able to run. This can be
> fixed by using the -R or -rpath option. The -R option would be to prefer,
> because it works for both gnu ld and sun ld. Both sun ld and gnu ld are
> working with AND withour spaces after -R here on my platform though.
>
> Bye,
> Sebastian
> --
> Sebastian Wilhelmi | här ovanför alla molnen
> mailto:wilhelmi@ira.uka.de | är himmlen så förunderligt blå
> http://goethe.ira.uka.de/~wilhelmi |
>
>
> --
> To unsubscribe: mail gtk-devel-list-request@redhat.com with
> "unsubscribe" as the Subject.
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]