Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Fleshcult

Take the role of an incubus or succubus. Seduce mortals into your lair 路 By Oneirolith

Linux: libcef.so missing/not recognised

A topic by QuaestorLucis created Dec 03, 2022 Views: 395 Replies: 4
Viewing posts 1 to 2

Hey, I don't have a Windows system and figured I'd give running it on Linux a shot. 

Short version: I couldn't get it to work, despite trying several workarounds, including Wine.

I tried running the cef_main directly with python3, and get the error message that it tries to open the file /game/cefpython3/libcef.so.

.../Fleshcult/game/cefpython3/subprocess: error while loading shared libraries: libcef.so: cannot open shared object file: No such file or directory

That file indeed does not appear to exist in that directory. There is a libcef.dll, but no .so file.

By renaming the cefpython3 directory, I forced the import to use my native cefpython installation. The file is actually present there, but the issue persisted. I tried copying the shared object files over to the original cefpython3 version packaged with the game, but again the same error occurred.

At this point we're getting into the guts of ctypes and libcef, and I'm not proficient enough with CEFPython to further analyse this issue.

I don't know if you can do anything with this information, but I figured I'd let you know in case you can do more with it.

Cheers
Quaestor

Developer

Well, it's a windows application with only the windows version of cefpython. This is well into trying to port it to linux, which I haven't attempted! I hear it runs under Proton but not under Wine, so that would be your best bet.

Transplanting a linux build of cefpython in there might work, but probably not without modification. Maybe the current directory is wrong for chromium's subprocess to find all its bits? If so, that's weird because I've run the game using a cefpython3 in site-packages before. Hmm, dunno.

Proton is WINE with Winetricks and somewhat optimized already by its developers for running with Steam (I think they are a sub-branch because Steam has a vested interest for Windows Games to run on the Linux-based Steamdeck.

Can you tell me what kind of Development-Environment you're using - unless that's too sensitive for you to reveal?
- Because most of them should offer to compile Program Versions for Linux, that can also include libraries already (Flatpacks, executable Images etc., but if cyfpython is available in Repositories of Distros, the dependency also shouldn't have a problem of being resolved - unless it's like with "Lilith's Throne" Java Version, where a very specific version is needed for its function/-alitie-s offered?).

So, Linux is always about whether or not the Software can be embedded into its needed dependencies really - not that much different than Windows really, but Windows-Programs often come with lots of overbearing redundancies and this can also be done in Linux, but it needs to be designated and documented more clearly, as far as I've learned using it for a couple of years (mostly Manjaro Linux - which is an Arch-based Distro but with more testing and delayed publishing libraries because of that, that can mess-up the system, too, if you're using the AUR, too).

So, yeah...I'm curious to learn what you're using, if you're willing to share that - maybe I can assist a little in figuring out how to compile a LInux-Version, that runs without too much hassle then. I'm not that much of a pro myself, but I'd think I'm a little more advanced User already since I've been learning it a couple of years already in Everyday Use (also for Gaming).

Cheers and happy Coding! <3

Developer(+1)

Making a native Linux version shouldn't have any major technical roadblocks, there are no Windows-only dependencies for example. It's just a question of time, particularly the on-going QA time. I'm already spread very thin so I haven't attempted it. The devil is in the details.

Fleshcult is a Python program - there's no compiling involved. I use PyCharm for an IDE, but that's not especially relevant here, you could use any Python IDE.

"The Devil" 饟啯馃槇饟啰
馃槣