Hello,
ldd libcpptraj.so points to /lib64/libstdc++.so.6.
.Dan: how do you get gcc-11? On my container, this is gcc 10.2.1 with
Fedora 33.
Best,
Gerald.
On Wed, May 26, 2021 at 10:01 PM David A Case <david.case.rutgers.edu>
wrote:
> On Fri, May 21, 2021, Dan Roe wrote:
>
> >Fedora 33 Gcc 11 (cmake, serial+openmp) builds fine. Built using:
> >
> >Almost all AT tests pass. However, there is an error when trying to
> >import pytraj. It seems that libcpptraj.so gets linked to the
> >libstdc++ from miniconda, and that requires a much higher version of
> >glibc (3.4.29) than what ships with fedora 33 (2.32). Note that this
> >happens with "configure" as well so it's not a cmake problem:
> >
> >```
> >$ amber.python
> >>>> import pytraj as pt
>
> >ImportError:
> /home/droe/amber/GIT/amber20_src/build/CMakeFiles/miniconda/install/lib/libstdc++.so.6:
> >version `GLIBCXX_3.4.29' not found (required by
>
> >/home/droe/amber/GIT/amber20_src/build/AmberTools/src/cpptraj/src/libcpptraj.so)
>
> Dan (Gerald): can you cd to amber20_src/build/AmberTools/src/cpptraj/src/
> and type "ldd libcpptraj.so"? Does it point to a miniconda libstdc++? On
> my Ubunutu machines, it points to the libstdc++ in /usr/lib.
>
> pytraj seems to work fine on Gerald's Fedora container, so maybe seeing
> what
> ldd reports there might be a start.
>
> ...thanks...dave
>
>
> _______________________________________________
> AMBER-Developers mailing list
> AMBER-Developers.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber-developers
>
_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Wed May 26 2021 - 19:30:03 PDT