<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Sun, Mar 23, 2025 at 8:51 PM Klaus Ziegler <<a href="mailto:klausz@haus-gisela.de">klausz@haus-gisela.de</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"><br>
Hi,<br>
<br>
here's the solution:<br>
<br>
<a href="https://github.com/OpenIndiana/oi-userland/pull/21242" rel="noreferrer" target="_blank">https://github.com/OpenIndiana/oi-userland/pull/21242</a><br></blockquote><div><br></div><div>That's not really the solution, The problem is that the php configure check is simply broken,<br></div><div>it blindly looks for the file in /usr/lib rather than where it should. It's picking up completely<br></div><div>the wrong file - for example, if you only had a 32-bit imap it would still decide it had found it,<br></div><div>only to fail later at the link stage.<br><br></div><div>The only correct solution, I suspect, would be to patch php's configure to look in the right place.<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">
I anyways would have stumbled across this, as I also<br>
have to re-compile php releases for SPARC.<br>
<br>
Rgds<br>
Klaus<br>
<br>
On 3/23/25 21:10, Goetz T. Fischer via oi-dev wrote:<br>
> On Sun, 23 Mar 2025 03:06:24 +0100, Goetz T. Fischer wrote:<br>
>> i guess since the dso is not in /usr/lib anymore but only in /usr/lib/amd64, php's configure<br>
>> doesn't pick it up and falls back to looking for the static lib which we don't have.<br>
> simply creating a libc-client.so link in /usr/lib solves this. so that's indeed why it fails.<br>
><br>
> unfortunately php's configure neither wants to make use of -L/usr/lib/$(MACH64) nor setting<br>
> --with-imap=shared,/usr/lib/$(MACH64) helps.<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>
<br>
-- <br>
illumos / illumos-developer / see discussions + participants + delivery <br>
options Permalink<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><div><br clear="all"></div><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">-Peter Tribble<br><a href="http://www.petertribble.co.uk/" target="_blank">http://www.petertribble.co.uk/</a> - <a href="http://ptribble.blogspot.com/" target="_blank">http://ptribble.blogspot.com/</a></div></div>