[DerelictAlure] Error loading libdumb.so etc...

Mike Parker via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Sep 20 00:32:24 PDT 2014


On 9/20/2014 3:47 PM, Jack wrote:
> I've configured dub to build DerelictAlure for my project which
> only contains the example code shown in:
> https://github.com/DerelictOrg/DerelictALURE
>
> The build was successful though when I tried to run it, they were
> spewing out that they need some sort of .so files. Full error is
> : http://npaste.de/p/2qG/

These libraries have nothing to do with DerelictALURE. It only loads 
libalure.so. When that fails, you will see a DerelictException thrown. 
The errors you have pasted are not Derelict exceptions. That means that 
either libalure is never loaded, or it loaded fine and the errors come 
after. Given the nature of the missing libraries, it seems likely the 
latter is true.

I'm no ALURE expert, but from what I'm reading it appears that libdumb 
and libfluidsynth are both used by ALURE and are loaded by the library 
runtime (in the same way that Derelict loads libalure at runtime). So 
you need to either a) install libdumb and libfluidsynth or b) compile a 
version of libalure with the libdumb and libfluidsynth dependencies 
disabled. I would guess that option a) is the easiest.

>
> Though it says that once you configured dub to automatically
> build your projects, it would automatically link libraries,
> etc... http://dblog.aldacron.net/derelict-help/using-derelict/

Yes, it automatically links the *Derelict* libraries. The C libraries 
and all their dependencies still need to be installed separately.

>
> In case it helps, this is my current dub.json file:
> http://npaste.de/p/Go/
>
> I've already installed openAL and alure in my system in hopes of
> solving the issue.
>
> So erm, any clues? Did I miss anything?
> I'm using an ArchLinux x64 distribution inside VirtualBox.


---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com



More information about the Digitalmars-d-learn mailing list