<div dir="ltr">Slava,<div><br></div><div>thank you for this constructive suggestion. I submitted PR <a href="https://github.com/sailfish-sdk/sdk-harbour-rpmvalidator/pull/86">https://github.com/sailfish-sdk/sdk-harbour-rpmvalidator/pull/86</a> to add sqlite into the list of allowed libraries. Hopefully, it will be accepted.</div><div><br></div><div>Best wishes,</div><div><br></div><div>Rinigus</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 18, 2017 at 3:29 PM, Slava Monich <span dir="ltr"><<a href="mailto:slava.monich@jolla.com" target="_blank">slava.monich@jolla.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div 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="m_5027424713069645712moz-txt-link-freetext" href="https://github.com/monich/harbour-books/blob/master/app/stubs/libmagic.c" target="_blank">https://github.com/monich/<wbr>harbour-books/blob/master/app/<wbr>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="m_5027424713069645712moz-txt-link-freetext" href="https://github.com/sailfish-sdk/sdk-harbour-rpmvalidator/blob/master/allowed_libraries.conf" target="_blank">https://github.com/sailfish-<wbr>sdk/sdk-harbour-rpmvalidator/<wbr>blob/master/allowed_libraries.<wbr>conf</a><br>
</p>
<p>Cheers,<br>
</p>
<p>-Slava<br>
</p>
<div class="m_5027424713069645712moz-cite-prefix"><br>
</div>
<blockquote type="cite"><div><div class="h5">
<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 href="https://harbour.jolla.com/faq#2.6.0" target="_blank"></a><a class="m_5027424713069645712moz-txt-link-freetext" href="https://harbour.jolla.com/faq#2.6.0" target="_blank">https://harbour.jolla.com/faq#<wbr>2.6.0</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="m_5027424713069645712mimeAttachmentHeader"></fieldset>
<br>
</div></div><span class=""><pre>______________________________<wbr>_________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to <a class="m_5027424713069645712moz-txt-link-abbreviated" href="mailto:devel-unsubscribe@lists.sailfishos.org" target="_blank">devel-unsubscribe@lists.<wbr>sailfishos.org</a></pre>
</span></blockquote>
<br>
</div>
<br>______________________________<wbr>_________________<br>
SailfishOS.org Devel mailing list<br>
To unsubscribe, please send a mail to <a href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.<wbr>sailfishos.org</a><br></blockquote></div><br></div>