<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>I believe rpm automatically detects the dependencies, even if
they are not in the spec. Removing the dependency from the spec
might not help. There may be some hackish ways of removing a
dependency from the rpm headers but I don't think that it would be
a good idea. Better to spend time on hacking something more useful
than that.<br>
</p>
<p>Another approach is to load the library with dlopen, e.g.</p>
<p><a class="moz-txt-link-freetext" href="https://github.com/monich/harbour-books/blob/master/app/stubs/libmagic.c">https://github.com/monich/harbour-books/blob/master/app/stubs/libmagic.c</a></p>
<p>This allows you to get around the harbour limitations and yet in
every other respect it's as good as linking with the system
library. Of course by doing so you assume the risk of using the
unsupported api. Obviously, this kind of trick should only be done
to very stable libraries that are extremely unlikely to disappear
from the system and have a proven track record of evolving in a
backward compatible manner.</p>
<p>I think the best solution is to add sqlite3 to
allowed_libraries.conf and submit a pull request:</p>
<p><a class="moz-txt-link-freetext" href="https://github.com/sailfish-sdk/sdk-harbour-rpmvalidator/blob/master/allowed_libraries.conf">https://github.com/sailfish-sdk/sdk-harbour-rpmvalidator/blob/master/allowed_libraries.conf</a><br>
</p>
<p>Cheers,<br>
</p>
<p>-Slava<br>
</p>
<div class="moz-cite-prefix"><br>
</div>
<blockquote
cite="mid:CA+4hNMF_1-w3v1ubaQ8USXxo72BKUHEPD7OWYwsHFb9RqwNYAA@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div>
<div><br>
</div>
<div>Is the automatic checker not allowing it through
with sqlite3 as a requirement? Are you sure that you
used the packagename used on jolla systems for the
requirement?</div>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>During deployment as RPM, the specific error is </div>
<div><br>
</div>
<div> <span style="color:rgb(0,0,0);white-space:pre-wrap">Requires</span></div>
<p style="margin:0px"><span style="color:rgb(0,0,0)">========</span></p>
<p style="margin:0px"><span style="color:rgb(170,0,0)">ERROR</span><span
style="color:rgb(0,0,0)"> [</span><span
style="color:rgb(0,0,170)">libsqlite3.so.0</span><span
style="color:rgb(0,0,0)">] Cannot require shared
library: 'libsqlite3.so.0'</span></p>
<p style="margin:0px"><span style="color:rgb(0,170,170)">INFO</span><span
style="color:rgb(0,0,0)"> [</span><span
style="color:rgb(0,0,170)">harbour-osmscout-server</span><span
style="color:rgb(0,0,0)">] Please see our FAQ here: <a
moz-do-not-send="true"
href="https://harbour.jolla.com/faq#2.6.0"><a class="moz-txt-link-freetext" href="https://harbour.jolla.com/faq#2.6.0">https://harbour.jolla.com/faq#2.6.0</a></a>
how to use '__provides_exclude_from' and
'__requires_exclude' .spec file to avoid that</span></p>
<p style="margin:0px"><span style="color:rgb(170,0,0)">FAILED</span></p>
<p style="margin:0px"><span style="color:rgb(170,0,0)"><br>
</span></p>
earlier versions of this app were published in the store
without any issues. Its a part of the app evolution to
require sqlite3 for its function, at least for a time being.</div>
<div class="gmail_quote"><br>
</div>
<div class="gmail_quote">I agree that static linking of
sqlite3 is not necessary and can be considered as a bloat.
Hence my question :)</div>
<div class="gmail_quote"><br>
</div>
<div class="gmail_quote">rinigus</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to <a class="moz-txt-link-abbreviated" href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.sailfishos.org</a></pre>
</blockquote>
<br>
</body>
</html>