<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>