- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Upgrade from Oracle 7.3.4 to Oracle 8.1.6: librari...
Operating System - HP-UX
1752307
Members
5081
Online
108786
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
тАО07-12-2002 10:00 AM
тАО07-12-2002 10:00 AM
Upgrade from Oracle 7.3.4 to Oracle 8.1.6: libraries to be linked for Pro*C
Hi,
We are upgrading our database from Oracle 7.3.4 to Oracle 8.1.6 (OS: HPUnix11)
We are trying to recompile, link and run C (Pro*C) applications
Somehow succeeded to compile but when run they give Bus error(coredump)
I think that proper libraries are not linked in the correct order
The libraries linked currently in the makefile are
In Oracle 8.1.6 linked libraries
PROLDLIBS= -L$(ORACLE_HOME)/lib `[ -f $(ORACLE_HOME)/lib/libxa.a ] && echo -lxa` -lsql8 -lclntsh -lclntsh $(ORACLE_HOME)/lib/libclient8.a $(ORACLE_HOME)/lib/libcommon8.a -lgeneric8 -lclntsh -lclntsh $(ORACLE_HOME)/lib/libclient8.a $(ORACLE_HOME)/lib/libcommon8.a -lgeneric8 -lnl8 -lcore8 `cat $(ORACLE_HOME)/lib/sysliblist` -lm -lcma
In previous makefile(Oracle 7.3.4) linked libraries
PROLDLIBS= -L$(ORACLE_HOME)/lib `[ -f $(ORACLE_HOME)/lib/libxa.a ] && echo -lxa` -lsql -lsqlnet -lncr -lsqlnet $(ORACLE_HOME)/lib/libclient.a $(ORACLE_HOME)/lib/libcommon.a -lgeneric -lsqlnet -lncr -lsqlnet $(ORACLE_HOME)/lib/libclient.a $(ORACLE_HOME)/lib/libcommon.a -lgeneric -lepc -lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3 -lnlsrtl3 `cat $(ORACLE_HOME)/rdbms/lib/sysliblist` -lm
Any idea what all libraries have to be linked and their order on Oracle 8.1.6
Thank You
We are upgrading our database from Oracle 7.3.4 to Oracle 8.1.6 (OS: HPUnix11)
We are trying to recompile, link and run C (Pro*C) applications
Somehow succeeded to compile but when run they give Bus error(coredump)
I think that proper libraries are not linked in the correct order
The libraries linked currently in the makefile are
In Oracle 8.1.6 linked libraries
PROLDLIBS= -L$(ORACLE_HOME)/lib `[ -f $(ORACLE_HOME)/lib/libxa.a ] && echo -lxa` -lsql8 -lclntsh -lclntsh $(ORACLE_HOME)/lib/libclient8.a $(ORACLE_HOME)/lib/libcommon8.a -lgeneric8 -lclntsh -lclntsh $(ORACLE_HOME)/lib/libclient8.a $(ORACLE_HOME)/lib/libcommon8.a -lgeneric8 -lnl8 -lcore8 `cat $(ORACLE_HOME)/lib/sysliblist` -lm -lcma
In previous makefile(Oracle 7.3.4) linked libraries
PROLDLIBS= -L$(ORACLE_HOME)/lib `[ -f $(ORACLE_HOME)/lib/libxa.a ] && echo -lxa` -lsql -lsqlnet -lncr -lsqlnet $(ORACLE_HOME)/lib/libclient.a $(ORACLE_HOME)/lib/libcommon.a -lgeneric -lsqlnet -lncr -lsqlnet $(ORACLE_HOME)/lib/libclient.a $(ORACLE_HOME)/lib/libcommon.a -lgeneric -lepc -lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3 -lnlsrtl3 `cat $(ORACLE_HOME)/rdbms/lib/sysliblist` -lm
Any idea what all libraries have to be linked and their order on Oracle 8.1.6
Thank You
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2002 10:09 AM
тАО07-12-2002 10:09 AM
Re: Upgrade from Oracle 7.3.4 to Oracle 8.1.6: libraries to be linked for Pro*C
Before I would even look at linking problems, I would use the debugger to get a stack trace to determine the underlying problem. It could be bad code that was working by accident on the older platform. I've actually seen several examples of that.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2002 02:27 PM
тАО07-12-2002 02:27 PM
Re: Upgrade from Oracle 7.3.4 to Oracle 8.1.6: libraries to be linked for Pro*C
Hi
Thanks for ur info.
I tried to debug the program. The program does not even print the first statement. Below is the debug info.
Any idea what the problem might be.
Thank you
Program received signal SIGBUS, Bus error.
[Switching to thread 1 (user thread (1417, 0))]
0x7ae325a0 in pthread_mutex_init () from /usr/lib/libpthread.1
(gdb) backtrace
#0 0x7ae325a0 in pthread_mutex_init () from /usr/lib/libpthread.1
#1 0x7b02389c in libc_init () from /usr/lib/libc.2
#2 0x7b023000 in __libc_init () from /usr/lib/libc.2
#3 0x7aedfe9c in hp__pre_init_libc () from /usr/lib/libcma.2
Thanks for ur info.
I tried to debug the program. The program does not even print the first statement. Below is the debug info.
Any idea what the problem might be.
Thank you
Program received signal SIGBUS, Bus error.
[Switching to thread 1 (user thread (1417, 0))]
0x7ae325a0 in pthread_mutex_init () from /usr/lib/libpthread.1
(gdb) backtrace
#0 0x7ae325a0 in pthread_mutex_init () from /usr/lib/libpthread.1
#1 0x7b02389c in libc_init () from /usr/lib/libc.2
#2 0x7b023000 in __libc_init () from /usr/lib/libc.2
#3 0x7aedfe9c in hp__pre_init_libc () from /usr/lib/libcma.2
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