[MacPorts] #62921: Symbol not found in pytorch on macOS 11

MacPorts noreply at macports.org
Tue May 18 14:00:51 UTC 2021


#62921: Symbol not found in pytorch on macOS 11
-----------------------+--------------------------
 Reporter:  essandess  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.6.4
 Keywords:             |       Port:  py39-pytorch
-----------------------+--------------------------
 {{{
 python3 -c 'import torch'
 Traceback (most recent call last):
   File "<string>", line 1, in <module>
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/torch/__init__.py", line 196, in <module>
     from torch._C import *
 ImportError:
 dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/torch/_C.cpython-39-darwin.so, 2): Symbol not found:
 __ZN6google21kLogSiteUninitializedE
   Referenced from:
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/torch/lib/libc10.dylib
   Expected in: /opt/local/lib/libglog.0.dylib
  in
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/torch/lib/libc10.dylib
 }}}

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


More information about the macports-tickets mailing list