Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: ORA-06522- bad magic
I have recompiled the source of my C routine on the 64-bit machine..and linked the file to create a shared libray(.so)....but I have not used any special options....I am new to 64-bit machines. Are there any special options I need to specify?
Just to confuse matters I think the Oracle install(8.0.5.1) is 32-bit.
John
Tom Best <tom.best_at_bentley.com> wrote in message
news:8kvqa0$dn3$1_at_news.bentley.com...
> There is a bad magic number, in the file. HTH :-). But really... AIX
puts
> a number in the beginning of the file to indicate what type it is. One of
> them means "executable". So, what this means is that the executable was
not
> linked for this target machine, or it is corrupt. Probably the former.
Was
> it linked on this machine? If not, you may have to do that, or go back to
> the linking machine and make sure you specify the right compile and link
> options for your target machine.
>
> HTH,
> Tom Best
>
>
> John Dunn <JLDunn_at_ukgateway.net> wrote in message
> news:8kvnod$5ia$1_at_lure.pipex.net...
> > I get the following errors when trying to run an external C procedure on
> > 8.0.5.1 on a 64bit RS6000 running AIX 4.3.3.
> >
> > ORA-06520 : PL/SQL : Error Loading external library
> > ORA-06522 : read Export : bad magic
> >
> > Any ideas?
> >
> > John
> >
> >
>
>
Received on Tue Jul 18 2000 - 00:00:00 CDT