Closed eepgwde closed 4 years ago
Which operating system are you using? I unable to decipher uname -a
. Either provide better name, or output of the cat /etc/*release
. In addition to this, please Please provide output of:
ldconfig -p | grep -i python
Thanks.
This is from a Debian Stretch system.
The ldconfig might be confusing. This is a 32-bit conda installation running on a 64 bit host where there are two Pythons. Don't tell me this is a 32 bit product and won't run on a 64 bit!
libqgispython.so.3.4.4 (libc6,x86-64) => /usr/lib/libqgispython.so.3.4.4
libqgispython.so.2.18.16 (libc6,x86-64) => /usr/lib/libqgispython.so.2.18.16
libpython3.5m.so.1.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0
libpython3.5m.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libpython3.5m.so
libpython2.7.so.1.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
libpython2.7.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libpython2.7.so
libpyglib-2.0-python2.7.so.0 (libc6,x86-64) => /usr/lib/libpyglib-2.0-python2.7.so.0
libboost_python-py35.so.1.62.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_python-py35.so.1.62.0
libboost_python-py35.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_python-py35.so
libboost_python-py27.so.1.62.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.62.0
libboost_python-py27.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_python-py27.so
ldd lib/libpython*
lib/libpython3.7m.a:
not a dynamic executable
lib/libpython3.7m.so:
linux-gate.so.1 (0xf7701000)
libpthread.so.0 => /lib32/libpthread.so.0 (0xf7353000)
libc.so.6 => /lib32/libc.so.6 (0xf719b000)
libdl.so.2 => /lib32/libdl.so.2 (0xf7193000)
libutil.so.1 => /lib32/libutil.so.1 (0xf718b000)
librt.so.1 => /lib32/librt.so.1 (0xf717b000)
libm.so.6 => /lib32/libm.so.6 (0xf7123000)
/lib/ld-linux.so.2 (0xf7703000)
lib/libpython3.7m.so.1:
linux-gate.so.1 (0xf77f4000)
libpthread.so.0 => /lib32/libpthread.so.0 (0xf741b000)
libc.so.6 => /lib32/libc.so.6 (0xf7263000)
libdl.so.2 => /lib32/libdl.so.2 (0xf725b000)
libutil.so.1 => /lib32/libutil.so.1 (0xf7253000)
librt.so.1 => /lib32/librt.so.1 (0xf7243000)
libm.so.6 => /lib32/libm.so.6 (0xf71eb000)
/lib/ld-linux.so.2 (0xf77cb000)
lib/libpython3.7m.so.1.0:
linux-gate.so.1 (0xf77c4000)
libpthread.so.0 => /lib32/libpthread.so.0 (0xf73eb000)
libc.so.6 => /lib32/libc.so.6 (0xf7233000)
libdl.so.2 => /lib32/libdl.so.2 (0xf722b000)
libutil.so.1 => /lib32/libutil.so.1 (0xf7223000)
librt.so.1 => /lib32/librt.so.1 (0xf7213000)
libm.so.6 => /lib32/libm.so.6 (0xf71bb000)
/lib/ld-linux.so.2 (0xf779b000)
Thanks. There's no need to keep this open.
Thanks for the information. We will look into this.
Stale issue message
Questions
[ ] Which operating system are you using (if Linux, please provide flavour of it, i.e RedHat, CentOS or Ubuntu), is it 32-bit, or 64-bit?
[ ] Which version of PyQ are you running? Please provide output of
pyq --versions
, if PyQ isn't operational, please provide Python interpreter version and PyQ versionpython -V; python3 -V; pip list | grep pyq
:[ ] Which version of kdb+ are you using, is it 32-bit or 64-bit?
[ ] If on 64-bit, is your
QLIC
set? Please provide outputenv | grep QLIC
on linux/macOS, orset|grep QLIC
on Windows.[ ] Did you use virtual environment to install PyQ? If not, why?
[ ] Where is your
QHOME
? Please provide outputenv | grep QHOME
on linux/macOS, orset|grep QHOME
on Windows.[ ] Do you use Conda? If so, what version?
Steps to reproduce the issue
pyq
Expected result
Python 3.7.1 (default, Dec 14 2018, 19:51:47) [GCC 7.3.0] :: Anaconda custom (32-bit) on linux Type "help", "copyright", "credits" or "license" for more information.
Actual result
339$ pyq '2019.06.11T08:57:46.293 /misc/share/5/anaconda32/lib/libpython3.7m.a: invalid ELF header [4] /home/share/src/q-site/p.k:2: (
:./pyq 2:(
p_init;1)).pyq.python_dlWorkaround
If you know workaround, please provide it here.
Manual edit of ~/src/q/pyq-config.q so that the libpython3.7m.a is changed to .so
\d .pyq // python_dll:"/misc/share/5/anaconda32/lib/libpython3.7m.a\000" python_dll:"/misc/share/5/anaconda32/lib/libpython3.7m.so\000" pyq_executable:"/misc/share/5/anaconda32/bin/pyq"