isaexec and Tcl/Tk

Peter FELECAN pfelecan at opencsw.org
Thu Dec 19 16:55:44 CET 2013


Dagobert Michelsen <dam at opencsw.org> writes:

> Hi Oliver,
>
> Am 19.12.2013 um 16:09 schrieb Oliver Kiddle <opk at opencsw.org>:
>> An upgrade to opencsw has broken our various Tcl/Tk applications.
>> 
>> This appears to be a consequence of tclsh now being a link to isaexec.
>> Running tclsh gets us the 64-bit version and then we can't load 32-bit
>> libraries. Building our software 64-bit is not an option.
>> 
>> Is there a way such as via an environment variable to tell isaexec to
>> prefer a 32-bit binary? Or is there some other solution like perhaps using
>> the alternatives mechanism to point tclsh8.5 at sparcv8plus/tclsh8.5
>> instead of at isaexec? I know that as a last resort, we can change the
>> #! line of our scripts but there's a lot.
>
> Or alternatively I could just exclude tclsh from isaexec and require
> explicit calling. You can do this also right now by explicitly calling
> /opt/csw/bin/sparcv8plus/tclsh
>
> Thoughts?

IMHO, excluding tclsh form isaexec is not a great idea as it break
orthogonality. If Oliver cannot find a solution I'll opt in favor of
alternatives but this brings other issues, at least for me, as how to
declare internal, viz same package, alternatives.
-- 
Peter


More information about the maintainers mailing list