how to set the environment variable for ADL3.1

Issues related to installation of ADL
kbisanz
Posts: 280
Joined: Wed Jan 05, 2011 7:02 pm
Location: Omaha NE

Re: how to set the environment variable for ADL3.1

Post by kbisanz »

Is the boost file system library installed? It can't find libboost_system.so.1.45.0. You would need to update $COTS_BOOST_FILESYSTEM_LIB in $ADL_HOME/build/envSetup.*sh assuming you're installing ADL from source (and not using the virtual appliance).
Kevin Bisanz
Raytheon Company
ljiang
Posts: 58
Joined: Mon Jul 11, 2011 10:57 pm

Re: how to set the environment variable for ADL3.1

Post by ljiang »

you may want to try this and build again:

export LD_LIBRARY_PATH=/usr/lib64:$ADLINSTALL/ADL/lib:$ADLINSTALL/local/lib:$ADLINSTALL/COTS/xerces-c_2_8_0-x86_64-linux-gcc_3_4/lib
export LD_RUN_PATH=LD_LIBRARY_PATH
Lide Jiang
CIRA @ NOAA/NESDIS/STAR
scottm

Re: how to set the environment variable for ADL3.1

Post by scottm »

I am looking into the boost issues and I will post a reply once my investigation has completed.
scottm

Re: how to set the environment variable for ADL3.1

Post by scottm »

The installUserCots3.1.sh script for ADL 3.1 installation installed the wrong version of the boost libraries. Please take the latest version of the script. The correct version to use is 1_42 not 1_45.
houchin
Posts: 128
Joined: Mon Jan 10, 2011 6:20 am

Re: how to set the environment variable for ADL3.1

Post by houchin »

scottm wrote:The installUserCots3.1.sh script for ADL 3.1 installation installed the wrong version of the boost libraries. Please take the latest version of the script. The correct version to use is 1_42 not 1_45.
Hmmm... I was able to get ADL to compile just fine with 1.45. That said, I am using gcc 4.3.2, because that is the official supported version. The ADL 3.1 doc says Boost 1.32 or later

I have found that it is far simpler to just install GCC 4.3.2 than to try to futz with ADL to get it to compile with a later version. After getting ADL 3.1 up and running, I one of my conclusion is that it is important to use the same compiler for the COTS as you do for ADL. If I do this, the UW installUserCots3.1.sh script runs just fine, and then buildAdl.ksh works fine.
Scott Houchin, Senior Engineering Specialist, The Aerospace Corporation
15049 Conference Center Dr CH3/310, Chantilly, VA 20151; 571-307-3914; scott.houchin@aero.org
lucy liu
Posts: 54
Joined: Tue Oct 18, 2011 11:02 am

Re: how to set the environment variable for ADL3.1

Post by lucy liu »

Finally our ADL3.1 no longer complains during the installation.
Thanks for all replies. They are very helpful.
Post Reply