[Mono-dev] DllImport on Mac

Brandon Perry bperry.volatile at gmail.com
Mon Oct 20 00:13:11 UTC 2014

I have a set of C# bindings I have written for the ClamAV project which
work on Windows and Linux by simply DllImport("clamav").

On mac, libclamav.6.dylib gets installed into

I cannot for the life of my figure out how to reference this library on mac
for a DllImport. I have tried an absolute path as well as every permutation
of the library name as possible since DllImport will auto detect the

Any thoughts on referencing a dylib with DllImport? Thanks!

http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20141019/427e9bd2/attachment.html>

More information about the Mono-devel-list mailing list