tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: jpeg & php & apache
@ 2001-10-25 12:25 Douglas B. Jones
  0 siblings, 0 replies; only message in thread
From: Douglas B. Jones @ 2001-10-25 12:25 UTC (permalink / raw)
  To: tru64-unix-managers


Hi,

(NOTE: I sent this back on 10/10, but due to the way it was
sent, the listserv automatically rejected it and I did not
see that since this listserv is filtered to a sub-folder - DBJ.)

First, thanks to:

Bill Melvin, Frank Wortner, Olle Eriksson, Anthony Talltree,
Cathy Chandra, Uwe Lienig, and James Sainsbury for you help!
Apologies if I left anyone out and any misspellings.

I forgot to mention that I had linked against /usr/local/lib/libjpeg.a
and all worked fine. Unfortunately, this did not work when doing
the full compilation since that caused other portions to fail
(I think the zend part with libtool). Anyway, the problem is that
by default Tru64 5.1 links against all shared libraries (.so) first then
if they are not found, then looks for the static ones (.a). Well, in
/usr/shlib is libjpeg.so, which it gets before it tries the one
we have in /usr/local/lib/libjpeg.a. One solution was to rename/recompile
the local one as libijpeg (independent group one). The winner solution
was in referred to me in the manual page (ld(1)):

was in referred to me in the manual page (ld(1)):

 -oldstyle_liblookup
      Cause ld to search each library directory, first for the shared object
      library (libx.so) and then for the archive library (libx.a).

This would cause it to look for the .so and the .a in the same
directory before moving to another directory, where as the default
is to look through the directory list for any .so, upon failing to
look for .a ones. Of course, it would find /usr/shlib/libjpeg.so.

Thanks for all the quick responses and help.

Thanks,
Cheers,
Douglas

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-10-25 12:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-25 12:25 SUMMARY: jpeg & php & apache Douglas B. Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox