- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Error Installing perl DBI/DBD for Oracle (-Wl,...
Operating System - HP-UX
1753830
Members
8726
Online
108806
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО01-20-2005 09:09 AM
тАО01-20-2005 09:09 AM
Error Installing perl DBI/DBD for Oracle (-Wl,+2 argument)
I am on a HPUX B11.0.0 (9000/800/L2000-44)
and running Oracle 8.1.6.0.0.
I downloaded the 64 bit versions from
Merijn's HP-UX software for ITRC members:
(http://mirrors.develooper.com/hpux)
- "perl 5.8.5 + defined-or prepared for
Oracle + DBI 1.43 + tk 804.027
built with gcc-3.4.1"
- "gcc 3.4.1 + binutils 2.15 + gdb 6.1.1"
I was able to successfully install perl 5.8.5 and gcc 3.4.1 and modified my PATH.
PATH=$PATH:/opt/perl64/bin/perl
PATH=$PATH:/maint/pa20_64/bin
Next I succesfully installed DBI version 1.20
perl Makefile.PL
make
make install
When attempting to install DBD version 1.12
I received the following error during make.
Unrecognized argument: -Wl,+s Fatal Error
(referring to the "ld" command).
Any suggestions would be appreciated.
Thanks
Joe
and running Oracle 8.1.6.0.0.
I downloaded the 64 bit versions from
Merijn's HP-UX software for ITRC members:
(http://mirrors.develooper.com/hpux)
- "perl 5.8.5 + defined-or prepared for
Oracle + DBI 1.43 + tk 804.027
built with gcc-3.4.1"
- "gcc 3.4.1 + binutils 2.15 + gdb 6.1.1"
I was able to successfully install perl 5.8.5 and gcc 3.4.1 and modified my PATH.
PATH=$PATH:/opt/perl64/bin/perl
PATH=$PATH:/maint/pa20_64/bin
Next I succesfully installed DBI version 1.20
perl Makefile.PL
make
make install
When attempting to install DBD version 1.12
I received the following error during make.
Unrecognized argument: -Wl,+s Fatal Error
(referring to the "ld" command).
Any suggestions would be appreciated.
Thanks
Joe
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2005 05:00 AM
тАО02-19-2005 05:00 AM
Re: Error Installing perl DBI/DBD for Oracle (-Wl,+2 argument)
last time I built it I was told that DBD+DBI on hp-ux was a guarantee for trouble, I got it working after building perl 5.6.1 myself, but that was mostly to resolve threading issues, Your problem seems to be unrelated.
If You've not yet been able to solve this, please be so kind to post some more of the make output.
If You've not yet been able to solve this, please be so kind to post some more of the make output.
yesterday I stood at the edge. Today I'm one step ahead.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2005 07:53 AM
тАО02-19-2005 07:53 AM
Re: Error Installing perl DBI/DBD for Oracle (-Wl,+2 argument)
*WHY* did you try to install DBI-1.20 over the already shipped DBI-1.43 ?????
--8<---
+s Indicates that at run-time, the shared library loader can
use the environment variable SHLIB_PATH and LD_LIBRARY_PATH
(64-bit only) to locate shared libraries needed by the
executable output file that were specified with either the
-l or -l: option. The environment variables should be set to
a colon-separated list of directories. If both +s and +b are
used, their relative order on the command line indicates
which path list will be searched first (see the +b option).
-->8---
Well, this '+s' is an option to HP's 'ld' command, and since you are now using GNU ld (as gcc64 does), it is an unrecognized option.
I think, but I'm not sure, that more recent versions of DBI (1.42 and up) do this correctly by default.
# /usr/local/pa20_64/bin/ld --help -v
will show you the options that your GNU ld supports
# ln -s /main/pa20_64 /usr/local/pa20_64
is another wise option to start with, since gcc wishes to stay in the location where it was build
Enjoy, Have FUN! H.Merijn
--8<---
+s Indicates that at run-time, the shared library loader can
use the environment variable SHLIB_PATH and LD_LIBRARY_PATH
(64-bit only) to locate shared libraries needed by the
executable output file that were specified with either the
-l or -l: option. The environment variables should be set to
a colon-separated list of directories. If both +s and +b are
used, their relative order on the command line indicates
which path list will be searched first (see the +b option).
-->8---
Well, this '+s' is an option to HP's 'ld' command, and since you are now using GNU ld (as gcc64 does), it is an unrecognized option.
I think, but I'm not sure, that more recent versions of DBI (1.42 and up) do this correctly by default.
# /usr/local/pa20_64/bin/ld --help -v
will show you the options that your GNU ld supports
# ln -s /main/pa20_64 /usr/local/pa20_64
is another wise option to start with, since gcc wishes to stay in the location where it was build
Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP