[Lazarus] System variables visibility

Michael Van Canneyt michael at freepascal.org
Thu Mar 31 17:19:16 CEST 2016



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.




More information about the Lazarus mailing list