[issue43898] Python fails to import .dylib but works when extension is changed to .so

2021-04-21 Thread Ellis trisk-grove
Ellis trisk-grove added the comment: This is with regards to an python extension written in zig (I believe the same behaviour would occur from C as I am just using Python.h). What happens is when I compile the library on my mac it generates myLibrary.dylib file, when testing with python the

[issue43898] Python fails to import .dylib but works when extension is changed to .so

2021-04-20 Thread Ellis trisk-grove
New submission from Ellis trisk-grove : This issue is pretty much summed up by the title. Python does manage to import the library and use it however only when the extension is .so otherwise python cannot find it and fails to import. -- components: macOS messages: 391473 nosy