Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Solved: OCI demos: SegFault on Linux
Make sure the lengths of the username and password are zero. That might be
causing the problem.
Rick
"Lothar Armbüster" <lothar.armbruester_at_rheingau.netsurf.de> writes:
> Lothar Armbüster wrote at 03-Feb-00 14:37:48
> on the subject OCI demos: SegFault on Linux :
>
> >Hello out there,
>
> Here I have to reply to my own posting. :-)
>
> >I tried to run the OCI demo programs from Oracle 8.1.5 on Linux but they
> >all end up in segmentation faults when linked with shared libs.
> >When I link the programs statically, the run without problems but then the
> >executables are >4MB in size.
>
> I rewrote one of the demos (cdemo6.cc) to use the newer OCI calls (e.g.
> OCIStmtPrepare instead of oparse) and now it works.
>
> But the use of of the new calls leads me to another problem:
>
> How do I call OCILogon when my user is identified externally?
> With the old call olog I just gave NULL for username and password.
> Unfortunately this does not work with OCILogon. The documentation does not
> mention anything about this case.
>
> Any ideas?
>
> Lothar
>
> >--
> >Lothar Armbrüster | lothar.armbruester_at_rheingau.netsurf.de
> >Hauptstr. 26 | lothar.armbruester_at_t-online.de
> >D-65346 Eltville |
>
>
>
> --
> Lothar Armbrüster | lothar.armbruester_at_rheingau.netsurf.de
> Hauptstr. 26 | lothar.armbruester_at_t-online.de
> D-65346 Eltville |
>
--
Rick Rick Wessman Security and Directory Technologies Server Technologies Oracle Corporation rwessman_at_us.oracle.com The statements and opinions expressed here are my own and do not necessarily represent those of Oracle Corporation.Received on Mon Feb 07 2000 - 07:28:45 CST
![]() |
![]() |