DUB linking to local library

Craig Dillabaugh via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Aug 4 04:44:44 PDT 2015


On Tuesday, 4 August 2015 at 08:18:58 UTC, John Colvin wrote:
> 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

Thanks!


More information about the Digitalmars-d-learn mailing list