<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Aug 14, 2019 at 3:58 PM Gary Mills <<a href="mailto:gary_mills@fastmail.fm">gary_mills@fastmail.fm</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">On Wed, Aug 14, 2019 at 10:39:22AM +0200, Till Wegmüller wrote:<br>
> <br>
> PKG uses it's own PATH variable to find libraries. Think of -I for GCC<br>
> for example. And that has been modified to include<br>
> usr/lib/libjpeg6-ijg/lib already but now also needs usr/gcc/6/lib to be<br>
> added.<br>
<br>
Are you saying that pkg does not use the runtime path from the ELF<br>
section at all?  The runtime linker certainly uses that.<br>
<br>
/usr/gcc/6 is the default compiler for the 2018 version of OI that I'm<br>
using.  Surely that element is already in the runtime path that's used<br>
by pkg.  I'd expect that jpeg library path to be the one that's<br>
absent.<br>
<br>
> You can override that by either:<br>
> - Setting the dependency in the manifest manually and add<br>
> pkg.depend-bypass to the files that complain or<br>
> - Modify the Include path PKG searches. I am however unsure which exact<br>
> knob in oi-userland to tweak here.<br>
<br>
Do you have examples from other packages of these two techniques?<br>
I'd like to start with something that works.<br>
<br>
> You should see the override either in the Makefile or the Manifest look<br>
> for "usr/lib/<span class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"></span>libjpeg6-ijg/lib" mentioned there.<br>
<br>
There's nothing in either for the print/cups-filters package.<br></blockquote><div><br></div><div><div style="font-family:arial,helvetica,sans-serif;font-size:small" class="gmail_default">Look in the Makefile, it should use image/library/libjpeg8-turbo not <span class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"></span>libjpeg6-ijg.</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">Probably it is not installed on your system, execute gmake env-prep.</div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
<br>
-- <br>
-Gary Mills-            -refurb-                -Winnipeg, Manitoba, Canada-<br>
<br>
_______________________________________________<br>
oi-dev mailing list<br>
<a href="mailto:oi-dev@openindiana.org" target="_blank">oi-dev@openindiana.org</a><br>
<a href="https://openindiana.org/mailman/listinfo/oi-dev" rel="noreferrer" target="_blank">https://openindiana.org/mailman/listinfo/oi-dev</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><font style="font-family:courier new,monospace" size="1">---<br>Praise the Caffeine embeddings<br></font></div></div></div></div></div>