|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Gianmarco Farro
Join Date: Apr 2023
Posts: 3
Rep Power: 4 ![]() |
When installing SU2 7.5.1 on Ubuntu 20.04 using the ninja command, I faced the following problem:
[496/503] Linking target SU2_CFD/src/SU2_CFD FAILED: SU2_CFD/src/SU2_CFD c++ -o SU2_CFD/src/SU2_CFD SU2_CFD/src/SU2_CFD.p/SU2_CFD.cpp.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -Wl,-rpath,/usr/lib/x86_64-linux-gnu/openmpi/lib -Wl,-rpath-link,/usr/lib/x86_64-linux-gnu/openmpi/lib -Wl,--start-group SU2_CFD/src/libSU2core.a externals/metis/libmetis.a externals/parmetis/libparmetis.a externals/tecio/teciompisrc/libteciompi.a subprojects/CoolProp/libCoolProp.a Common/src/libSU2Common.a /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so -Wl,--end-group /usr/bin/ld: subprojects/CoolProp/libCoolProp.a(src_Backends_REFPROP_REFPROPMixtureB ackend.cpp.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5' /usr/bin/ld: /lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status [498/503] Compiling C++ object SU2_DOT/src/SU2_DOT.p/SU2_DOT.cpp.o ninja: build stopped: subcommand failed. The build was made with: ./meson.py build -Denable-coolprop=true -Denable-cgns=false --prefix=/home/gianmarco/SU2/SU2_src and the installation with: ./ninja -C build install Does anyone know how can I solve the problem? |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Member
PENG YAN
Join Date: Jul 2021
Location: Italy
Posts: 34
Rep Power: 5 ![]() |
It seems that you have some issue of openmpi.
try: $ sudo apt install libopenmpi-dev then re-compile and re-build. |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Gianmarco Farro
Join Date: Apr 2023
Posts: 3
Rep Power: 4 ![]() |
Thanks for the reply!
The problem was the make version... maybe it was too old. Upgrading to version 4.4.1 made the trick, since the compilerò was able to use dl libraries and dlopen notably. |
|
![]() |
![]() |
![]() |
Tags |
ninja installation failed, su2 installation error |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adding material to CFX material library | marlon | CFX | 2 | October 16, 2016 09:33 |
The fl process could not be started because of UDF | majid_kamyab | Fluent UDF and Scheme Programming | 6 | December 15, 2015 08:42 |
Rheolef: a C++ finite element library for solving PDE (annonce) | saramito | Main CFD Forum | 0 | October 14, 2009 04:58 |
Problems in personal library compilation | shrina | OpenFOAM | 3 | February 23, 2009 11:12 |
Personal library compilation | mss | OpenFOAM Running, Solving & CFD | 1 | September 13, 2007 06:10 |