When I run a third-party program in C ++, I get the following error:
when loading shared libraries: libgomp.so.1: cannot open shared objects file: no such file or directory
The libgomp.so.1 library is a collection of the GNU compiler for the OpenMP library.
Is this part of the GCC package? I can run the program on a system with gcc-4.5, but not with a gcc-4.3 or gcc-4.6 system.
Or do I need to install another package?
I tried to fix this manually on the system using gcc-4.3, loading the library and putting it on LD_LIBRARY_PATH, but then I get another missing library: / usr / lib / libstdc ++. So.6: version `GLIBCXX_3. 4.11 'not found. libstdc is the GNU C ++ standard library, so does this also indicate the wrong version of GCC?
I am not a C ++ developer, so I don’t quite understand what these libraries are and how libraries in general work with C ++ code.
os - 64-bit Linux.
A machinegcc-4.3: openSUSE 11.1
gcc-4.5 machine: openSUSE 11.4 (the program runs on this computer)
gcc-4.6: openSUSE 12.1
source
share