I am trying to run an exe file in linux and this error message appears:
“error while loading shared libraries: libquickfix.so.14: cannot open shared object file: No such file or directory”
I have the .so version of this file.
My question is where did it get the 14? In my g++ command, i have -lquickfix
This has nothing to do with your compiler. If the executable exists, then the compiler is finished. The problem is with the configuration of
ldd, the run-time linker. Probably, the simplest solution is to ensure that the directory containing libquickfix.so.14 is listed in the environment variableLD_LIBRARY_PATH.