spacemeowx2 / switch-lan-play

Enjoy games with your friends as if you were on a LAN.
GNU General Public License v3.0
1.79k stars 190 forks source link

libpcap #31

Open mattogrady87 opened 5 years ago

mattogrady87 commented 5 years ago

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.

spacemeowx2 commented 5 years ago

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.

A6GibKm commented 4 years ago

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.

refi64 commented 4 years ago

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

A6GibKm commented 4 years ago

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.

anthr76 commented 3 years ago

Flatpak or docker image would be good!