New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add .so filename for FreeBSD #252

Merged
merged 1 commit into from Aug 2, 2015

Conversation

2 participants
@pellaeon
Contributor

pellaeon commented Jul 19, 2015

Original error:

>>> from wand.image import Image
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/site-packages/wand/image.py", line 20, in <module>
    from .api import MagickPixelPacket, libc, libmagick, library
  File "/usr/local/lib/python2.7/site-packages/wand/api.py", line 176, in <module>
    'Try to install:\n  ' + msg)
ImportError: MagickWand shared library not found.
You probably had not installed ImageMagick library.
Try to install:
  pkg_add -r
>>> sys.modules['wand._api'].load_library()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/site-packages/wand/api.py", line 107, in load_library
    raise IOError('cannot find library; tried paths: ' + repr(tried_paths))
IOError: cannot find library; tried paths: ['libMagickWand.so.5']

On FreeBSD 10.1 libMagickWand is located at /usr/local/lib/libMagickWand-6.so.

Add .so filename for FreeBSD.
On FreeBSD 10.1 libMagickWand is located at
/usr/local/lib/libMagickWand-6.so
@dahlia

This comment has been minimized.

Collaborator

dahlia commented Aug 2, 2015

Thanks for your effort!

dahlia added a commit that referenced this pull request Aug 2, 2015

Merge pull request #252 from pellaeon/master
Add .so filename for FreeBSD

@dahlia dahlia merged commit c5b3632 into emcconville:master Aug 2, 2015

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
coverage/coveralls Coverage remained the same at 84.895%
Details

dahlia added a commit that referenced this pull request Aug 2, 2015

pellaeon added a commit to sitcon-tw/roboconf that referenced this pull request Oct 3, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment