2013/7/31 isoul zi <[email protected]>:
> SOCI 3.0.0 use the library to access Oracle.
> Everything works fine.
> It took a "multiply" the application. Since "working" PC are in different
> cities, have been sent to the application, all the necessary libraries and
> Oracle client. PCs are identical, the OS is installed at all one, Orakle
> single client, environment variables are the same! Generally two of the
> three PCs, the application runs in the third PC is not!
> Writes "Cannot create environment"
> I understand that the SOCI can not "create" OCI environment variables, but I
> repeat - all identical (even motherboards, etc.)
> Prompt in what could be wrong?

This exception is thrown on error of the following OCI function call:

res = OCIEnvCreate(&envhp_, OCI_THREADED | OCI_ENV_NO_MUTEX, 0, 0, 0, 0, 0, 0);

I have no idea what may be the reason it's failing for you.
You may try to compile and run the simple example
presented here:
http://docs.oracle.com/cd/B28359_01/appdev.111/b28395/oci02bas.htm#autoId35

For your information, our tests build and run fine against Oracle, on Linux:

https://travis-ci.org/SOCI/soci/builds/9598833

Best regards,
-- 
Mateusz  Loskot, http://mateusz.loskot.net
"Participation in this whole process is a form of torture" ~~ Szalony,
wspinanie.pl

------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to