hhatto / pgmagick

pgmagick is a yet another boost.python based wrapper for GraphicsMagick/ImageMagick.
MIT License
147 stars 33 forks source link

pgmagick/_pgmagick.cpython-36m-x86_64-linux-gnu.so: undefined symbol #71

Open snakecy opened 3 years ago

hhatto commented 3 years ago

@snakecy Thanks for reporting. Can you tell me about your environment?

Your Environment

snakecy commented 3 years ago

@snakecy Thanks for reporting. Can you tell me about your environment?

Your Environment

  • Python version:
  • pgmagick version:
  • Platform: windows, linux, macOSX, and other OS...

python version: 3.6.10 pgmagick version: 0.7.6 Platform: CentOS 7.6

error: python demo.py

Traceback (most recent call last):
  File "demo.py", line 112, in <module>
    get_magick()
  File "demo.py", line 99, in get_magick
    from pgmagick import Image
  File "/home/xx/anaconda3/envs/py36/lib/python3.6/site-packages/pgmagick/__init__.py", line 1, in <module>
    from pgmagick import _pgmagick
ImportError: /home/xx/anaconda3/envs/py36/lib/python3.6/site-packages/pgmagick/_pgmagick.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZN5boost6python6detail11init_moduleER11PyModuleDefPFvvE
yanchunhuo commented 3 years ago

the same error: python version: 3.6.8 pgmagick version: 0.7.6 Platform: CentOS 7.6

====================== Traceback (most recent call last): File "", line 1, in File "/home/admin/AutomationTestEnv/lib64/python3.6/site-packages/pgmagick/init.py", line 1, in from pgmagick import _pgmagick ImportError: /home/admin/AutomationTestEnv/lib64/python3.6/site-packages/pgmagick/_pgmagick.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZN6Magick5ColorC1Ehhhh