From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653641822015.tru64-unix-managers.marc@archive.invalid> From: "Douglas B. Jones" Date: Thu, 25 Oct 2001 12:25:54 +0000 To: tru64-unix-managers Subject: SUMMARY: jpeg & php & apache X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653641822015 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