Trouble with external libraries in a custom path
Solved
C++ Gurus
-
I have an application called Test01 that uses a library called libtesseract.so
In order to use that library placed in a custom path, in the .pro file I have:unix:!mac { LIBS += -Wl,-rpath=\\\$$ORIGIN/libs } LIBS += libs/libtesseract.so.3.0.5
In the qt.conf file I have
[Paths] Plugins=plugins Libraries=libs
That works in Debian 10 but not in Debian 11.
In Debian 11 I haveldd Test01 | grep tess libtesseract.so.3.0.5 => not found
That behaviour it is not for all the libraries but only for someone.
For example opencv* or poco* libraries don't have that problem.
What can I do to resolve the problem?