On Mon, Jul 21, 2014 at 12:16:39PM -0500, Les Mikesell
wrote:> I'm getting errors: '/lib64/libc.so.6: version `GLIBC_2.14' not
found'
> and '/usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.14' not
found'.
> Is there a way to make a backward-compatible binary?
>
> If not, is there a sane way to build something that needs gcc
> 4.8+/boost 1.5.3+/cmake 2.8 on Centos6? I found the devtoolset-2
> software collection with a usable gcc, but no boost. And cmake 2.8
> installs as cmake28 whereas the project expects the normal
> cmake/ccmake names.
I've found that the easiest way is to package your software and use
software like 'mock' (http://fedoraproject.org/wiki/Projects/Mock) to
build the software for other platforms. Mock builds the software in a
chrooted shell built up using the packages for that distribution, so
you it'd use CentOS6's GCC, boost, cmake and glibc.
--
Jonathan Billings <billings at negate.org>