libpcap0.8 required?

Asked by Phydeaux on 2014-08-25

Hi

I have noticed that version 1.7.25~ubuntu14.04.1 of the wine-compholio package has a dependancy on libpcap0.8.

I wondered why this is? It seems odd.

Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Pipelight Edit question
Assignee:
No assignee Edit question
Solved by:
Michael Müller
Solved:
2014-08-25
Last query:
2014-08-25
Last reply:
2014-08-25
Best Michael Müller (mqchael) said : #1

Hi,

the reason for this is that Wine now supports a Pcap -> WinPcap wrapper. It is one of the feature mentioned in the Wine release notes: https://www.winehq.org/announce/1.7.25

I have to agree that it is questionable whether you want a version build with it. Most of the libraries in Wine are loaded dynamically, so that we can make an optional dependency on it. Wine would simply print a warning when the library is not available, but this is not the case for pcap which is statically linked. We only had the choice to make it a hard dependency or disable the feature completely. Since most people have trouble compiling Wine on their own, we decided to include the feature as test in our Ubuntu builds only. However we also talked to person who is responsible for this wrapper and asked him to convert it into a dynamic loadable library. We hope to convert this to an optional dependency in the future.

PS: By default your user account does not have the necessary permissions to sniff any traffic using Pcap.

Michael

Phydeaux (phydeaux) said : #2

Thanks Michael Müller, that solved my question.