[rescue] Grrr.... GTK+
Drew Schatt
schatt at schatt.com
Fri Feb 15 14:21:25 CST 2002
I've found it better on my machines to set each user (or even globally) to
have LDFLAGS set, which is usually picked up during the configuration and
sets the -R (Run time library path flag) appropriately. Mine is set to:
LDFLAGS=-L/usr/local/lib -R/usr/local/lib
which works much better for me. Avoid LD_LIBRARY_PATH like the plague if
possible, if it must be set, set it temporarily or in a shell script that
then launches the program.
-Drew
On Fri, 15 Feb 2002, Kurt Mosiejczuk wrote:
> On Fri, 15 Feb 2002, Bill Bradford wrote:
>
> > > Now... glib is already installed, in the right place. Should I REALLY
> > > have to set LD_LIBRARY_PATH to get a stupid test program to RUN?!?
>
> > Yes. The test program will be using the same libraries that a "real"
> > program would be using.
>
> Ugh... so really I need to set up the default user profile to have
> a LD_LIBRARY_PATH that includes /usr/local.
>
> Seems... unclean. I was thinking that maybe Solaris had a mechanism
> that the gtk people didn't use because they were affected by LWS [1]
>
> Okay.
>
> --Kurt
>
> [1] Linux Weenie Syndrome. "Everybuddy runz Linux, right?" =) [2]
> [2] I LIKE Linux. I just don't like people who use tools like autoconf
> but still make non-portable software.
> _______________________________________________
> rescue list - http://www.sunhelp.org/mailman/listinfo/rescue
More information about the rescue
mailing list