Closed jayvdb closed 3 years ago
Could you post the last 100 lines of mkmf.log
?
In https://s3.amazonaws.com/archive.travis-ci.org/jobs/119129239/log.txt
Results logged to /home/travis/.rvm/gems/ruby-1.9.3-p551/extensions/x86_64-linux/1.9.1/ruby-oci8-2.2.1/gem_make.out
mkmf.log
will be found in the directory where gem_make.out
was logged to.
@jayvdb
Could you check whether the symbolic link /home/travis/u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so
is valid? It must point to /home/travis/u01/app/oracle/product/11.2.0/xe/lib/libclntsh.so.11.1
.
Awesome @kubo , that worked! https://travis-ci.org/jayvdb/travis-oracle/jobs/124447260
I'll now work on tidying it up a bit.
Perhaps it would be useful for ruby-oci8
to check for libclntsh.so
, but I can appreciate it is not common for people to be trying to bypass the rpm install scripts and avoid as many steps as possible to install it without root on a container .. ;-)
Feel free to close this issue if you feel it isnt beneficial.
When I install Oracle XE in a custom path on Linux , the installation process finds the right library and
oci.h
, but then fails to findOCIEnvCreate()
inoci.h
.I dont play with ruby much, so any help debugging greatly appreciated.
The way I am installing Oracle XE in a custom path can be seen here:
https://github.com/cbandy/travis-oracle/pull/9/commits/b1a30527351e3f3c1f233e101ce7da6d03ca5d6a
Build at
https://travis-ci.org/jayvdb/travis-oracle/builds/119129236 (the failed job is the one using the custom path)