DUB linking to local library

John Colvin via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Aug 4 01:18:56 PDT 2015


On Tuesday, 4 August 2015 at 03:20:38 UTC, Craig Dillabaugh wrote:
> I can now run it with:
>
> LD_LIBRARY_PATH=/home/craig2/code/gdal-2.0.0/lib64 ./gdaltest
>
> But it appears the LD_LIBRARY_PATH hack is causing havoc with 
> other libraries, as I get errors loading other shared libraries 
> when I do that.

At the very least you want to do:

LD_LIBRARY_PATH=/home/craig2/code/gdal-2.0.0/lib64:$LD_LIBRARY_PATH ./gdaltest


More information about the Digitalmars-d-learn mailing list