You already asked this question on the devel list, and I've asked you for more information.
Please don't just re-post your question over here on the user list and expect to get a different answer. Thanks! > On Jun 22, 2018, at 4:55 PM, lille stor <lille.s...@gmx.com> wrote: > > Hi, > > > When compiling a C++ source file named test.cpp that needs a shared library > named libUtils.so which in its turn needs Open MPI shared library libmpi.so > (hence the parameter -Wl,-rpath-link,/home/dummy/openmpi/build/lib): > > g++ test.cpp -lUtils -Wl,-rpath-link,/home/dummy/openmpi/build/lib > The error /home/dummy/openmpi/build/lib/libopen-pal.so.20: undefined > reference to pthread_atfork is thrown. > > I tried to pass -pthread and -lpthread (before and after -lUtils) to g++ but > none of these solved the error. Any idea what is going on? > > > Environment where this error is thrown: > > OS: Ubuntu 14.04 > Compiler: g++ 4.9 > MPI: Open MPI 2.1.3 > > Thanks, > > > L. > > > _______________________________________________ > users mailing list > users@lists.open-mpi.org > https://lists.open-mpi.org/mailman/listinfo/users -- Jeff Squyres jsquy...@cisco.com _______________________________________________ users mailing list users@lists.open-mpi.org https://lists.open-mpi.org/mailman/listinfo/users