General
cancel
Showing results for 
Search instead for 
Did you mean: 

Copmpiling external libraries for Oracle 8.1.7

Sergiy M. Hetmanenko
Occasional Visitor

Copmpiling external libraries for Oracle 8.1.7

Hi!

I have a problem when compile external library for Oracle 8.1.7 (32bit) on HP-UX (64bit) with gcc (64bit) compiler. When I execute procedure from external library I have error: "Unable load library. Unknown exec format".
May be problem with 32bit Oracle and 64bit library.
Help me solve this problem.

Thanks!
2 REPLIES
Brian Crabtree
Honored Contributor

Re: Copmpiling external libraries for Oracle 8.1.7

Just to make sure, you have loaded the library using the "create library" command.

Also, you need to make sure that your listener has been configured for external procedures, and that you are accessing it correctly. The tns connection that you are looking for is "external_connection_data" as of 8i.

Brian
Sergiy M. Hetmanenko
Occasional Visitor

Re: Copmpiling external libraries for Oracle 8.1.7

Hi!

Some additional information:
I have correctly working wersion of my library on Windows 2000 (32bit) for Oracle 8.1.7 (32bit) and Linux (32bit) for Oracle 8.1.7 (32bit), and HP-UX (64bit) for Oracle 9.0.2 (64bit). But I can't compile this library on HP-UX (64bit) for using with Oracle 8.1.7 (32bit).

Thanks!