[omniORB] lthread library

Richard Hardgrave hardgrav@ttd.teradyne.com
Fri, 21 Sep 2001 21:06:35 -0500 (CDT)


I'm building and running on Solaris 2.5.1 with omniORB 3.0.3.
I discovered that the target machine for my application did
not keep librwtool.so.0.2 in one of its load libraries, so
I figured I needed to link RogueWave in statically.  But,
when I did, GNUmake complained that the "-lthread" argument
was missing, so this line:

CORBA_LIB += -Bdynamic -lclips -lrwtool

became:

CORBA_LIB += -Bstatic -lrwtool -Bdynamic -lclips -lthread

I'm still linking in the pthreads (-lpthread) ahead of this,
on the same link line.  But, is this going to cause me trouble,
later?  I hear the regular Solaris threads (-lthread) cause
redundancy when a fork occurs.
Just what is the incantation to prevent the evil spirits
from taking up residency in my application?  Or, should
I have no concern?  RogueWave sounds like a name you
might give to an evil spirit.	8-b
Am I better off linking the RogueWave in dynamically?

Thanks,

Richard