* Dynamic Libraries (was: Linking problems)
@ 2001-03-23 10:51 Uwe Lienig
0 siblings, 0 replies; only message in thread
From: Uwe Lienig @ 2001-03-23 10:51 UTC (permalink / raw)
To: tru64-unix-managers
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="--------------2EC33FB473789472F430508B", Size: 2437 bytes --]
This is a multi-part message in MIME format.
--------------2EC33FB473789472F430508B
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hi managers,
days ago I asked for help regarding linking problems. The SUMMARY
stated, that there was a libjpeg.so in /usr/shlib. This lib does
interfere with the requested libjpeg.{a,so} in /usr/local/lib.
After knowing that I now ran into the following issue:
I did a nm on /usr/shlib/libjpeg.so, which is (as I guess) a helper for
java written by COMPAQ to support jpeg in java ( if I'm wrong, please
correct me). This libjpeg does not comprise the routines present in
libjpeg from the IJG, currently version 6b (62.0.0). This one compiles
very well, even shared libs are supported. In fact, these two libjpegs
seem to share only the name libjpeg !!
This is basically not the problem, the libs are installed in different
paths. But things go worse, if a program is started which has only a
shared object defined by name without a path. Then the loader will
decide which lib to use, and will find /usr/shlib before /usr/local/lib.
The prog will fail due to unresolved symbols.
One solution might be, setting LD_LIBRARY_PATH globally to search for
lib first in /usr/local/lib and the the default path. But this might
break java due to a libjpeg from IJG, which is not the right lib (java
stuff is missing).
Then, installing programs which are using libjpeg from IJG should
installed using a wrapper, i.e. xv is a script that sets LD_LIBRARY_PATH
and exec's xv.bin or something. This is some overhead and is somehow an
extra thing to to for admins ...
Well, at the end: What have you done to come around this problem ??
TIA
--------------2EC33FB473789472F430508B
Content-Type: text/x-vcard; charset=us-ascii;
name="Uwe.Lienig.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Uwe Lienig
Content-Disposition: attachment;
filename="Uwe.Lienig.vcf"
begin:vcard
n:Lienig;Uwe
tel;fax:(+49 351) 462 3476
tel;work:(+49 351) 462 2780
x-mozilla-html:FALSE
org:Forschungsinstitut Fahrzeugtechnik -FiF-;Computer Aided Design and Advanced Simulation Technology
adr:;;Friedrich-List-Platz 1;Dresden;Saxony;01069;Germany
version:2.1
email;internet:uwe.lienig@fif.mw.htw-dresden.de
note;quoted-printable:... have you ever seen MicroSoft users smiling ...=0D=0A=0D=0ASysAdmin
x-mozilla-cpt:;-6720
fn:Uwe Lienig
end:vcard
--------------2EC33FB473789472F430508B--
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-03-23 10:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-23 10:51 Dynamic Libraries (was: Linking problems) Uwe Lienig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox