[Mono-list] multiple dll mappings in library dllmap

Chris Morgan chmorgan at gmail.com
Sun Jan 29 17:32:09 UTC 2012


Hello.

I'm trying to dll map libpcap for the SharpPcap.dll.config file. The
difficulty is that different distros have different dll names:

ubuntu has libpcap.so.0.8 and libpcap.so.1.1.1, fedora appears to have
libpcap.so.1 and libpcap.so.1.2.1.

The documentation for dll mapping,
http://www.mono-project.com/Config_DllMap, doesn't seem to indicate
that multiple names are supported and testing with multiple dllmap
entries shows that the last entry takes effect.

I also tried using a wildcard like '*' but that doesn't seem to work either.

Any ideas on how I might be able to map to all three of these dll
versions so I can maintain compatibility with multiple distributions?

Chris


More information about the Mono-list mailing list