-
Notifications
You must be signed in to change notification settings - Fork 25
FAQ
error while loading shared libraries: libpll_binary.so.0: cannot open shared object file: No such file or directory
ModelTest cannot resolve PLL modules library. First, locate where libpll was installed (e.g., search for the reported file: "libpll_binary.so.0"). If you ran the build script, the it should be in build/lib directory. Next, set LD_LIBRARY_PATH environment variable to the libpll location. For example:
$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/build/lib
bash: ./modeltest−gui: No such file or directory
Most likely the compiler chose a wrong linker. Running ldd command on modeltest-gui binary will probably show /lib/ld64.so. There are 2 solutions for this:
- Change build script such that pll is linked dynamically: remove "
build_static" frommt_qt_extra_conf. - Use the correct linker: Add
-Wl,--dynamic-linker=/lib64/ld-linux-x86-64.so.2atsrc/modeltest.proto theLIBSvariable in thepll_staticsection at the end of the file.
Note: Solutions here might require the use of HomeBrew. In that case, please visit homebrew site and follow the installation instructions. Typically is just one line you should paste on a terminal.
You need to install qt5:
$ brew install qt5
qmake binary would be located in /usr/local/opt/qt/bin, so either
- add it to the path:
$ export PATH="/usr/local/opt/qt/bin:$PATH"
- or use the absolute path in modeltest-ng
build.shscript:
qmake_bin=/usr/local/opt/qt/bin/qmake # qmake binary (for GUI)