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
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ oi-dev mailing list oi-dev@openindiana.org http://openindiana.org/mailman/listinfo/oi-dev