1

DBD/Oracle/Oracle.so hard-codes the location of Oracle's libclntsh.so (and other libraries) to their location at the time of building/installing DBD::Oracle.

I do not want to build and install DBD::Oracle on all servers, but the location of the libraries differs between servers. Is there any way around this? Binary patch Oracle.so?

jrw32982
  • 608
  • 5
  • 11
  • Reading through `Makefile.PL` maybe the `-l` switch, called "direct linking", could statically link `libclntsh.so` into DBD::Oracle? The documentation is unclear and I can't try it myself... – Corion Oct 19 '18 at 18:33
  • Hmmm. *That* would be interesting. I'll look into it. – jrw32982 Oct 19 '18 at 20:07

0 Answers0