Created
March 14, 2012 17:21
-
-
Save skyebook/2038029 to your computer and use it in GitHub Desktop.
PostGIS GDAL Setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/bin/ld: cannot find -ldgal | |
/dev/zero: file not recognized: File format not recognized | |
collect2: ld returned 1 exit status |
gcc -lgdal1.7.0 /dev/zero
/dev/zero: file not recognized: File format not recognized
collect2: ld returned 1 exit status
Output from: sudo ldconfig -v | grep libgdal
/sbin/ldconfig.real: Path /lib/x86_64-linux-gnu' given more than once /sbin/ldconfig.real: Path
/usr/lib/x86_64-linux-gnu' given more than once
libgdal1.7.0.so.1 -> libgdal1.7.0.so.1.14.3
Output from: sudo readelf -a /usr/lib/libgdal1.7.0.so | grep SONAME
0x000000000000000e (SONAME) Library soname: [libgdal1.7.0.so.1]
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Run this: gcc -lgdal /dev/zero