2

Having installed pythonnet 2.4.0, and mono

(dash_apps_36) idf@ubvm:~/Documents/python/PythonWrapper.For.CS$ mono --version
Mono JIT compiler version 6.4.0.198 (tarball Tue Sep 24 01:21:28 UTC 2019)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
    TLS:           __thread
    SIGSEGV:       altstack
    Notifications: epoll
    Architecture:  amd64
    Disabled:      none
    Misc:          softdebug 
    Interpreter:   yes
    LLVM:          yes(610)
    Suspend:       hybrid
    GC:            sgen (concurrent by default)

I created a one line program:

import clr

When I run it, I get an error:

(dash_apps_36) idf@ubvm:~/Documents/python/PythonWrapper.For.CS$ python testclr.py 
Traceback (most recent call last):
  File "testclr.py", line 1, in <module>
    import clr
ImportError: /usr/lib/libmonosgen-2.0.so.1: undefined symbol: _ZTIPi
Ivan
  • 7,448
  • 14
  • 69
  • 134

0 Answers0