[Ace-users] [tao-users] Build error - "add_rel_link.sh" missing in action

Jules Colding colding at 42tools.com
Thu Jan 17 02:16:21 CST 2008


On Thu, 2008-01-17 at 09:08 +0100, Johnny Willemsen wrote:
> Hi,
> 
> >> The add_rel_link script is only used when building a shared library, not
> >> when building an executable. Probably the system lib paths are in front,
> >> picking up the system libs. Try to move the new ACE_ROOT/lib as first.
> >
> > They are. I have:
> >
> > export LD_LIBRARY_PATH="$LORICA_ROOT/lib:$ACE_ROOT/lib:$LD_LIBRARY_PATH"
> >
> > That should do it, right?
> 
> It should, check the exact commandline and see if things are there in the
> correct order.

The exact (failing) command line is:

g++ -fvisibility=hidden -fvisibility-inlines-hidden -W -Wall
-Wpointer-arith -O3 -g -pipe    -pipe -D_REENTRANT -DACE_HAS_AIO_CALLS
-D_GNU_SOURCE
-I/home/colding/work/src/42tools/lorica-autotools/ACE_wrappers
-I/home/colding/work/src/42tools/lorica-autotools/ACE_wrappers/TAO
-DACE_HAS_EXCEPTIONS -D__ACE_INLINE__ -I../../.. -I../..
-I../../../ACEXML/common -I../../orbsvcs  -Wl,-E
-L/home/colding/work/src/42tools/lorica-autotools/ACE_wrappers/ace -L./
-L/home/colding/work/src/42tools/lorica-autotools/ACE_wrappers/lib
-L/home/colding/work/src/42tools/lorica-autotools/ACE_wrappers/TAO/tao
-L. -L../../../lib -o
ImplRepo_Service .obj/ImR_Locator.o .obj/Locator_NT_Service.o
-lTAO_ImR_Locator -lTAO_ImR_Activator_IDL -lTAO_ImR_Locator_IDL
-lTAO_ImR_Client -lTAO_PI_Server -lTAO_Svc_Utils -lACEXML_Parser
-lACEXML -lTAO_Messaging -lTAO_PI -lTAO_CodecFactory
-lTAO_PortableServer -lTAO_Valuetype -lTAO_IORTable -lTAO_AnyTypeCode
-lTAO -lACE -ldl -lpthread -lrt


It looks OK to me. A more extensive snippet of the compilation output is
in the original post.

-- 
  jules





More information about the Ace-users mailing list