[omniORB] Fatal error during runtime

Shelton, Susan L. Susan.Shelton@destia.com
Fri, 28 Jan 2000 09:13:33 -0600


$ ldd echo
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libomnithread.so.2 =>
/usr/local/omniORB/lib/sun4_sosV_5.7/libomnithread.so.2
        libomniORB2.so.8 =>
/usr/local/omniORB/lib/sun4_sosV_5.7/libomniORB2.so.8
        libomniDynamic2.so.8 =>
/usr/local/omniORB/lib/sun4_sosV_5.7/libomniDynamic2.so.8
        libomniLC.so.3 =>
/usr/local/omniORB/lib/sun4_sosV_5.7/libomniLC.so.3
        libm.so.1 =>     /usr/lib/libm.so.1
        libC.so.5 =>     /usr/lib/libC.so.5
        libw.so.1 =>     /usr/lib/libw.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
        libpthread.so.1 =>       /usr/lib/libpthread.so.1
        librt.so.1 =>    /usr/lib/librt.so.1
        libaio.so.1 =>   /usr/lib/libaio.so.1
        libthread.so.1 =>        /usr/lib/libthread.so.1
$ 

I have this path in the PATH,LD_LIBRARY_PATH, & LIBRARY_PATH.
The following is a copy of the link command I am using:

CC -D\__sparc__ -D\__sunos__ -D\__OSVERSION__=5 -D\_REENTRANT  -o echoclient
echoSK.o main.o -lsocket -lnsl -L/usr/local/omniORB/lib/sun4_sosV_5.7
/usr/local/omniORB/lib/sun4_sosV_5.7/libomnithread.so
/usr/local/omniORB/lib/sun4_sosV_5.7/libomniORB2.so
/usr/local/omniORB/lib/sun4_sosV_5.7/libomniDynamic2.so
/usr/local/omniORB/lib/sun4_sosV_5.7/libomniLC.so
/usr/local/omniORB/lib/sun4_sosV_5.7/libomniGK_stub.a

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 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?

whats the output of ldd YOURPROGRAM ?!

another one: the omniORB libs are usually installed somewhere 
omniORB/lib/ARCH where ARCH is something like x86_sysv...
make shure you have this directory in the LD_LIBRARY_PATH and not just the
lib
directory itself

hope this helps
-- 
// 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."