[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [pyqtdeploy] Failing at building the demo
From: Charles <peacech () gmail ! com>
Date: 2024-04-26 15:41:48
Message-ID: CABthHP_T-vUqj5hgwdMKS_FTrtag6BnQ2rt6Xew_thSA__pKsQ () mail ! gmail ! com
[Download RAW message or body]
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@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
>
[Attachment #3 (text/html)]
<div dir="ltr"><div dir="ltr"><blockquote class="gmail_default gmail_quote" \
style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"> 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`.
</blockquote><div><br></div><div \
style="font-family:arial,helvetica,sans-serif;font-size:small" \
class="gmail_default">You should run `ldd memory` and check that the Qt libraries \
(esp. QtCore) is loaded from the PyQt5 directory and not from /usr/lib.</div><div \
style="font-family:arial,helvetica,sans-serif;font-size:small" \
class="gmail_default"><br></div><div \
style="font-family:arial,helvetica,sans-serif;font-size:small" \
class="gmail_default">Also your LD_LIBRARY_PATH is incomplete, should be</div><div \
style="font-family:arial,helvetica,sans-serif;font-size:small" \
class="gmail_default"><br></div><div \
style="font-family:arial,helvetica,sans-serif;font-size:small" \
class="gmail_default">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</div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 26, 2024 at \
10:28 PM umbertofilippo <<a \
href="mailto:umbertofilippo@tiscali.it">umbertofilippo@tiscali.it</a>> \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>
<div class="">
<p>Well, I sincerely have no more clue now...</p>
<p>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.</p>
<p>I tried to export this (2 times, since I wasn't sure which one
was correct but none have worked), based on
<a href="https://unix.stackexchange.com/questions/149359/what-is-the-correct-syntax-to-add-cflags-and-ldflags-to-configure" \
target="_blank">https://unix.stackexchange.com/questions/149359/what-is-the-correct-syntax-to-add-cflags-and-ldflags-to-configure</a><br>
</p></div>
</blockquote></div></div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic