www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - [DerelictAlure] Error loading libdumb.so etc...

reply "Jack" <Jackoz530 gmail.com> writes:
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/

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/

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.
Sep 19 2014
next sibling parent "evilrat" <evilrat666 gmail.com> writes:
On Saturday, 20 September 2014 at 06:47:09 UTC, 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/

 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/

 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.
though i am not linux user, you can try installing libdumb and fluidsynth packages (better "dev" versions if any) using pacman(archlinux package manager)
Sep 20 2014
prev sibling parent reply Mike Parker <aldacron gmail.com> writes:
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
Sep 20 2014
parent "Jack" <Jackoz530 gmail.com> writes:
On Saturday, 20 September 2014 at 07:32:17 UTC, Mike Parker wrote:
 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.
Well, that fixed it though, and now I feel like an idiot for having the wrong notation of Derelict not needing any other libs. Thanks a lot for the info. Though I'll leave this here for people: libdumb is named dumb in the official arch repositories.
Sep 20 2014