Skip to content
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
Merged

Add .so filename for FreeBSD #252

merged 1 commit into from Aug 2, 2015

Conversation

@pellaeon
Copy link
Contributor

@pellaeon 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.

On FreeBSD 10.1 libMagickWand is located at
/usr/local/lib/libMagickWand-6.so
@dahlia
Copy link
Collaborator

@dahlia dahlia commented Aug 2, 2015

Thanks for your effort!

dahlia added a commit that referenced this issue Aug 2, 2015
Add .so filename for FreeBSD
@dahlia dahlia merged commit c5b3632 into emcconville:master Aug 2, 2015
2 checks passed
dahlia added a commit that referenced this issue Aug 2, 2015
pellaeon added a commit to sitcon-tw/roboconf that referenced this issue Oct 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants