<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 24, 2023 at 3:11 PM Karel Gardas <karel@functional.vision> 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 4/24/23 21:33, Joel Sherrill wrote:<br>
> <br>
> <br>
> On Mon, Apr 24, 2023, 2:11 PM Karel Gardas <karel@functional.vision> wrote:<br>
> <br>
> <br>
> What have you done to this poor FBSD? ;-)<br></blockquote><div><br></div><div>Nothing. :)</div><div><br></div><div>I wonder when we started installing dynamic libraries with qemu. </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>
> Anyway, I've just pkg update; pkg upgrade and result is:<br></blockquote><div><br></div><div>I don't think this is a host issue really. I think our qemu is depending on</div><div>dynamic libraries and actually installing them. Perhaps this magically worked</div><div>when the host system had the same dynamic library versions but when the</div><div>host has newer library versions, they don't get found automatically.</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>
> karel@rtems:/usr/local/lib $ ls -la libglib-2.0.*<br>
> -rw-r--r-- 1 root wheel 2434866 Apr 2 03:18 libglib-2.0.a<br>
> lrwxr-xr-x 1 root wheel 16 Apr 2 03:19 <a href="http://libglib-2.0.so" rel="noreferrer" target="_blank">libglib-2.0.so</a><br>
> <<a href="http://libglib-2.0.so" rel="noreferrer" target="_blank">http://libglib-2.0.so</a>> -><br>
> libglib-2.0.so.0<br>
> lrwxr-xr-x 1 root wheel 23 Apr 2 03:19 libglib-2.0.so.0 -><br>
> libglib-2.0.so.0.7600.1<br>
> -rwxr-xr-x 1 root wheel 1332424 Apr 2 03:19 libglib-2.0.so.0.7600.1<br>
> karel@rtems:/usr/local/lib $ ls -la libintl.*<br>
> -rw-r--r-- 1 root wheel 115868 Jan 3 02:12 libintl.a<br>
> lrwxr-xr-x 1 root wheel 16 Jan 3 02:12 libintl.so -><br>
> libintl.so.8.3.0<br>
> lrwxr-xr-x 1 root wheel 16 Jan 3 02:12 libintl.so.8 -><br>
> libintl.so.8.3.0<br>
> -rw-r--r-- 1 root wheel 55552 Jan 3 02:12 libintl.so.8.3.0<br>
> karel@rtems:/usr/local/lib $ ldd libglib-2.0.so.0.7600.1<br>
> libglib-2.0.so.0.7600.1:<br>
> libiconv.so.2 => /usr/local/lib/libiconv.so.2 (0x1385d09a2000)<br>
> libintl.so.8 => /usr/local/lib/libintl.so.8 (0x1385d19dc000)<br>
> libpcre2-8.so.0 => /usr/local/lib/libpcre2-8.so.0<br>
> (0x1385d23ff000)<br>
> libutil.so.9 => /lib/libutil.so.9 (0x1385d27d9000)<br>
> libthr.so.3 => /lib/libthr.so.3 (0x1385d2e51000)<br>
> libc.so.7 => /lib/libc.so.7 (0x1385cdce8000)<br>
> <br>
> <br>
> so in the worst case you would need to do some house cleaning...<br>
> <br>
> <br>
> Just got this to repeat with someone in the class this week with Ubuntu <br>
> 22 in a VM. The needed dynamic libraries are installed with the RTEMS <br>
> tools in lib64. Weird<br>
<br>
This sounds strange. First of all, your original report was about FBSD <br>
13.1-p6. Obviously you have not been lucky and glib package maintainer <br>
published library requiring libintl.so.9 and then probably reverted to <br>
.8. So high chance is pkg update; pkg upgrade may solve the issue.<br></blockquote><div><br></div><div>They said it worked for them with Ubuntu 20 which is why I think older</div><div>host had native libraries that matched qemu expectations. Newer hosts</div><div>don't have these older dynamic libraries.</div><div><br></div><div>And a new Rocky 9 VM did the same thing. I installed to /tmp/qemu</div><div>and libffi.so.6 is in /tmp/qemu/lib64. The qemu-system-arm it installed</div><div>depends on it. I think we were just lucky when the host and qemu libraries</div><div>matched. </div><div><br></div><div>We have to either build static or set LD_LIBRARY_PATH.</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>
W.r.t. RTEMS tools installing glib/libintl ? Never heard/seen anything <br>
like that and Ubuntu is pretty close to home call here...<br></blockquote><div><br></div><div>My Rocky 9 only installed libffi. Not sure what happened on FreeBSD.</div><div><br></div><div>--joel </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Karel<br>
<br>
</blockquote></div></div>