[oi-dev] tcl and 64-bit modules
Alexander Pyhalov
alp at rsu.ru
Thu Oct 31 13:25:49 UTC 2013
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/*/ ?
--
Best regards,
Alexander Pyhalov,
system administrator of Computer Center of Southern Federal University
More information about the oi-dev
mailing list