[oi-dev] Library load error in package perl-5/tk

Udo Grabowski (IMK) udo.grabowski at kit.edu
Tue Feb 13 14:20:54 UTC 2024


Hello,

found a bug in package pkg:/library/perl-5/tk-538 at 804.36-2023.0.0.1 :

/usr/perl5/vendor_perl/5.38/i86pc-solaris-thread-multi-64/Tk.pm

l. 93,94
# This is a workround for Solaris X11 locale handling
Preload(DynaLoader::dl_findfile('-L/usr/openwin/lib','-lX11'))
   if (NeedPreload() && -d '/usr/openwin/lib');

should be

# This is a workround for Solaris X11 locale handling
Preload(DynaLoader::dl_findfile('-L/usr/openwin/lib/64','-lX11'))
   if (NeedPreload() && -d '/usr/openwin/lib/64');

otherwise it tries to load the 32bit libX11.so library, which fails.

Affects commands like snmpcheck.

-- 
Dr.Udo Grabowski  Inst.of Meteorology & Climate Research IMK-ASF-SAT
https://www.imk-asf.kit.edu/english/sat.php
KIT - Karlsruhe Institute of Technology          https://www.kit.edu
Postfach 3640,76021 Karlsruhe,Germany T:(+49)721 608-26026 F:-926026

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5804 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20240213/b7f2cd22/attachment.bin>


More information about the oi-dev mailing list