Help with Floating Sandbox

I have an issue with an app after updating Manjaro. Floating Sandbox is requesting a older version than is currently installed.
Here’s the error output from terminal:

/home/cdeck94/Public/dlGames/floating-sandbox-1.19.1-x64/FloatingSandbox: error while loading shared libraries: libsfml-audio.so.2.6: cannot open shared object file: No such file or directory

from what i can gather, the package is now on version 3.x.

Help please.

You haven’t mentioned how you installed Floating Sandbox. I can’t find it in the repos or the AUR. If you manually compiled it, then you may need to recompile it against the new sfml v3 libraries. You should also check to see if a newer version of Floating Sandbox that works with sfml v3 has been released.

If that doesn’t work, then you could try installing the sfml2 v2.6.2-1 package from the AUR:

pamac build sfml2

It will install the following libraries:

/opt/sfml2/lib/libsfml-audio.so
/opt/sfml2/lib/libsfml-audio.so.2.6
/opt/sfml2/lib/libsfml-audio.so.2.6.2
/opt/sfml2/lib/libsfml-graphics.so
/opt/sfml2/lib/libsfml-graphics.so.2.6
/opt/sfml2/lib/libsfml-graphics.so.2.6.2
/opt/sfml2/lib/libsfml-network.so
/opt/sfml2/lib/libsfml-network.so.2.6
/opt/sfml2/lib/libsfml-network.so.2.6.2
/opt/sfml2/lib/libsfml-system.so
/opt/sfml2/lib/libsfml-system.so.2.6
/opt/sfml2/lib/libsfml-system.so.2.6.2
/opt/sfml2/lib/libsfml-window.so
/opt/sfml2/lib/libsfml-window.so.2.6
/opt/sfml2/lib/libsfml-window.so.2.6.2

It shouldn’t clash with the sfml v3 package you currently have on your system, as that package installs its libraries to:

/usr/lib/libsfml-audio.so
/usr/lib/libsfml-audio.so.3.0
/usr/lib/libsfml-audio.so.3.0.0
/usr/lib/libsfml-graphics.so
/usr/lib/libsfml-graphics.so.3.0
/usr/lib/libsfml-graphics.so.3.0.0
/usr/lib/libsfml-network.so
/usr/lib/libsfml-network.so.3.0
/usr/lib/libsfml-network.so.3.0.0
/usr/lib/libsfml-system.so
/usr/lib/libsfml-system.so.3.0
/usr/lib/libsfml-system.so.3.0.0
/usr/lib/libsfml-window.so
/usr/lib/libsfml-window.so.3.0
/usr/lib/libsfml-window.so.3.0.0

Hopefully Floating Sandbox won’t have any issues locating the sfml2 libraries.

2 Likes

so i downloaded it directly from them, then expanded the file and it launches from there (assuming that mean they compiled it?). And i did check for update, still same version from 3mo ago.

https:// gamejolt. com/ games /floating-sandbox/ 353572

as for trying to just get the smfl2 pkg agn, this is what i get:

pamac build sfml2  :heavy_check_mark:
Failed to read AUR data from /var/lib/pacman/sync/packages-meta-ext-v1.json.gz : Error opening file /var/lib/pacman/sync/packages-meta-ext-v1.json.gz: No such file or directory
Failed to read AUR data from /var/lib/pacman/sync/packages-meta-ext-v1.json.gz : Error opening file /var/lib/pacman/sync/packages-meta-ext-v1.json.gz: No such file or directory
Error: target not found: sfml2

Program is outdated. Funny is that Windows Version provide all necessary libraries, while the Linux Version is just the plain program.

pamac update --aur --force-refresh
pamac build sfml2
# Run it:
GDK_BACKEND=x11 LD_LIBRARY_PATH=/opt/sfml2/lib/ ./FloatingSandbox

“Program is outdated. Funny is that Windows Version provide all necessary libraries, while the Linux Version is just the plain program.”

Yea they barely care apparently.

As for the code you submitted, it seemed to work (as far as installing it), but did not have the desired effect (the game can not see it) {I did change my install folder to the proper one}:

it built it into the temp folder, but im assuming that not good enough for the game to use. i did copy that to the games directory just to save it, but i dont know where the game expects to find it (or if i can tell the game to look elsewhere so i dont bork the updated one that manjaro has put in now)

It’s not code, that are commands.

Okay, 7 days later, one step further…

You know, there is a reason why I added

LD_LIBRARY_PATH=/opt/sfml2/lib/

It is the path to find this ancient library, because if it would be in /usr/lib by default, it would compete with sfml3, which is not compatible with that program. Therefore, it gets installed in a different folder, where you can call this library explicitly.

# I extracted the archive here:
# /home/$USER/Downloads/floating-sandbox-1.19.1-x64
# then you need to change the current dirrectory on the terminal:
cd /home/$USER/Downloads/floating-sandbox-1.19.1-x64
# Check what working dir you are in:
pwd
# Check what content is there:
ls -la
# If it is the program, then run it in the current dir:
GDK_BACKEND=x11 LD_LIBRARY_PATH=/opt/sfml2/lib/ ./FloatingSandbox
1 Like

I was drinking, i’m aware commands are not code lol. as for 7 days, i work alot.

i was able to get this to run like this:

cd /home/..../Public/dlGames/floating-sandbox-1.19.1-x64     ✔ 
    ~/Pu/d/floating-sandbox-1.19.1-x64  ls                             ✔ 
changes.txt  FloatingSandbox  license.txt          README.md    Ships
Data         Guides           pamac-build-cdeck94  ShipBuilder
    ~/Pu/d/floating-sandbox-1.19.1-x64  GDK_BACKEND=x11 LD_LIBRARY_PATH=/opt/sfml2/lib/ ./FloatingSandbox
19:58:21.354709:Floating Sandbox 1.19.1.5 x86 64-bit Linux RELEASE (Jan 22 2025) @ 2025-05-08

19:58:21.450533:ResourceLocator: argv0=./FloatingSandbox rootPath="/home/cdeck94/Public/dlGames/floating-sandbox-1.19.1-x64" currentPath="/home/cdeck94/Public/dlGames/floating-sandbox-1.19.1-x64"

19:58:21.662916:Enforced language for desired identifier "<N/A>": "en_US"

19:58:21.771666:GLCanvas(100): ContentScaleFactor=1 DPIScaleFactor=0.947917 100x100dip=100x100px

19:58:22.028268:OnMainGLCanvasResize: 20x20 (Without GameController)

19:58:22.059683:GLCanvas(-1): ContentScaleFactor=1 DPIScaleFactor=0.947917 100x100dip=100x100px

19:58:22.099842:SplashScreenDialog::Show(): Completed

19:58:22.155634:Loaded 728 structural materials.

19:58:22.157992:Loaded 97 electrical materials.

19:58:22.193190:TaskThread::TaskThread(): not starting thread - will be simulating multi-threading

19:58:22.193800:MainFrame::MakeOpenGLContextCurrent()

19:58:22.241802:OpenGL version: 4.6

19:58:22.241850:GL_VENDOR=NVIDIA Corporation

19:58:22.241859:GL_RENDERER=NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2

19:58:22.241921:Has GL_ARB_debug_output: YES

19:58:22.241959:GL_MAX_VERTEX_ATTRIBS=16

19:58:22.241972:GL_MAX_VIEWPORT_DIMS=32768x32768

19:58:22.241985:GL_MAX_TEXTURE_SIZE=32768

19:58:22.241995:GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS=192

19:58:22.242005:GL_MAX_RENDERBUFFER_SIZE=32768

19:58:22.242016:AvoidGlFinish=0

19:58:22.242026:RenderContext: DoInvokeGlFinish=1

19:58:22.247397:Initializing shaders...

19:58:24.170176:...shaders initialized.

19:58:24.374897:Generic linear texture atlas size: (2048 x 256)

19:58:24.604601:Generic mipmapped texture atlas size: (4096 x 2048)

19:58:25.217447:Explosion texture atlas size: (4096 x 4096)

19:58:25.251238:NPC texture atlas size: (512 x 1024)

19:58:25.394236:Cloud texture atlas size: (2048 x 2048)

19:58:25.437506:Fish texture atlas size: (1024 x 512)

19:58:25.997676:Font texture atlas size: (512 x 512)

19:58:26.025014:ThreadManager: isRenderingMultithreaded=NO maxSimulationParallelism=6 simulationParallism=6

19:58:26.025061:ThreadPool: creating thread pool with parallelism=6

19:58:26.027019:Next storm activating in 2818.74 seconds.

19:58:27.030912:CPU Calibration: iterationCount=392 score=1

19:58:27.030977:Graphics Calibration: score=1

19:58:33.822136:ShipPreviewPanel::OnResized(674, 622 (client)): processing...

19:58:33.822181:ShipPreviewPanel::RecalculateGeometry(674, 622, 0): nCols=3 nRows=0 expHMargin=16 virtH=0

19:58:33.822190:ShipPreviewPanel::OnResized: ...processing completed.

19:58:33.822239:ShipPreviewPanel::OnResized(684, 622 (client)): processing...

19:58:33.822251:ShipPreviewPanel::RecalculateGeometry(684, 622, 0): nCols=3 nRows=0 expHMargin=20 virtH=0

19:58:33.822276:ShipPreviewPanel::OnResized: ...processing completed.

19:58:33.829799:MainFrame::MakeOpenGLContextCurrent()

19:58:33.895276:LayoutOptimizer: 6533 perfect squares, 643 leftover points, 1292 leftover springs

19:58:33.903963:ShipFactory: Spring ACMR: original=0.52578, optimized=0.549956

19:58:33.914824:ShipFactory: completed frontiers: time=1895us

19:58:33.929994:ShipStrengthRandomizer: completed randomization: numberOfCracks=93 time=15103us

19:58:33.931749:ShipFloorplanizer: completed floorplan: floorTiles=1621 time=1723us

19:58:34.004827:ShipTexturizer: completed auto-texturization: shipSize=(234 x 67) textureSize=(3978 x 1139) time=56048us

19:58:34.082472:ShipTexturizer: completed interior view: shipSize=(234 x 67) textureSize=(3978 x 1139) time=17465us

19:58:34.082552:ShipFactory: Created ship: W=234, H=67, 7654raw/11752buf points, 27424 springs (6533 perfect squares, 95%), 13210 triangles, 1753 electrical elements, 4 frontiers.

19:58:34.083983:ShipFactory: Create() took 208042us

19:58:34.117283:OnEngineControllerCreated(EEID=0:2 IID=0)

19:58:34.118374:OnPowerProbeCreated(EEID=0:4 IID=8): State=1

19:58:34.119326:OnSwitchCreated(EEID=0:463 IID=6): State=1

19:58:34.120360:OnSwitchCreated(EEID=0:465 IID=5): State=1

19:58:34.121375:OnSwitchCreated(EEID=0:1449 IID=4): State=1

19:58:34.122322:OnSwitchCreated(EEID=0:1457 IID=3): State=1

19:58:34.123222:OnSwitchCreated(EEID=0:1460 IID=2): State=1

19:58:34.124252:OnSwitchCreated(EEID=0:1461 IID=1): State=1

19:58:34.125191:OnSwitchCreated(EEID=0:1614 IID=9): State=0

19:58:34.126058:OnSwitchCreated(EEID=0:1686 IID=10): State=0

19:58:34.126941:OnEngineMonitorCreated(EEID=0:1699 IID=7): Thrust=0 RPM=0

19:58:34.127840:Layout: decoratedW=19, decoratedH=1, W=19 H=1

19:58:34.128173:OnMainGLCanvasResize: 20x0 (With GameController)

19:58:34.128486:OnMainGLCanvasResize: 20x0 (With GameController)

19:58:34.128658:Post-Initialize took 12.099s

19:58:34.128676:Game timer duration: 15

19:58:34.131799:MainFrame::OnPostInitializeIdle()

19:58:34.132915:Ship::RecalculateSpringRelaxationSpringForcesParallelism: springs=27424 simulationParallelism=6 springRelaxationParallelism=1

19:58:34.132948:Ship::RecalculateSpringRelaxationIntegrationAndSeaFloorCollisionParallelism: points=11752 simulationParallelism=6 actualParallelism=1

19:58:34.132963:Ship::RecalculateLightDiffusionParallelism: points=7656 simulationParallelism=6 lightDiffusionParallelism=3

19:58:34.177006:MainFrame::AfterGameRender: showing frame

19:58:34.178008:OnMainGLCanvasResize: 400x59 (With GameController)

19:58:34.193307:OnMainGLCanvasResize: 458x59 (With GameController)

19:58:34.198033:OnMainGLCanvasResize: 458x59 (With GameController)

19:58:34.278579:MainFrame::OnMainGLCanvasPaint(): rebinding OpenGLContext to main GL canvas, and hiding SplashScreen

19:58:34.278636:MainFrame::MakeOpenGLContextCurrent()

19:58:34.285198:GLCanvas::~GLCanvas()

19:58:34.384646:OnMainGLCanvasResize: 1600x632 (With GameController)

19:58:34.384822:OnMainGLCanvasResize: 1600x632 (With GameController)

19:58:34.386658:OnMainGLCanvasResize: 1600x632 (With GameController)

19:58:34.477013:OnMainGLCanvasResize: 1600x709 (With GameController)

19:58:34.477072:OnMainGLCanvasResize: 1600x709 (With GameController)

19:58:34.477292:OnMainGLCanvasResize: 1600x709 (With GameController)

19:58:40.140953:MainFrame::OnQuit()

19:58:40.141169:MainFrame::OnMainFrameClose()

19:58:40.154185:GameController::~GameController()

19:58:40.154340:Thread exiting

19:58:40.154377:Thread exiting

19:58:40.154397:Thread exiting

19:58:40.154354:Thread exiting

19:58:40.156625:Thread exiting

19:58:40.156852:RenderContext::~RenderContext()

19:58:40.182174:MainFrame::~MainFrame()

19:58:40.730947:GLCanvas::~GLCanvas()

This works: so one follow-up ?, can I add something to the launcher through a text editor of some kind to make it run this by default?

Sure, you can create a Desktop-File.

Example: https://wiki.archlinux.org/title/Desktop_entries#File_example

Path: ~/.local/share/applications/

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.