Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: I need help installing DBD:Oracle and DBD

by Corion (Pope)
on Jul 19, 2018 at 14:09 UTC ( #1218831=note: print w/replies, xml ) Need Help??


in reply to Re: I need help installing DBD:Oracle and DBD
in thread I need help installing DBD:Oracle and DBD

Citing the error message and its diagnostics again:

This may either mean that you upgraded your version of perl to one that is incompatible with your old dynamic extensions (which is known to happen between major versions of perl), or (more likely) that your dynamic extension was built against an older version of the library that is installed on your system. You may need to rebuild your old dynamic extensions.

So, you will need to make sure that your script(s) always invoke the perl 5.28 (under /usr/local/bin/perl), or recompile the Oracle DBD using your system Perl.

Personally, I recommend leaving the vendor Perl well alone as it belongs to the vendor and changes to it should only be made through the vendor or tools that the vendor has supplied. So the approach favoured by me would be to make certain that all scripts only use /usr/local/bin/perl and all paths only pick up Perl libraries below /usr/local/lib/perl5/site_perl/5.28.0 (and the other version-specific directories).

Replies are listed 'Best First'.
Re^3: I need help installing DBD:Oracle and DBD
by gandolf989 (Scribe) on Jul 19, 2018 at 14:28 UTC

    Corion, Thanks for pointing me in the right direction. I created a wrapper shell script to make sure that the environment variables were set before running the Perl script. I was able to get my usage code working. I just need to add the logic to clean up the old files.

    Thanks!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2019-12-07 12:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (160 votes). Check out past polls.

    Notices?