[Mono-list] multiple dll mappings in library dllmap
doug.blank at gmail.com
Mon Feb 13 18:01:53 UTC 2012
On Sun, Jan 29, 2012 at 12:32 PM, Chris Morgan <chmorgan at gmail.com> wrote:
> 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?
Arguably, the OS should have sim links from libpcap.so to
libpcap.so.1. If not, surely that must be breaking some Linux standard
Can you create your own links to the correct files? That might require
a config script, but that is probably the "correct" way to handle the
> Mono-list maillist - Mono-list at lists.ximian.com
More information about the Mono-list