I tried copying the body the test program that the configure script uses to see if the specified proj is usable. Running the gcc command manually: gcc testprogram.c -o testprogram -L$projInstallDir/lib -Wl,-rpath,$projInstallDir/lib -I$projDir/include -I$projDir/src
Using -L -Wl -rpath to specify the proj library got passed the "cannot find -lproj error" but now it can't find the reference for proj_create function (which is in $projDir/src/proj.h): /tmp/cc4Ky0RR.o: In function `main': testprogram.c:(.text+0xa): undefined reference to `proj_create' collect2: error: ld returned 1 exit status -- Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev