Hi, I can't even seem to get DBD::Oracle installed properly. When using the default Makefile I get the following error that it could not find defopt.o.
gcc: /opt/oracle/product/10g/rdbms/lib32/defopt.o: No such file or dir +ectory
So I edited the make file to look in /opt/oracle/product/10g/rdbms/lib where the defopt.o file actually resides and make was a success. I still can't seem to use it though. After trying a small connect using DBD::Oracle I get the following error:
Can't load '/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/aut +o/DBD/Oracle/Oracle.so' for module DBD::Oracle: /usr/lib/perl5/site_p +erl/5.8.5/i386-linux-thread-multi/auto/DBD/Oracle/Oracle.so: undefine +d symbol: kgefac_ at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/Dyn +aLoader.pm line 230. at sql.pl line 3 Compilation failed in require at sql.pl line 3. BEGIN failed--compilation aborted at sql.pl line 3.
A quick google points me to add the oracle client directory to my path. I tried pointing it directly to the client dir to /opt/oracle/product/10g/ without success, the problem still occurs. At this point I'm at a loss for what the problem could actually be. EDIT: More information. Here is $ENV. I noticed another PerlMonks thread to change ORACLE_ENV, but none is set.
G_BROKEN_FILENAMES --> 1 HISTSIZE --> 1000 HOME --> /opt/kpiadmin HOSTNAME --> lsp1app124 INPUTRC --> /etc/inputrc KDEDIR --> /usr LANG --> en_US.UTF-8 LD_LIBRARY_PATH --> /opt/oracle/product/10g/lib LESSOPEN --> |/usr/bin/lesspipe.sh %s LOGNAME --> kpiadmin LS_COLORS --> no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33 +;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*. +exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32: +*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00; +31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:* +.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00; +35:*.xpm=00;35:*.png=00;35:*.tif=00;35: MAIL --> /var/spool/mail/kpiadmin OLDPWD --> /opt/kpiadmin/kevin/DBD-Oracle-1.27 ORACLE_BASE --> /opt/oracle ORACLE_HOME --> /opt/oracle/product/10g ORACLE_SID --> OEM10G ORACLE_TERM --> xterm PATH --> /opt/oracle/product/10g/bin:/usr/sbin:.:/usr/kerberos/bin:/us +r/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/opt/kpiadmin/bin:/opt/kpiad +min/tools/bin PWD --> /opt/kpiadmin/kevin SHELL --> /bin/bash SHLVL --> 1 SSH_ASKPASS --> /usr/libexec/openssh/gnome-ssh-askpass SSH_CLIENT --> ::ffff:172.18.55.112 2145 22 SSH_CONNECTION --> ::ffff:172.18.55.112 2145 ::ffff:172.18.102.124 22 SSH_TTY --> /dev/pts/4 TERM --> xterm USER --> kpiadmin _ --> /usr/bin/perl

In reply to DBD::Oracle install fail by expresspotato

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.