[MacPorts] #67077: scotch @7.0.2: can no longer be dlopen'ed

MacPorts noreply at macports.org
Sun May 7 14:45:36 UTC 2023


#67077: scotch @7.0.2: can no longer be dlopen'ed
-------------------------------+---------------------------------
  Reporter:  FreddieWitherden  |      Owner:  MarcusCalhoun-Lopez
      Type:  defect            |     Status:  assigned
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:
Resolution:                    |   Keywords:
      Port:  scotch            |
-------------------------------+---------------------------------

Comment (by catap):

 Freddie,

 I have some time to think about this issue, and you may use following
 example as the right way to load scotch into python:
 {{{
 Python 3.9.16 (main, Dec  7 2022, 02:41:07)
 [Clang 13.0.0 (clang-1300.0.29.30)] on darwin
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import ctypes
 >>> ctypes.CDLL('/opt/local/lib/libscotcherr.dylib',
 mode=ctypes.RTLD_GLOBAL)
 <CDLL '/opt/local/lib/libscotcherr.dylib', handle 219368560 at
 0x10cd9cf70>
 >>> ctypes.CDLL('/opt/local/lib/libscotch.dylib')
 <CDLL '/opt/local/lib/libscotch.dylib', handle 21936a700 at 0x10cd84f70>
 >>>
 }}}

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


More information about the macports-tickets mailing list