https://bugs.kde.org/show_bug.cgi?id=415918

--- Comment #3 from Maurizio Paolini <paol...@dmf.unicatt.it> ---
Resolved (almost)!

in a Fedora environment in order to make the *internal* python scripting to
work with mathematical functions it is required to first define LD_PRELOAD to
point to the libpython library.

It turns out that a working (for me at least) definition still requires
python2:

   export LD_PRELOAD=/usr/lib64/libpython2.7.so.1.0

however this turns out to be *incompatible* with the present state of pykig.py,
leading to the failing assertion stated in my original bug report.
A workaround is then (at least in a Fedora environment) the followint:

$ export LD_PRELOAD=
$ pykig.py -o sample.kig sample.kpy
$ export LD_PRELOAD=/usr/lib64/libpython2.7.so.1.0
$ kig sample.kig

of course, if the construction in sample.kpy does not require internal python
scripting or if the internal python scripting does not make use of mathematical
functions, then this would not be required.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to