ADL 3.0 COTS_BOOST_FILESYSTEM_LIB

Issues related to installation of ADL
Post Reply
jadavis5
Posts: 13
Joined: Tue Aug 02, 2011 3:32 pm

ADL 3.0 COTS_BOOST_FILESYSTEM_LIB

Post by jadavis5 »

I am running into a build issue with ADL 3.0. I'm using the COTs installed via the support/installPerlCots3.0.sh script.
What value should I be setting the COTS_BOOST_FILESYSTEM_LIB ?
I have tried the following with no success:
export COTS_BOOST_FILESYSTEM_LIB=/data2_3400/utils/bin/ADL_3.0/COTS/boost_1_45_0/libs/filesystem/v3/src
export COTS_BOOST_FILESYSTEM_LIB=/data2_3400/utils/bin/ADL_3.0/COTS/boost_1_45_0/libs/filesystem/v3
export COTS_BOOST_FILESYSTEM_LIB=/data2_3400/utils/bin/ADL_3.0/COTS/boost_1_45_0/libs/filesystem/v2/src
export COTS_BOOST_FILESYSTEM_LIB=/data2_3400/utils/bin/ADL_3.0/COTS/boost_1_45_0/libs/filesystem/v2
export COTS_BOOST_FILESYSTEM_LIB=/data2_3400/utils/bin/ADL_3.0/COTS/boost_1_45_0/libs/filesystem
export COTS_BOOST_FILESYSTEM_LIB=/data2_3400/utils/bin/ADL_3.0/COTS/boost_1_45_0/libs

I get to the same point in the buildAdl.ksh with the exact same error. Any guidance would be greatly appreciated..)


Creating size validation script
/usr/bin/g++ -DBYTE_ORDER_LE -DADL_ENV -D_USE_FLAT_FILE_ -D_THREAD_SAFE -DGCC -m64 -fPIC -Wall -Wno-unknown-pragmas -ggdb3 -m64 -Xlinker -zmuldefs -o ProCmnValidateAncDictionarySize.exe ProCmnValidateAncDictionarySize.o -L/data2_3400/utils/bin/ADL_3.0/COTS/lib/lib -lhdf5 -L/usr/lib -lm -lc -lrt -lpthread -lgfortran -L/data2_3400/utils/bin/ADL_3.0/COTS/log4cplus-1.0.2/lib -llog4cplus -L/data2_3400/utils/bin/ADL_3.0/ADL/lib -lProCmnIPO -lProCmnUtil -lProCmnDictionary -lProCmnDictEntries -lProCmnStrings -lInfUtil_Cfg -lInfUtil_Perf -lInfTk -lInfCmnUtil -lInfCmnExc -lInfUtil_Dbg -lInfUtil_Tim -lInfUtilGran -lInfCmnDb -lDmApi -lDmCoreLibrary -lDmImInventory -lDmImInventoryAdaptation -lDmMgmt -lDmSmStorage -lDmSmStorageAdaptation -lADLPacker -lADLHDF -lADLUtil -L/data2_3400/utils/bin/ADL_3.0/COTS/boost_1_45_0/stage/lib -l/data2_3400/utils/bin/ADL_3.0/COTS/boost_1_45_0/libs/filesystem/v3/src -L/data2_3400/utils/bin/ADL_3.0/COTS/xerces-c_2_8_0-x86_64-linux-gcc_3_4/lib -lxerces-c -L/data2_3400/utils/bin/ADL_3.0/ADL/lib -lProCmnValidateDictionarySize -lProCmnDictionary -lProCmnDictEntries -lProCmnAncDictEntries -lProCmnMode -lProSdrCmnGeo -lProCmnGeoloc -lnovasc -lProCmnMath -L/data2_3400/utils/bin/ADL_3.0/COTS/boost_1_45_0/stage/lib -l/data2_3400/utils/bin/ADL_3.0/COTS/boost_1_45_0/boost/regex
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/librt.so when searching for -lrt
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/librt.a when searching for -lrt
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libpthread.a when searching for -lpthread
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: cannot find -l/data2_3400/utils/bin/ADL_3.0/COTS/boost_1_45_0/libs/filesystem/v3/src
collect2: ld returned 1 exit status
make[2]: *** [ProCmnValidateAncDictionarySize.exe] Error 1
make[2]: Leaving directory `/data2_3400/utils/bin/ADL_3.0/ADL/CMN/Utilities/Dictionary/Entries/ANC/src'
make[1]: *** [library] Error 2
make[1]: Leaving directory `/data2_3400/utils/bin/ADL_3.0/ADL/CMN'
make: *** [library] Error 2
houchin
Posts: 128
Joined: Mon Jan 10, 2011 6:20 am

Re: ADL 3.0 COTS_BOOST_FILESYSTEM_LIB

Post by houchin »

In the installs I did on our Aerospace system and on GRAVITE, those values are unchanged from the UW provided setup script:

Code: Select all

   export COTS_BOOST_HOME=${COTS}/boost_1_45_0/
   export COTS_BOOST_INC=${COTS}/boost_1_45_0
   export COTS_BOOST_LIB=${COTS}/boost_1_45_0/stage/lib
   export COTS_BOOST_SERIAL_LIB=boost_serialization
   export COTS_BOOST_REGEX_LIB=boost_regex
   export COTS_BOOST_FILESYSTEM_LIB=boost_filesystem
   export COTS_BOOST_SYSTEM_LIB=boost_system
Scott Houchin, Senior Engineering Specialist, The Aerospace Corporation
15049 Conference Center Dr CH3/310, Chantilly, VA 20151; 571-307-3914; scott.houchin@aero.org
kbisanz
Posts: 280
Joined: Wed Jan 05, 2011 7:02 pm
Location: Omaha NE

Re: ADL 3.0 COTS_BOOST_FILESYSTEM_LIB

Post by kbisanz »

$COTS_BOOST_FILESYSTEM_LIB should be the actual name of the library (minus the "lib" and ".a" or ".so").

For example, if the $COTS_BOOST_LIB directory contained the file "libboost_filesystem-gcc-mt-1_39.so", $COTS_BOOST_FILESYSTEM_LIB should be set to "boost_filesystem-gcc-mt-1_39". The same goes for $COTS_BOOST_REGEX_LIB and $COTS_BOOST_SERIAL_LIB.
Kevin Bisanz
Raytheon Company
jadavis5
Posts: 13
Joined: Tue Aug 02, 2011 3:32 pm

Re: ADL 3.0 COTS_BOOST_FILESYSTEM_LIB

Post by jadavis5 »

Thanks Scot, using your example, I was able to get past that error.
Post Reply