Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: I got error when I use dynamic library for access oracle?

Re: I got error when I use dynamic library for access oracle?

From: kentyork <kentyork_at_163.net>
Date: 22 May 2002 20:37:08 -0700
Message-ID: <470b2f8c.0205221937.7e48a2ee@posting.google.com>


thank you very much,so I know how to do with it. by the way,If u have time,I hope u can describe this problem as detailed as possible.

stuart coupe <stuart_at_easysoft.com> wrote in message news:<3CEB533D.7090407_at_easysoft.com>...
> I have had this...
>
> An Oracle function is registered to be called when the process exits.
> You dlclose unloads this function, so when the function is called, it isnt
> there anymore, hence the crash. We have found it happen on most
> platforms for a few different database libraries. The solution we used
> was to not dlclose - not ideal but works.
>
> Cheers,
> Stuart.
>
> kentyork wrote:
>
> >dlopen(),connect to oracle,access oracle,disconnect from oracle,
> >all these steps run ok.but,when I called the last function dlclose(),
> >the process made a core dump. I commented all the sentences for oracle access and
> >did none link of oracle libraries in my makefile,the error disappeared.
> >I also got the error when I just link oracle libraries only and no sentences
> >for oracle access.
> >
> >I dont know what is the matter with it.
> >environment: IBM pc server,Unixware7 and oracle8.
> >
> >I will very appreciate your response.
> >
Received on Wed May 22 2002 - 22:37:08 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US