c++ - How could I link a linux .so shared library in Mac os? -
i have third party gives me .so
file compiled shared library.
just like:
file securitymduserapi.so securitymduserapi.so: elf 64-bit lsb shared object, x86-64, version 1 (sysv), dynamically linked, not stripped
but when try use otool
show more info, got error:
otool -l securitymduserapi.so securitymduserapi.so: not object file
it's possible link linux compile .so shared library in macos.
mac os version: 10.10.3
i'm still wondering linux architecture mac, if create shared library in linux, can try use shared library in mac os?
if create shared library in linux, can try use shared library in mac os?
you can try, can't succeed.
you wouldn't expect able use windows .dll
on macos, you? linux .so
no different in context.
Comments
Post a Comment