Opened 10 years ago
Closed 5 years ago
#5559 closed defect (wontfix)
configure --with-oci not working with instantclient
Reported by: | pjoyce | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | closed_because_of_github_migration |
Component: | default | Version: | 1.11.0 |
Severity: | normal | Keywords: | |
Cc: |
Description
The configure script would not enable OCI support because it could not find -lclntsh. It would only ever look in $ORACLE_HOME/lib. With instantclient, the libraries are in $ORACLE_HOME. The argument to --with-oci-lib is ignored. The lines
if test -n "$oracle_include_dir" ; then
oci_ldflags="-L$oracle_lib_dir -lclntsh"
else
oci_ldflags="-L$oracle_lib_dir -L$oracle_lib_dir2 -lclntsh"
fi
should be
if test -n "$oracle_lib_dir2" ; then
oci_ldflags="-L$oracle_lib_dir -L$oracle_lib_dir2 -lclntsh"
else
oci_ldflags="-L$oracle_lib_dir -lclntsh"
fi
Change History (1)
comment:1 by , 5 years ago
Milestone: | → closed_because_of_github_migration |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
This ticket has been automatically closed because Trac is no longer used for GDAL bug tracking, since the project has migrated to GitHub. If you believe this ticket is still valid, you may file it to https://github.com/OSGeo/gdal/issues if it is not already reported there.