- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Oracle libraries for Perl DBD::Oracle
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
Discussions
Forums
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
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
тАО05-14-2003 10:06 AM
тАО05-14-2003 10:06 AM
Oracle libraries for Perl DBD::Oracle
Because this is on a headless system and recent versions of Oracle all require a console for installation, I copied over the relevant Oracle libraries from another HP-UX box and linked DBD::Oracle against them, which I've done successfully in the past.
The compilation/linking of DBD::Oracle appeared to go smoothly, and no errors were returned; I also copied over the sqlplus binary to this machine, and that is able to connect fine to other DBs. When I attempt to do a connect() call from within Perl, however, I get a coredump.
I sent a stack trace from the coredump to the creator of the Perl DBI (Tim Bunce), who said that it indicated that the problem was somewhere in the linking of DBD::Oracle against the Oracle libraries; I'm now trying to figure out just what that problem might be. One thing that occurs to me is that the system from which I copied the libraries was a 32-bit OS, whereas the current machine is a 64-bit one, so there might be some issues there; if 64-bit libraries were needed, though, I would expect my compiler to complain when I'm building the DBD::Oracle module, which it doesn't.
Has anyone run into an issue like this before? Is there anyone with a lot of familiarity with the differences between libraries for various versions of Oracle who might be able to offer some advice on things to try?
TIA,
Sweth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2003 10:14 AM
тАО05-14-2003 10:14 AM
Re: Oracle libraries for Perl DBD::Oracle
$ file `which perl`
/usr/bin/perl: PA-RISC2.0 shared executable dynamically linked -not stripped
).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2003 10:31 AM
тАО05-14-2003 10:31 AM
Re: Oracle libraries for Perl DBD::Oracle
not sure , this will solve the issue.
You may have to relink all the oracle libraries with relink command .
$ORACLE_HOME/bin/relink all
It should finish with out
any errors. if errors exists
you may need to adjust your kernal .
Vasu.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2003 10:49 AM
тАО05-14-2003 10:49 AM
Re: Oracle libraries for Perl DBD::Oracle
If you installed my perl correctly, which perl should say /opt/perl/bin/perl or /opt/perl64/bin/perl
Enjoy, have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2003 11:08 AM
тАО05-14-2003 11:08 AM
Re: Oracle libraries for Perl DBD::Oracle
WRT it being the wrong (non-Merijn) version of Perl, it's the right version (/opt/perl/bin/perl); I simply symlinked that to /usr/bin/perl because so many scripts expect perl to be located there, so the /usr/bin/perl was found first in my path. It's definitely the Merijn version, though.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2003 11:12 AM
тАО05-14-2003 11:12 AM
Re: Oracle libraries for Perl DBD::Oracle
/usr/bin/ld: Unrecognized argument: -Wl,+s
I thought that the "-Wl," syntax was used for flags given to gcc to pass off to ld; does ld itself support that syntax, too?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2003 12:22 PM
тАО05-14-2003 12:22 PM
Re: Oracle libraries for Perl DBD::Oracle
Issue the command by hand, and change -Wl,+s to +s
Enjoy, have FUN! H.Merijn