Re: Where should D programs look for .so files on Linux (by default)?

2014-09-17 Thread Jordi Sayol via Digitalmars-d
El 17/09/14 a les 07:52, Chad Joan via Digitalmars-d ha escrit: I was using Derelict to play around with SDL/OpenGL in D for a bit, and I was initially unable to do so because DerelictSDL2's search paths for .so files could not find libSDL2_ttf.so on my Linux distribution (Gentoo). .so files

Re: Where should D programs look for .so files on Linux (by default)?

2014-09-17 Thread Wyatt via Digitalmars-d
On Wednesday, 17 September 2014 at 05:52:29 UTC, Chad Joan wrote: --- The Problem --- I was using Derelict to play around with SDL/OpenGL in D for a bit, and I was initially unable to do so because DerelictSDL2's search paths for .so files could not find libSDL2_ttf.so on my Linux

Re: Where should D programs look for .so files on Linux (by default)?

2014-09-17 Thread Dicebot via Digitalmars-d
I presume you mean dynamically loaded .so libraries and not just dynamically linked? Because latter use the same library path resolution rules as in C world (ld takes care of that) As for dynamically loaded ones - it is somewhat tough question. Loading non-local plugin .so libraries is quite

Re: Where should D programs look for .so files on Linux (by default)?

2014-09-17 Thread H. S. Teoh via Digitalmars-d
On Wed, Sep 17, 2014 at 04:43:04PM +, Dicebot via Digitalmars-d wrote: I presume you mean dynamically loaded .so libraries and not just dynamically linked? Because latter use the same library path resolution rules as in C world (ld takes care of that) As for dynamically loaded ones - it

Re: Where should D programs look for .so files on Linux (by default)?

2014-09-17 Thread Cliff via Digitalmars-d
On Wednesday, 17 September 2014 at 17:13:07 UTC, H. S. Teoh via Digitalmars-d wrote: As for how it works on Windows, I have no idea at all. It's probably completely different from Posix, which is more reason to leave it up to plugin framework implementors to implement, rather than hard-coding

Where should D programs look for .so files on Linux (by default)?

2014-09-16 Thread Chad Joan via Digitalmars-d
--- The Problem --- I was using Derelict to play around with SDL/OpenGL in D for a bit, and I was initially unable to do so because DerelictSDL2's search paths for .so files could not find libSDL2_ttf.so on my Linux distribution (Gentoo). This seems quite solvable these days, so I entered