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

MacPorts noreply at macports.org
Thu Sep 16 12:23:32 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 DavidBAEpstein):

 Replying to Renee Otten

 I have learned some interesting things that I hadn't realized from your
 comments. So thanks for the comments.

 Here is what happened:
 Outside any virtual environment Macports' python3.7 accepts "import
 openslide" without demur. This is python 3.7.12, rather than my virtual
 environment's python 3.7.11. But I don't suppose that makes any
 difference.

 I ran recursive diff on the two site packages for openslide, one from the
 conda virtual environment, and one from /opt/local, that is from Macports.
 Yes, these do differ, but only in the binary files. I suppose this is
 caused by the use of different compilers.

 The upshot is that I still don't understand what is going on. Benjamin
 Gilbert, the owner of the port on Macports, has written to me that the
 virtual environment may be the cause of the problem, which is also what
 you think. But I don't think he believes that the problem is the use of
 conda with Macports. I believe (without evidence) that, if I were to use
 Brew, the problem would go away.

 Of course, this leaves me in exactly the same position I was in before,
 but with a little more knowledge. I am working as a small cog in a large
 software project, so a virtual environment is essential for me. The
 virtual environment I created to investigate the bug is the smallest
 possible to display the bug, and therefore (I thought) the least likely to
 cause a problem.

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


More information about the macports-tickets mailing list