- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Can't locate loadable object for module DBD::O...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2012 01:44 PM
06-01-2012 01:44 PM
Can't locate loadable object for module DBD::Oracle
OS is 11iv3, perl is 32bit. I extract 32bit Instantclient(from Oracle) to /opt/perl/instantclient_11_2.
Then install DBD::Oracle as follow.
root> export ORACLE_HOME=/opt/perl/instantclient_11_2
root> export SHLIB_PATH=$ORACLE_HOME
root> perl Makefile.PL
root> make
root> make test
root> make install
root> perl -e 'use DBD::Oracle;'
So it work fine with user root. Login as a user
user> export ORACLE_HOME=/opt/perl/instantclient_11_2
user> export SHLIB_PATH=$ORACLE_HOME
user> perl -e 'use DBD::Oracle;'
Can't locate loadable object for module DBD::Oracle in @INC (@INC contains: /opt/perl_32/lib/5.8.8
/IA64.ARCHREV_0-thread-multi /opt/perl_32/lib/5.8.8 /opt/perl_32/lib/site_perl/5.8.8/IA64.ARCHREV_
0-thread-multi /opt/perl_32/lib/site_perl/5.8.8 /opt/perl_32/lib/site_perl /opt/perl_32/lib/vendor
_perl/5.8.8/IA64.ARCHREV_0-thread-multi /opt/perl_32/lib/vendor_perl/5.8.8 /opt/perl_32/lib/vendor
_perl .) at -e line 1
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
What could be the cause? Thank you
Victor
- Tags:
- Perl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2012 02:24 PM
06-01-2012 02:24 PM
Re: Can't locate loadable object for module DBD::Oracle
>So it work fine with user root. Login as a user
>Can't locate loadable object for module DBD::Oracle in @INC (@INC contains: ...
Is there a permission problem with one of these paths?
- Tags:
- Permission
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2012 10:59 AM
06-04-2012 10:59 AM
Re: Can't locate loadable object for module DBD::Oracle
Other users do have rx permission on all of them.
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2012 12:15 PM
06-04-2012 12:15 PM
Re: Can't locate loadable object for module DBD::Oracle
>Other users do have rx permission on all of them.
On all directory paths to those shlibs?
If they are all fine, you'll probably need to use tusc to see where it first goes wrong.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2012 01:16 PM
06-05-2012 01:16 PM
Re: Can't locate loadable object for module DBD::Oracle
Fixed.
User did not have access to
/opt/perl_32/lib/site_perl/5.8.8/IA64.ARCHREV_0-thread-multi/auto/DBD/Oracle.
By changing its permission, now user can use DBD::Oracle.
Thanks
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2012 09:49 PM
06-05-2012 09:49 PM
Re: Can't locate loadable object for module DBD::Oracle
>Fixed. User did not have access to
If the answers solved your problem, please click on the Kudos stars.