Changes between Initial Version and Version 1 of Ticket #6515
- Timestamp:
- May 16, 2016, 7:56:01 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #6515 – Description
initial v1 1 1 I am building gdal to run on a server which requires dependencies to be downloaded to user space - in this case sqlite3 and sqlite3 development packages are downloaded to a home directory (using Scientific Linux 7): 2 2 3 {{{ 3 4 mkdir -p ~/local/sqlite 4 5 cd ~/local/sqlite … … 7 8 rpm2cpio sqlite*.rpm | cpio -id 8 9 rpm2cpio sqlite-devel*.rpm | cpio -id 10 }}} 9 11 10 12 The resulting top level tree looks like this: 13 14 {{{ 11 15 \-- sqlite 12 16 +-- usr … … 15 19 +-- lib64 16 20 +-- share 21 }}} 17 22 18 23 Note that the lib dir for 64bit RHEL-based systems is 'lib64' … … 20 25 Running the following command to configure a gdal build from source (on git mirror at 1e1d7cc): 21 26 22 ./configure --with-sqlite3=/home/james/local/sqlite/usr 27 {{{ 28 ./configure --with-sqlite3=/home/james/local/sqlite/usr 29 }}} 23 30 24 31 This results in the sqlite libs not being picked up. The issue is in the configure script (around line 27442) where the sqlite libs are hardcoded in 'lib' and not 'lib64'. … … 26 33 A simple workaround is creating a symlink to the lib64 dir : 27 34 35 {{{ 28 36 ln -s ~/sqlite/usr/lib64 <path_to_symlink> 29 37 ./configure --with-sqlite3=<path_to_symlink> 38 }}}