[pyqtdeploy] Failing at building the demo
Charles
peacech at gmail.com
Fri Apr 26 16:41:48 BST 2024
Both gave me no error during compilation, but when launching the
application I received `./memory: symbol lookup error: ./memory: undefined
symbol: _ZdlPvm, version Qt_5`.
You should run `ldd memory` and check that the Qt libraries (esp. QtCore)
is loaded from the PyQt5 directory and not from /usr/lib.
Also your LD_LIBRARY_PATH is incomplete, should be
export
LD_LIBRARY_PATH=/home/umberto/miniforge3/envs/memory/lib/python3.1/site-packages/PyQt5/Qt5:/home/umberto/miniforge3/envs/memory/lib/python3.12/site-packages/PyQt5
On Fri, Apr 26, 2024 at 10:28 PM umbertofilippo <umbertofilippo at tiscali.it>
wrote:
> Well, I sincerely have no more clue now...
>
> First, I'd like to tell you that I have just copied the libicu*.so.*56
> files from
> /home/umberto/miniforge3/envs/memory/lib/python3.1/site-packages/PyQt5 to
> /usr/lib/x86_64-linux-gnu and then tried to understand what "add the linker
> flags to link with those libraries" could mean.
>
> I tried to export this (2 times, since I wasn't sure which one was correct
> but none have worked), based on
> https://unix.stackexchange.com/questions/149359/what-is-the-correct-syntax-to-add-cflags-and-ldflags-to-configure
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20240426/322f79be/attachment.htm>
More information about the PyQt
mailing list