Question: I have to integrate third party system through `BizTalk 2013`. The third party providing below two option for integration:

1. Flat files [(File Adapter)](https://msdn.microsoft.com/en-us/library/ee253326(v=bts.10).aspx)
2. Web Service API [(WCF-BasicHttp Adapter)](https://msdn.microsoft.com/en-us/library/bb246098.aspx)

What is the best way to integrate and what are the pros and cons of these? I am a beginner and want an expert opinion.

Answer: 
I solved problem like this (but GLIBCXX\_3.4.21 on CentOS) but it is not dependent from os. The library is part of `gcc` compiler so need to install or compile appropriate version of `gcc`. This is table of versions of `gcc` and versions of appropriate `libstdc++`:

> 
> 
> ```
> GCC 4.9.0: libstdc++.so.6.0.20
> GCC 5.1.0: libstdc++.so.6.0.21
> GCC 6.1.0: libstdc++.so.6.0.22
> GCC 7.1.0: libstdc++.so.6.0.23
> GCC 7.2.0: libstdc++.so.6.0.24
> GCC 8.0.0: libstdc++.so.6.0.25
> 
> ```
> 
> 

( full list of versions is [here](https://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html) )

It is not dependent from how to install gcc - it may be installed from package or compiled and installed from sources.

It is possible that system gcc libraries is available instead of newely installed. So need to specify environment variable where to find libraries for example in command line like this:

```
$ LD_LIBRARY_PATH=/usr/local/lib64 command args ...

```
answer for lazy ppl
this should fix situation in most cases

```
apt-get update && apt-get install sudo && \
sudo apt-get install build-essential software-properties-common -y && \
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && \
sudo add-apt-repository ppa:george-edison55/cmake-3.x -y && \
sudo apt-get update && \
sudo apt-get install gcc-snapshot -y && \
sudo apt-get update && \
sudo apt-get install gcc-6 g++-6 -y && \
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 60 --slave /usr/bin/g++ g++ /usr/bin/g++-6 && \
sudo apt-get install gcc-4.8 g++-4.8 -y && \
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 40 --slave /usr/bin/g++ g++ /usr/bin/g++-4.8 && \
sudo update-alternatives --config gcc && \
sudo apt-get update && \
sudo apt-get install cmake -y;

```