[oi-dev] tcl and 64-bit modules

Udo Grabowski (IMK) udo.grabowski at kit.edu
Thu Oct 31 15:48:15 UTC 2013


On 31/10/2013 14:25, Alexander Pyhalov wrote:
> On 10/30/2013 17:07, Alexander Pyhalov wrote:
>> Hello.
>>
>> It seems our 64-bit tcl don't know where to look for modules. And it is
>> 64-bit by default in /hipster. So, it's broken by default.
>>
>
> More precisely...
> TCL 8.4 searched for 64-bit libraries in /usr/lib/tcl8.4/PKG_NAME/amd64/*.
>
> TCL 8.5 searches for them in /usr/lib/amd64/PKG_NAME/*
> (and also in /usr/lib/tcl8.4/PKG_NAME/*).
> For sqlite/postgresql tcl modules, which are part of oi-userland, I've
> modified pkgIndex.tcl, so that depending on $tcl_platform(wordSize) they
> load either lib.so or amd64/lib.so.
>
> Is it appropriate solution or is it better to ship 64-bit tcl modules in
> /usr/lib/amd64/*/ ?

The last variant seems to be the more common fs layout, see gtk-2.0
as a common example.


-- 
Dr.Udo Grabowski    Inst.f.Meteorology a.Climate Research IMK-ASF-SAT
www.imk-asf.kit.edu/english/sat.php
KIT - Karlsruhe Institute of Technology            http://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: 2050 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20131031/80dd758a/attachment-0005.bin>


More information about the oi-dev mailing list