Homepage of Ingo Klöckl
 Home
 Programmieren
 - Toolbox
 - Java
 - PostScript
 - Perl
 - Assembler
 - Links
 - Download
Ingo Klöckl
i.kloeckl@2k-software.de

Programming CORBA with Orbacus on Linux

Compiling, linking and executing with Orbacus

To start Orbacus services and to execute programs, the PATH and LD_LIBRARY_PATH variables must be set to the following values:

$ export ORB=/home/ingo/OB-4.1.0
$ export PATH=$PATH:$ORB/ob/bin:$ORB/naming/bin:$ORB/event/bin
$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH: 
    $ORB/ob/lib:$ORB/jtc/lib:$ORB/naming/lib:$ORB/event/lib
If you use more services, you have to include the appropriate include and lib directories in the variables.

To start e.g. the event service, use the following:

nameserv -OAport 3675
eventserv -OAport 3675
The explicit specification of the service's ports is used for resolving the initial references and must be given also to the client of the services, see the setup instructions in an example using the CosNaming service.