[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-finance-apps
Subject: Re: GSoC 21 KMyMoney: Replacing member functions of WebPriceQuote
From: Ralf Habacker via Kde-finance-apps <kde-finance-apps () kde ! org>
Date: 2021-07-30 19:27:58
Message-ID: 84a54a29-fbae-3da0-97c7-7a4600531347 () freenet ! de
[Download RAW message or body]
Am 30.07.21 um 20:19 schrieb Thomas Baumgart via Kde-finance-apps:
> On Freitag, 30. Juli 2021 18:54:09 CEST Suraj Kumar Mahto via Kde-finance-apps \
> wrote:
> > Thank you,
> > I found out that it uses /usr/lib64/libalkimia5.so.8.1.0 while ldd command
> > dumps using, my local shared object file.
> > What could be the possible fix for this? Maybe passing the LD_LIBRARY_PATH
> > argument but it will do that for all libs?
> No, that only affects the link loader (runtime) but not the linker (build time).
>
> for info. Only use those locally and don't add them to the repo.
You need to tell cmake to use a custom install path for the alkimia
library you just build e.g.
cd <root-dir> git clone <alkimia-git-repo-url> mkdir
<root-dir>/alkimia-build
cd <root-dir>/alkimia-build
cmake <root-dir>/alkimia
make
make install DESTDIR=<root-dir>/alkimia-install
and add
-DLibAlkimia5_DIR=<root-dir>/alkimia-install/usr/local/lib64/cmake/LibAlkimia8-8.1
to the kmymoney cmake command line or modify the related cmake variable in \
CMakeCache.txt from the kmymoney's build dir.
Ralf
[Attachment #3 (text/html)]
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
<div class="moz-cite-prefix">Am 30.07.21 um 20:19 schrieb Thomas
Baumgart via Kde-finance-apps:<br>
</div>
<blockquote type="cite" cite="mid:11825169.O9o76ZdvQC@thb-nb">
<pre class="moz-quote-pre" wrap="">On Freitag, 30. Juli 2021 18:54:09 CEST \
Suraj Kumar Mahto via Kde-finance-apps wrote:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">Thank you,
I found out that it uses /usr/lib64/libalkimia5.so.8.1.0 while ldd command
dumps using, my local shared object file.
What could be the possible fix for this? Maybe passing the LD_LIBRARY_PATH
argument but it will do that for all libs?
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
No, that only affects the link loader (runtime) but not the linker (build time).
for info. Only use those locally and don't add them to the repo.
</pre>
</blockquote>
<p>You need to tell cmake to use a custom install path for the
alkimia library you just build e.g.<br>
</p>
<pre class="moz-quote-pre" wrap=""><span id="LC1" class="line" \
lang="plaintext"><span id="LC1" class="line" lang="plaintext">cd \
<root-dir></span> <span id="LC2" class="line" lang="plaintext">git clone \
<alkimia-git-repo-url></span>
mkdir <root-dir>/alkimia-build</span>
<span id="LC2" class="line" lang="plaintext">cd <root-dir>/alkimia-build</span>
<span id="LC3" class="line" lang="plaintext">cmake <root-dir>/alkimia</span>
<span id="LC4" class="line" lang="plaintext">make</span>
<span id="LC5" class="line" lang="plaintext">
make install</span> DESTDIR=<span id="LC1" class="line" \
lang="plaintext"><root-dir></span>/alkimia-install
and add
-DLibAlkimia5_DIR=<span id="LC1" class="line" \
lang="plaintext"><root-dir></span>/alkimia-install/usr/local/lib64/cmake/LibAlkimia8-8.1 \
to the kmymoney cmake command line or modify the related cmake variable in \
CMakeCache.txt from the kmymoney's build dir.
Ralf
</pre>
</body>
</html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic