On Thu, 31 Mar 2016, John Landmesser wrote:

Hi,

i developed an application ( Linux ) that need to know where $ORACLE_HOME points to.

The only way was to start my app with a shell-script, defining:

#! /bin/bash
export ORACLE_HOME=/usr/lib/oracle/....

# run my app
Lazarus_Oracle_app

Had no success defining this variable in bashrc or profile.

That should work. Obviously you need to log in again.


But why do i have to define this in my start-script?

That should not be necessary.
I have similar variables defined for Firebird, in my .login file.

Michael.

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to