Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HP UX 11.0- Oracle 7.3.4 Linking libraries

Status
Not open for further replies.

dbd1979

MIS
Jan 7, 2003
2
US
I have a Corba Service that I have compiled and tested successfully on HP UX 11.0 and with Oracle 8.0.6 in my development environment. But our production boxes have Oracle 7.3.4 (also HP UX 11.0) installed on them. So I complied my server/client using Oracle 7.3.4 -specific libraries
(-L$(ORACLE_HOME)/lib
-lsql -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lsqlnet -lncr
-lsqlnet -lclient -lcommon -lgeneric -lepc -lnlsrtl3 -lc3v6
-lcore3 -lnlsrtl3 -lcore3 -lnlsrtl3 -lcma -lcl -lm -lcl -lm -lcma)

But now my program dies at the main line and core dumps with a Bus Error.
The backtrace in gdb shows
#0 0xc01339d0 in () from /usr/lib/libc.2
#1 0xc0206cb8 in __thread_atfork () from /usr/lib/libc.2
#2 0xc0204854 in __libc_init () from /usr/lib/libc.2
#3 0xc039fbbc in hp__pre_init_libc () from /usr/lib/libcma.2


Any help appreciated.
dbd
 
Did you figure out what caused this? I'm having the same problem.
 
BTW - I'm running Oracle 8.1.7.2.1 and see the same error that you did.
 
We are transitioning an app from HP 10.2 to HP 11. We were referencing library "cma" (-lcma in aCC command) which is not needed/supported by HP 11. I removed that from the compiler command and our SIGBUS went away.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top