SUM: gimp, java, and jpeg libs

From: Matt Goebel <goebel_at_emunix.emich.edu>
Date: Thu, 30 Mar 2000 16:39:46 -0500 (EST)

Hello,

  Sorry this wasn't posted sooner, I'm a lamoid...

  I ended up just removing java whilst I compiled gimp...mostly
because I was sure it would compile while I got something to eat.

Thanks,
Matt Goebel

> From: Steve VanDevender <stevev_at_hexadecimal.uoregon.edu>
>
> Add -L/usr/local/lib to your compile flags; directories specified with
> -L are searched before the standard system library directories.
>
> From: "Thomas M. Payerle" <payerle_at_physics.umd.edu>
> >
> If it's a shared library you are trying to load, be sure to have
> LD_LIBRARY_PATH set to include the path to the non-standard location
> (/usr/local/...) See 'man loader' fr details.
>
> From: "Frank Wortner" <frank_at_bondnet.com>
>
> A shot in the dark ...
>
> Add the following to the link flags (LDFLAGS in Makefiles)
>
> -oldstyle_liblookup
>
> Essentially, it makes /bin/ld behave the way you probably thought it would:
> look in /usr/local/lib for ".so" and ".a" files before looking in /usr/shlib
> or /usr/lib. DEC /bin/ld normally searches for ".so" files first, and,
> only if unable to find them, goes back and looks for ".a" libraries.
>
> Hope this helps.
>
> Frank
>
> From: Olle Eriksson <olle_at_cb.uu.se>
>
> Just rename the two jpeg shareable libs in /usr/shlib while building gimp,
> undo the rename after the build has completed.
>
> From: Tim Mooney <mooney_at_dogbert.cc.ndsu.nodak.edu>
>
> Matt-
>
> I haven't seen a summary yet, so I'll assume you haven't gotten an answer
> yet.
>
> The answer relates to the odd way the Digital/Tru64 Unix linker works. It
> essentially prefers shared libraries over archive libraries, even if the
> shared library is found in a directory that is searched later than a directory
> that contains an archive library.
>
> If you have local static copies of libraries (like jpeg, or Berkeley DB,
> or whatever) that "shadow" system libraries for which there is a shared
> version, you will need to arrange to have the
>
> -oldstyle_liblookup
>
> flag passed to the linker (ld). That reverts the odd behavior, and will
> allow you to link with a static library found "first".
>
> Tim
>

-- 
Matt J. l. Goebel : goebel_at_emunix.emich.edu : LT staff _at_ EMU : Hail Eris
Neo-Student, Net Lurker, Donut consumer, and procrastinating Furry Fan.
"...When we were living in a dream world, Clouds got in the way
 We gave it up in a moment of madness, And threw it all away..." E.W. & A.P.
Received on Thu Mar 30 2000 - 21:40:24 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:40 NZDT