EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Channel Archiver make problem
From: Kay-Uwe Kasemir <[email protected]>
To: Umashankar Panda <[email protected]>
Cc: [email protected]
Date: Wed, 29 Aug 2007 09:16:29 -0400
Hello:

/usr/bin/g++ -o UnitTest  -L/epics/extensions/lib/linux-x86
-L/epics/base-3.14.9 /lib/linux-x86/
I assume the space between base-3.14.9 and /lib/linux-x86
got added in the copy/paste of email creation?

-Wl,-rpath,/epics/extensions/lib/linux-x86 -Wl,-rpath,/epics/bas
e-3.14.9/lib/linux-x86/    -L/usr/local/lib -lxerces-c
...
/usr/bin/ld: warning: libstdc++.so.5, needed by
/usr/lib/gcc/i386-redhat-linux/3 .4.4/../../../libxerces-c.so, may
conflict with libstdc++.so.6
...
../FUX.cpp:230: undefined reference to `xercesc_2_4::...

I think you're seeing all the missing symbols from the xercesc library because on one hand you correctly installed the xercesc_2_4 from the ThirdParty subdir, presumably under /usr/local/lib, and compiled all the object files for that, but on the other hand the linker command is now trying to link some other version of xercesc that you happen to have in /usr/lib/libxerces-c.so.

Not sure how to force the linker to look in /usr/local/lib
_before_ checking /usr/lib, but that would be what I'd try
to accomplish here.
If all else fails, move /usr/lib/libxerces-c.so temporarily
someplace else?

You could also try to use that /usr/lib/libxerces-c.so from the start,
i.e. remove the xercesc_2_4 from /usr/local/lib.
But /usr/lib/libxerces-c.so seems to have problems on its own
("libstdc++.so.5 ... conflict with libstdc++.so.6").


-Kay







References:
Channel Archiver make problem Umashankar Panda

Navigate by Date:
Prev: about building linux-gpib zhangdemin99
Next: Heidenhain Absolute Multiturn Rotary Encoder Steve Lewis
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Channel Archiver make problem Umashankar Panda
Next: about building linux-gpib zhangdemin99
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Nov 2011 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·