On Sun, Jan 29, 2012 at 12:32 PM, Chris Morgan <[email protected]> wrote:
> 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?

Arguably, the OS should have sim links from  libpcap.so  to
libpcap.so.1. If not, surely that must be breaking some Linux standard
rules.

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
problem.

-Doug

> Chris
> _______________________________________________
> Mono-list maillist  -  [email protected]
> http://lists.ximian.com/mailman/listinfo/mono-list
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to