Guest_imported
New member
- Jan 1, 1970
- 0
Probably this is more of a Unix question.
I have an external library written in C where i read unix environment variable
using getenv(). It works fine when this library is called from unix command prompt, but fails to respond when called from pl/sql, obviously bcos the login user is oracle here for which the variables have not been set.
For this reason, i try to run a set.conf configuration file at the start of the c library where these variables are set. But even then it fails to read those variables.
i dont want to call the .conf file in the profile file of oracle user.
could any one suggest any other way for this?
or am i going wrong somewhere?
I have an external library written in C where i read unix environment variable
using getenv(). It works fine when this library is called from unix command prompt, but fails to respond when called from pl/sql, obviously bcos the login user is oracle here for which the variables have not been set.
For this reason, i try to run a set.conf configuration file at the start of the c library where these variables are set. But even then it fails to read those variables.
i dont want to call the .conf file in the profile file of oracle user.
could any one suggest any other way for this?
or am i going wrong somewhere?