in reply to DBD::Oracle install fail

I'm far from an expert in these matters, but "undefined symbol: kgefac_" seems to point towards bad linking, for example if you are loading the wrong .so file (more specifically: an older version).

Perhaps it's as simple as properly setting some environment variables so the Oracle stuff can load the proper client library.

Replies are listed 'Best First'.
Re^2: DBD::Oracle install fail
by expresspotato (Beadle) on Jan 18, 2011 at 19:07 UTC
    It seems the linking may be good.
    [kpiadmin@lsp1app124 /opt/oracle/product/10g/lib]$ objdump -t libclnts +h.so.10.1 | grep kgefac_ 00d23a20 g O .rodata 00000004 kgefac_
      Mmm, that's not what I mean.

      I presume there are 2 "DLL"s for Oracle: one from Oracle itself with the client libraries, and the Perl compiled XS file, which is a glue file, for the most part.

      I think that, while your compiled XS file may be fine, that it and the client DLL are not compatible.