Hi, When attempting to build OpenMPI in a Fedora 34 Docker image I get the following linker errors:
#22 77.36 make[2]: Entering directory '/build/openmpi-4.1.1/opal/tools/wrappers' #22 77.37 CC opal_wrapper.o #22 77.67 CCLD opal_wrapper #22 77.81 /usr/bin/ld: ../../../opal/.libs/libopen-pal.so: undefined reference to `opal_util_keyval_yytext' #22 77.81 /usr/bin/ld: ../../../opal/.libs/libopen-pal.so: undefined reference to `opal_util_keyval_yyin' #22 77.81 /usr/bin/ld: ../../../opal/.libs/libopen-pal.so: undefined reference to `opal_util_keyval_yylineno' #22 77.81 /usr/bin/ld: ../../../opal/.libs/libopen-pal.so: undefined reference to `opal_util_keyval_yynewlines' #22 77.81 /usr/bin/ld: ../../../opal/.libs/libopen-pal.so: undefined reference to `opal_util_keyval_yylex' #22 77.81 /usr/bin/ld: ../../../opal/.libs/libopen-pal.so: undefined reference to `opal_util_keyval_parse_done' #22 77.81 /usr/bin/ld: ../../../opal/.libs/libopen-pal.so: undefined reference to `opal_util_keyval_yylex_destroy' #22 77.81 /usr/bin/ld: ../../../opal/.libs/libopen-pal.so: undefined reference to `opal_util_keyval_init_buffer' #22 77.81 collect2: error: ld returned 1 exit status My configure command is just ./configure --prefix=/usr/local/openmpi. I also tried ./configure --prefix=/usr/local/openmpi --disable-silent-rules --enable-builtin-atomics --with-hwloc=/usr --with-libevent=external --with-pmix=external --with-valgrind (similar to what is in the Fedora spec file for OpenMPI) but that produces the same errors. Is there a third-party library I need to install or an additional configure option I can set that will fix these? John