Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: DBD::Oracle charsetid symbol error

by mje (Deacon)
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 Oracle.so 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 11.2.0.3. 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


Comment on Re: DBD::Oracle charsetid symbol error
Download Code
Re^2: DBD::Oracle charsetid symbol error
by mje (Deacon) 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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1049406]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (16)
As of 2014-09-18 14:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (116 votes), past polls