Dolphin, the GameCube and Wii emulator - Forums
libsfml-network2 unable to be opened - Printable Version

+- Dolphin, the GameCube and Wii emulator - Forums (https://forums.dolphin-emu.org)
+-- Forum: Dolphin Emulator Discussion and Support (https://forums.dolphin-emu.org/Forum-dolphin-emulator-discussion-and-support)
+--- Forum: Support (https://forums.dolphin-emu.org/Forum-support)
+--- Thread: libsfml-network2 unable to be opened (/Thread-libsfml-network2-unable-to-be-opened)



libsfml-network2 unable to be opened - Ashvas - 12-04-2015

When I try to run dolphin 4.0 v7840, which I had to force depackage the .deb file for (in Ubuntu 15.10) since various unnecessary dependencies aren't met. I do end up however receiving this error when trying to run it "dolphin-emu: error while loading shared libraries: libsfml-network.so.2: cannot open shared object file: No such file or directory". I do have libsfml-network2.3v5 installed on my system, so I don't know what the problem could be. Any idea how to fix this?


RE: libsfml-network2 unable to be opened - Anti-Ultimate - 12-04-2015

(12-04-2015, 09:10 AM)Ashvas Wrote: When I try to run dolphin 4.0 v7840, which I had to force depackage the .deb file for (in Ubuntu 15.10) since various unnecessary dependencies aren't met. I do end up however receiving this error when trying to run it "dolphin-emu: error while loading shared libraries: libsfml-network.so.2: cannot open shared object file: No such file or directory". I do have libsfml-network2.3v5 installed on my system, so I don't know what the problem could be. Any idea how to fix this?

https://wiki.dolphin-emu.org/index.php?title=Building_Dolphin_on_Linux#Build_Dependencies
Quote:[color=black]libsfml-dev (>= 2.1)
if not found will be built statically
[/color]

What do you mean with you force depackaged the deb? Do you mean you extracted it and just executed the dolphin-emu binary? That won't work


RE: libsfml-network2 unable to be opened - Ashvas - 12-05-2015

(12-04-2015, 04:01 PM)Anti-Ultimate Wrote:
(12-04-2015, 09:10 AM)Ashvas Wrote: When I try to run dolphin 4.0 v7840, which I had to force depackage the .deb file for (in Ubuntu 15.10) since various unnecessary dependencies aren't met. I do end up however receiving this error when trying to run it "dolphin-emu: error while loading shared libraries: libsfml-network.so.2: cannot open shared object file: No such file or directory". I do have libsfml-network2.3v5 installed on my system, so I don't know what the problem could be. Any idea how to fix this?

https://wiki.dolphin-emu.org/index.php?title=Building_Dolphin_on_Linux#Build_Dependencies
Quote:[color=black]libsfml-dev (>= 2.1)
if not found will be built statically
[/color]

What do you mean with you force depackaged the deb? Do you mean you extracted it and just executed the dolphin-emu binary? That won't work

I have libsfml-dev >= 2.1
As in "dpkg --force-all -i dolphin-master-4.0-7161_amd64"


RE: libsfml-network2 unable to be opened - leolam - 12-08-2015

Using --force-all with dpkg is a horrible idea. In most cases, if dpkg prevents you from doing something, it's that there's a reason to it… In this case it's mostly harmless since it didn't break anything and simply resulted in an unusable install of Dolphin, but who knows what might happen with other packages.

Even dpkg itself says this.

Code:
dpkg forcing options - control behaviour when problems found:
Forcing things:
  [!] all                Set all force options
[...]
WARNING - use of options marked [!] can seriously damage your installation.

The dependencies do seem to be a bit broken for 15.10 (whereas they used to be fine for 15.04). I'd suggest using the PPA instead so you have no dependency issue and have an always up-to-date Dolphin build:

Code:
sudo add-apt-repository ppa:dolphin-emu/ppa
sudo apt-get update
sudo apt-get install dolphin-emu-master
(source: https://wiki.dolphin-emu.org/index.php?title=Installing_Dolphin#Ubuntu)


RE: libsfml-network2 unable to be opened - Ashvas - 12-10-2015

(12-08-2015, 06:46 AM)leolam Wrote: Using --force-all with dpkg is a horrible idea. In most cases, if dpkg prevents you from doing something, it's that there's a reason to it… In this case it's mostly harmless since it didn't break anything and simply resulted in an unusable install of Dolphin, but who knows what might happen with other packages.

Even dpkg itself says this.

Code:
dpkg forcing options - control behaviour when problems found:
Forcing things:
  [!] all                Set all force options
[...]
WARNING - use of options marked [!] can seriously damage your installation.

The dependencies do seem to be a bit broken for 15.10 (whereas they used to be fine for 15.04). I'd suggest using the PPA instead so you have no dependency issue and have an always up-to-date Dolphin build:

Code:
sudo add-apt-repository ppa:dolphin-emu/ppa
sudo apt-get update
sudo apt-get install dolphin-emu-master
(source: https://wiki.dolphin-emu.org/index.php?title=Installing_Dolphin#Ubuntu)

I would use the PPA but I need the specific version I mentioned in order to do Netplay with others (it is the official version used for Super Smash netplay)


RE: libsfml-network2 unable to be opened - leolam - 12-11-2015

In that case, you could try to look into the required dependencies and get them from the PPA. Or you could build Dolphin yourself since you're only going to need a specific build.


RE: libsfml-network2 unable to be opened - Ashvas - 12-11-2015

(12-11-2015, 04:14 AM)leolam Wrote: In that case, you could try to look into the required dependencies and get them from the PPA. Or you could build Dolphin yourself since you're only going to need a specific build.

When I built it myself, it didn't have the proper Gecko Codes, and adding them did nothing as they deleted themselves. When I got the dependency for libsfml-network2, it just didn't recognize it, is there a way to make it find it?


RE: libsfml-network2 unable to be opened - leolam - 12-12-2015

What do you mean by "Gecko Codes"? The cheat codes in the Properties dialog? Why would they delete themselves though…? Are your other settings kept or automatically reset?


RE: libsfml-network2 unable to be opened - Ashvas - 12-16-2015

(12-12-2015, 02:24 AM)leolam Wrote: What do you mean by "Gecko Codes"? The cheat codes in the Properties dialog? Why would they delete themselves though…? Are your other settings kept or automatically reset?

When you open properties for a specific games where it has AR codes and Gecko codes. My other settings keep themselves.