[CentOS] CentOS 6: meson/ninja in python36 requires python27

Fri Sep 14 09:37:25 UTC 2018
wwp <subscript at free.fr>

Hello there,


on a CentOS 6 box, in the need for `meson`, I've installed rh-python36
using yum, then meson and ninja using `pip3.6 install meson ninja`.

Later at run-time, while building atk 2.29.1:

$ meson --prefix /opt/atk _build
$ ninja-build -C _build

FAILED: atk/atkmarshal.c
/opt/gimp-2.8/bin/glib-genmarshal --prefix atk_marshal --output atk/atkmarshal.c --body ../atk/atkmarshal.list --include-header atkmarshal.h
/opt/rh/python27/root/usr/bin/python: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
ninja: build stopped: subcommand failed.

Adding /opt/rh/python27/usr/lib64 to LD_LIBRARY_PATH works around this
problem, but I wonder if there isn't a dependency issue, or did I do
something wrong?


Regards,

-- 
wwp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20180914/e18c9bf9/attachment-0004.sig>