[MacPorts] #67077: Scotch can no longer be dlopen'ed

MacPorts noreply at macports.org
Thu Mar 9 21:24:20 UTC 2023

#67077: Scotch can no longer be dlopen'ed
 Reporter:  FreddieWitherden  |      Owner:  (none)
     Type:  defect            |     Status:  new
 Priority:  Normal            |  Milestone:
Component:  ports             |    Version:
 Keywords:                    |       Port:  scotch
 Historically, the scotch port has carried a patch (in line with Ubuntu and
 several other Linux distributions) to enable it to be dlopen'ed.  However,
 this appears to no longer be present whence:

 $ python3
 Python 3.9.6 (default, Oct 18 2022, 12:41:40)
 [Clang 14.0.0 (clang-1400.0.29.202)] on darwin
 Type "help", "copyright", "credits" or "license" for more information.
 >>> from ctypes import *
 >>> CDLL('/opt/local/lib/libscotch.dylib')
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
 line 366, in __init__
     self._handle = _dlopen(self._name, mode)
 OSError: dlopen(/opt/local/lib/libscotch.dylib, 0x0006): symbol not found
 in flat namespace '_SCOTCH_errorPrint'

Ticket URL: <https://trac.macports.org/ticket/67077>
MacPorts <https://www.macports.org/>
Ports system for macOS

More information about the macports-tickets mailing list