Hi Werner,
please run this command and send me the output:
ldd /omd/versions/1.31.20160610/bin/python
For me it shows something like this:
> ldd /omd/versions/2016.06.10.cee/bin/python
linux-vdso.so.1 => (0x00007ffd8fbd6000)
libpython2.7.so.1.0 =>
/omd/versions/2016.06.10.cee/lib/libpython2.7.so.1.0 (0x00007f75eeef0000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
(0x00007f75eecaf000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f75ee8e5000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f75ee6e1000)
libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f75ee4de000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f75ee1d4000)
/lib64/ld-linux-x86-64.so.2 (0x0000560920707000)
The important part is the line where you see libpython2.7.so.1.0.
This needs to point to the OMD version path.
Andreas already mentioned it. I am in progress integrating Python 2.7
into OMD for all supported platforms.
This Python is fully independent from the system global Python installation.
Best regards
Lars
On 10.06.2016 12:31, Werner Flamme wrote:
Hello OMDlers,
I just did a "zypper up", which pulled omd-daily and, as a dependency,
omd-daily-1.31.20160610 (from
http://labs.consol.de/repo/testing/sles11sp3/x86_64, which is defined as
a repository).
My next step was "omd sites", but then I had to stop:
/omd/versions/1.31.20160610/bin/python: error while loading shared
libraries: libpython2.7.so.1.0: cannot open shared object file: No such
file or directory
SLES 11 SP4 only has /usr/lib64/libpython2.6.so.1.0. Python 2.7 is only
available in a home: repository in the OBS, so I can't install it on a
company's host.
I'd recommend to mention libpython2.7.so.1.0 as a "requires:" in the
rpm, since this would prevent zypper from downloading and installing. Of
course, it would be better to still use libpython2.6 ;)
Regards,
Werner
_______________________________________________
omd-users mailing list
[email protected]
http://lists.mathias-kettner.de/mailman/listinfo/omd-users
--
Grüße
Lars
---
Lust auf was Neues? Check_MK-Admins gesucht!
http://mathias-kettner.de/jobs
Mathias Kettner GmbH
Kellerstraße 29, 81667 München, Germany
Registergericht: Amtsgericht München, HRB 165902
Geschäftsführer: Mathias Kettner
http://mathias-kettner.de
Tel. +49 89 1890 435-0
Fax. +49 89 1890 435-29
_______________________________________________
omd-users mailing list
[email protected]
http://lists.mathias-kettner.de/mailman/listinfo/omd-users