You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hello
There are some problems in your way. I hope you can help me to solve them.
Here's my environmental information
system:centos6.9 centos7.2
python:3.6.5 3.6.8 and 3.6.x
install:yum or source code
question:The problem with yum installation is SystemError: initialization of _pgmagick raised unreported exception
,The problem with my source installation is /usr/lib64/python3.6/site-packages/pgmagick/_pgmagick.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZN5boost6python6detail11init_moduleER11PyModuleDefPFvvE
There are too many machines changed, so are the versions.boost-python has tried it in many ways
I encountered the same problem in Ubuntu 16.04.3.But I've settled it.The error message is ImportError: /usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0: undefined symbol: PyClass_Type
and my solution is
cp /usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0 .
rm -f /usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0
ln -sv /usr/lib/x86_64-linux-gnu/libboost_python-py35.so.1.58.0 /usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0
hello
There are some problems in your way. I hope you can help me to solve them.
Here's my environmental information
system:centos6.9 centos7.2
python:3.6.5 3.6.8 and 3.6.x
install:yum or source code
question:The problem with yum installation is SystemError: initialization of _pgmagick raised unreported exception
,The problem with my source installation is /usr/lib64/python3.6/site-packages/pgmagick/_pgmagick.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZN5boost6python6detail11init_moduleER11PyModuleDefPFvvE
There are too many machines changed, so are the versions.boost-python has tried it in many ways
ldd result
linux-vdso.so.1 => (0x00007ffe5d1b3000)
libboost_python-mt.so.5 => /usr/lib64/libboost_python-mt.so.5 (0x00007fcbc7be3000)
libGraphicsMagick++.so.12 => /usr/local/lib/libGraphicsMagick++.so.12 (0x00007fcbc7955000)
libstdc++.so.6 => /usr/local/lib64/libstdc++.so.6 (0x00007fcbc764c000)
libm.so.6 => /lib64/libm.so.6 (0x00007fcbc73c8000)
libgcc_s.so.1 => /usr/local/lib64/libgcc_s.so.1 (0x00007fcbc71b2000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fcbc6f95000)
libc.so.6 => /lib64/libc.so.6 (0x00007fcbc6c01000)
librt.so.1 => /lib64/librt.so.1 (0x00007fcbc69f9000)
libpython2.6.so.1.0 => /usr/lib64/libpython2.6.so.1.0 (0x00007fcbc6653000)
libGraphicsMagick.so.3 => /usr/local/lib/libGraphicsMagick.so.3 (0x00007fcbc61c4000)
libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007fcbc5f27000)
libpng12.so.0 => /usr/lib64/libpng12.so.0 (0x00007fcbc5d01000)
libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007fcbc5aef000)
libSM.so.6 => /usr/lib64/libSM.so.6 (0x00007fcbc58e7000)
libICE.so.6 => /usr/lib64/libICE.so.6 (0x00007fcbc56cb000)
libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007fcbc538e000)
libbz2.so.1 => /lib64/libbz2.so.1 (0x00007fcbc517d000)
libz.so.1 => /lib64/libz.so.1 (0x00007fcbc4f67000)
libgomp.so.1 => /usr/local/lib/../lib64/libgomp.so.1 (0x00007fcbc4d59000)
/lib64/ld-linux-x86-64.so.2 (0x00007fcbc8368000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007fcbc4b55000)
libutil.so.1 => /lib64/libutil.so.1 (0x00007fcbc4952000)
libuuid.so.1 => /lib64/libuuid.so.1 (0x00007fcbc474e000)
libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007fcbc4529000)
libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007fcbc4326000)
The text was updated successfully, but these errors were encountered: