SFML D bindings: libsfml-system.so.2.5: cannot open shared object file:

thebluepandabear therealbluepandabear at protonmail.com
Fri Feb 3 11:43:46 UTC 2023


On Friday, 3 February 2023 at 11:37:43 UTC, bachmeier wrote:
> On Friday, 3 February 2023 at 10:15:37 UTC, thebluepandabear 
> wrote:
>> I recently did a fresh install of CSFML and I am getting this 
>> errors when running my csfml D bindings program:
>>
>> ```
>> object.Exception at source/app.d(38): Fatal error(s) encountered 
>> whilst calling `loadSFML()` function:
>>  ["Error: libcsfml-system.so, Message: libsfml-system.so.2.5: 
>> cannot open shared object file: No such file or directory",
>>  "Error: libcsfml-system.so.2, Message: libcsfml-system.so.2: 
>> cannot open shared object file: No such file or directory",
>> "Error: libcsfml-system.so.2.0, Message: 
>> libcsfml-system.so.2.0: cannot open shared object file: No 
>> such file or directory"]
>> ```
>
> We don't have the full compilation and loading details, but 
> this part of the message seems unusual:
>
>> "Error: libcsfml-system.so, Message: libsfml-system.so.2.5
>
> One is `libcsfml` and the other is `libsfml`.

Hi,

It seems like it has changed since then, I am _no longer_ getting 
those conflicting errors, it's just 'libcsfml' for both instances.

I am thinking of compiling CSFML from scratch to see if it will 
help, but I'd rather not since it seems complex.

Furthermore, I would like to thank you for bringing up the 
compilation/loading details up. I'll send a snippet of that if I 
can figure out how to do so.


More information about the Digitalmars-d-learn mailing list