Issue created by Joel Sherrill: 
https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/work_items/210



## Summary
Qemu built by the RSB relies on _libslirp.so_. Unfortunately, the one we build 
is not used by default so on Rocky 9, it results in a failure:


```
$ ~/rtems-work/tools/next/qemu/bin/qemu-system-arm
/home/joel/rtems-work/tools/next/qemu/bin/qemu-system-arm: 
/lib64/libslirp.so.0: version `SLIRP_4.9' not found (required by 
/home/joel/rtems-work/tools/next/qemu/bin/qemu-system-arm)
/home/joel/rtems-work/tools/next/qemu/bin/qemu-system-arm: 
/lib64/libslirp.so.0: version `SLIRP_4.7' not found (required by 
/home/joel/rtems-work/tools/next/qemu/bin/qemu-system-arm)
/home/joel/rtems-work/tools/next/qemu/bin/qemu-system-arm: 
/lib64/libslirp.so.0: version `SLIRP_4.5' not found (required by 
/home/joel/rtems-work/tools/next/qemu/bin/qemu-system-arm)
```

This can be resolved by setting _LD_LIBRARY_PATH_ to point to the _libslirp.so_ 
installed by the RSB. The following command or just exporting LD_LIBRARY_PATH 
works.

`LD_LIBRARY_PATH=/home/joel/rtems-work/tools/next/qemu/lib64  
/tmp/rttools/bin/rtems-test --rtems-bsp=malta_qemu `find build -name hello.exe``

Depending on the host operating systems this is happening on, it could be 
negatively impacting the cron sweeper.

## Steps to reproduce

This is a normal RSB build of qemu. I think all you need is to be on a host 
without the _libslirp.so_ version used to build qemu.

<!-- Pre-set options
- milestone
-->

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/work_items/210
You're receiving this email because of your account on gitlab.rtems.org. 
Unsubscribe from this thread: 
https://gitlab.rtems.org/-/sent_notifications/5-7dca1ighbxz6l42xbguuqiixj-e/unsubscribe
 | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | 
Help: https://gitlab.rtems.org/help


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to