Re: Compiling DBD::Oracle 1.17 with LD_RUN_PATH



Oracle changed the internal location/mapping/bundleing of some thier binaly files.

Specifally the libclntsh.so file is now bundled in the libclntsh.so.10.1 file (depending on which client)

Pehaps we can use LD_RUN_PATH instead in the next version of DBD::Oracle

I will look into this.

cheers
John Scoles


----- Original Message ----- From: "Ronald J Kimball" <rjk-dbi@xxxxxxxxxxx>
To: <dbi-users@xxxxxxxx>
Sent: Friday, September 29, 2006 12:47 PM
Subject: Compiling DBD::Oracle 1.17 with LD_RUN_PATH


I had just built and installed DBD::Oracle 1.17, and I found that I couldn't
use it unless I had LD_LIBRARY_PATH set in my environment. However, with an
installation of DBD::Oracle 1.06, I didn't need LD_LIBRARY_PATH set.

It turns out that the Makefile for 1.06 sets LD_RUN_PATH, which then gets
included in the compiled Oracle.so file, making LD_LIBRARY_PATH unnecessary.
The Makefile for 1.17, on the other hand, doesn't set LD_RUN_PATH.

By setting LD_RUN_PATH in my environment, I was able to build 1.17 with the
path included in Oracle.so.

I'm curious why this change in behavior occured.

thanks,
Ronald




.



Relevant Pages

  • Re: make on multiple platforms
    ... I also wanted to compile it on my Mac (which has MacPorts ... Is there a way I can just have one makefile, which has both settings, ... Why do you try compiling applications of different environment ... platform directory for each platform. ...
    (comp.lang.c)
  • Re: How to not build all projects when pressing <F5>
    ... Luis Capriles wrote: ... > Even after I find it, it does exactly the same thing –it visits all the projects in the solution before compiling the files that need compiling. ... use themselves for project managing. ... A lot of sample codes comes with makefile, ...
    (microsoft.public.vc.ide_general)
  • Re: Want to compile my roguelike
    ... Do I need a seperate FuryBand makefile then? ... you don't need a makefile with lcc-win32. ... The aboove applies to compiling Vanilla Angband 3.0.6 on my ...
    (rec.games.roguelike.angband)
  • Re: How did you learn your debugging skills?
    ... > for bug fixes, as I'm sure we'd all agree. ... Could it also edict that a programmer can compile and execute small modules ... invest in copying the makefile into a new makefile, ... > So much for trying to do TDD in that environment! ...
    (comp.programming)
  • Re: constantp values always available at macro expansion time?
    ... > You can always encapsulate DEFCONSTANT in a: ... breakage in the compiling lisp. ... defined CONSTANTP (and note that constantp accepts an optional environment ... (defmacro foo (thing &environment env) ...
    (comp.lang.lisp)