Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: DBD::Oracle charsetid symbol error

by mje (Curate)
on Aug 14, 2013 at 09:49 UTC ( #1049406=note: print w/replies, xml ) Need Help??

in reply to DBD::Oracle charsetid symbol error

Ignore the anonymous monk saying your LD_LIBRARY_PATH is wrong because you cannot get an if you have an undefined symbol because you can.

charsetid is an extern referred to in dbdimp.h

extern ub2 charsetid;

I don't think I've tried Do any of the headers or shared objects included in the build but from you Oracle client install mention charsetid? (you can use nm -a to show symbols in shared objects). I will download the latest instant client and try it myself.

Why are you building an old DBD::Oracle? - the latest is 1.64.

UPDATE: sorry, charsetid is defined in DBD::Oracle's dbdimp.c

Replies are listed 'Best First'.
Re^2: DBD::Oracle charsetid symbol error
by mje (Curate) on Aug 14, 2013 at 10:09 UTC

    The warnings at the top of your build say oci8.c is missing. You cannot build DBD::Oracle without oci8.c (it is part of DBD::Oracle). This DBD::Oracle distribution seems fundamentally broken. I just downloaded DBD::Oracle 1.58 and it does contain oci8.c so the dir you are building DBD::Oracle in has been messed with. Untar it again and start from scratch.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1049406]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2018-04-22 13:40 GMT
Find Nodes?
    Voting Booth?