[omniORB] Fatal error during runtime

Shelton, Susan L. Susan.Shelton@destia.com
Fri, 28 Jan 2000 08:45:16 -0600


I have the library path in my LD_LIBRARY_PATH variable and have also used
the -L option in my makefile.  It still does not work.
Any other ideas?

Thanks,
Susan

-----Original Message-----
From: Andre Fornacon [mailto:afo@linux2.hrz.fh-zwickau.de]
Sent: None
To: Susan.Shelton@destia.com
Subject: Re: [omniORB] Fatal error during runtime


>
>I have compiled OmniORB_280 on a Solaris x86 machine using the sparc
>specifics.  I have compiled the echo program on this machine and it
compiles
>fine.  I then try to run the program and I get the following error:
>
>ld.so.1: /export/home/sshelton/OmniExample/echo: fatal: libomnithread.so.2:
>open failed: No such file or directory

make sure the omniorb library directory is in your LD_LIBRARY_PATH
or burn the path to the libs into the executable using the rpath linker flag
eg. with gcc:

gcc -o XXX XXX.o -L/usr/.../omniORB/lib -lomniORB
-Wl,-rpath,/usr/.../omniORB/lib


-- 
// Andre Fornacon -*- afo <at> zlug <dot> org
//
// frog>> "If you kiss me, I'll turn into a beautiful princess." 
// geek>> "Look, I'm a computer programmer. I don't have time for girls, 
// geek>>  but a talking frog is very very cool."