[MacPorts] #63492: py37-openslide @1.1.2_1: OSError: dlopen(libopenslide.0.dylib, 6): image not found

MacPorts noreply at macports.org
Wed Sep 15 17:46:17 UTC 2021


#63492: py37-openslide @1.1.2_1: OSError: dlopen(libopenslide.0.dylib, 6): image
not found
--------------------------------------+----------------------
  Reporter:  DavidBAEpstein           |      Owner:  bgilbert
      Type:  defect                   |     Status:  assigned
  Priority:  Normal                   |  Milestone:
 Component:  ports                    |    Version:  2.7.1
Resolution:                           |   Keywords:
      Port:  openslide, py-openslide  |
--------------------------------------+----------------------

Comment (by jmroot):

 Disregarding the comment, the technique in the fallback case should
 normally work (we do add ${prefix}/lib to DEFAULT_LIBRARY_FALLBACK in
 python3x as well):
 {{{
 >>> import ctypes.util
 >>> _lib = ctypes.util.find_library('png')
 >>> print(_lib)
 /opt/local/lib/libpng.dylib
 }}}
 Having DYLD_FALLBACK_LIBRARY_PATH set in the environment would be one way
 to make that not work.

-- 
Ticket URL: <https://trac.macports.org/ticket/63492#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list