Qemu and missing dynamic libraries

Karel Gardas karel at functional.vision
Mon Apr 24 20:11:52 UTC 2023


On 4/24/23 21:33, Joel Sherrill wrote:
> 
> 
> On Mon, Apr 24, 2023, 2:11 PM Karel Gardas <karel at functional.vision> wrote:
> 
> 
>     What have you done to this poor FBSD? ;-)
> 
>     Anyway, I've just pkg update; pkg upgrade and result is:
> 
>     karel at rtems:/usr/local/lib $ ls -la libglib-2.0.*
>     -rw-r--r--  1 root  wheel  2434866 Apr  2 03:18 libglib-2.0.a
>     lrwxr-xr-x  1 root  wheel       16 Apr  2 03:19 libglib-2.0.so
>     <http://libglib-2.0.so> ->
>     libglib-2.0.so.0
>     lrwxr-xr-x  1 root  wheel       23 Apr  2 03:19 libglib-2.0.so.0 ->
>     libglib-2.0.so.0.7600.1
>     -rwxr-xr-x  1 root  wheel  1332424 Apr  2 03:19 libglib-2.0.so.0.7600.1
>     karel at rtems:/usr/local/lib $ ls -la libintl.*
>     -rw-r--r--  1 root  wheel  115868 Jan  3 02:12 libintl.a
>     lrwxr-xr-x  1 root  wheel      16 Jan  3 02:12 libintl.so ->
>     libintl.so.8.3.0
>     lrwxr-xr-x  1 root  wheel      16 Jan  3 02:12 libintl.so.8 ->
>     libintl.so.8.3.0
>     -rw-r--r--  1 root  wheel   55552 Jan  3 02:12 libintl.so.8.3.0
>     karel at rtems:/usr/local/lib $ ldd libglib-2.0.so.0.7600.1
>     libglib-2.0.so.0.7600.1:
>               libiconv.so.2 => /usr/local/lib/libiconv.so.2 (0x1385d09a2000)
>               libintl.so.8 => /usr/local/lib/libintl.so.8 (0x1385d19dc000)
>               libpcre2-8.so.0 => /usr/local/lib/libpcre2-8.so.0
>     (0x1385d23ff000)
>               libutil.so.9 => /lib/libutil.so.9 (0x1385d27d9000)
>               libthr.so.3 => /lib/libthr.so.3 (0x1385d2e51000)
>               libc.so.7 => /lib/libc.so.7 (0x1385cdce8000)
> 
> 
>     so in the worst case you would need to do some house cleaning...
> 
> 
> Just got this to repeat with someone in the class this week with Ubuntu 
> 22 in a VM. The needed dynamic libraries are installed with the RTEMS 
> tools in lib64. Weird

This sounds strange. First of all, your original report was about FBSD 
13.1-p6. Obviously you have not been lucky and glib package maintainer 
published library requiring libintl.so.9 and then probably reverted to 
.8. So high chance is pkg update; pkg upgrade may solve the issue.

W.r.t. RTEMS tools installing glib/libintl ? Never heard/seen anything 
like that and Ubuntu is pretty close to home call here...

Karel



More information about the devel mailing list