switch-lan-play icon indicating copy to clipboard operation
switch-lan-play copied to clipboard

libpcap

Open mattogrady87 opened this issue 5 years ago • 5 comments

Why you have to use an ancient version of libpcap0.8 when its now at 1.9? I want to use this software on my Arch dist but I don't want to downgrade my libpcap and break other stuff :(

Edit:

Incase anyone else has this issue, all I did was create a symlink like this:

$: cd /usr/lib/
$: sudo ln -s /usr/lib/libpcap.so libpcap.so.0.8

Assuming that your libpcap is called libpcap.so and in your /usr/lib/ directory.

mattogrady87 avatar Dec 17 '18 20:12 mattogrady87

Because the linux build is for ubuntu and its latest version of libpcap is 0.8.

You can compile it yourself easily so that you don't need to symlink the file.

spacemeowx2 avatar Dec 18 '18 07:12 spacemeowx2

I want to say that this is also a problem on fedora. On the other hand, raspbian only ships 0.8, so I can understand this decision.

EDIT: In raspbian libpcap.so.0.8 is a symlink to libpcap.so.1.8.

A6GibKm avatar Mar 29 '20 19:03 A6GibKm

Could you name the binaries such that it's implied they're Ubuntu-only then? At a glance, the -linux suffix would imply it's some binary that works on multiple distributions (e.g. a statically linked one, or with non-libc dependencies statically linked).

refi64 avatar Mar 29 '20 19:03 refi64

Note that fedora and arch use version 1.9 while raspbian (probably debian and ubuntu too) 1.8, fedora names it libpcap.so.1 but raspbian calls it 0.8.

Could lan-play use whichever is present? It seems both versions are ABI compatible.

A6GibKm avatar Mar 29 '20 19:03 A6GibKm

Flatpak or docker image would be good!

anthr76 avatar Dec 20 '20 01:12 anthr76