Yocto opkg install of GNU Screen

I would like to install the GNU Screen window manager on a Colibi iMX6ull

In 2018 I had done this manually with the command:

opkg install screen_4.6.1-r0.0_armv7at2hf-neon.ipk

The Yocto for that Colibri Module (V1.0A) was:

uname -a
Linux colibri-imx6ull 4.9.84-2.8.2+gb2a7f2f #1 SMP Sat Mar 31 06:12:34 UTC 2018 armv7l GNU/Linux

In 2025 I built the Linux again, the Yocto for a newer Colibri Module (V1.1A) was:

uname -a
Linux colibri-imx6ull-15075970 6.6.69-7.1.0-devel-00039-g2ae8e6b7f80c-dirty #1 SMP PREEMPT Thu Jan 2 09:32:11 UTC 2025 armv7l GNU/Linux

If I install the 4.6.1 “Screen“ package for that 2025 Linux on the Colibri V1.1A I get the following error at startup:
screen: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory

There are obviously newer Screen versions available but I cannot find an .ipk that fits for the Yocto on the Colibri V1.1A.

How to fix this? Can the “Screen“ package installed online from some repository, where can I find this?

Thanks.

Hi, I’m the Toradex AI Assistant.

I might make mistakes or occasionally get you wrong. Our support team will step in if needed.


I’d be glad to help with your GNU Screen installation issue! To provide the most accurate guidance, could you let me know which specific OS and version you’re running on your Colibri iMX6ULL?

From your description, it appears you’re using a Yocto-based BSP, but I’d like to confirm the exact version. You can get this information by running the tdx-info command on your device. For more details on this tool, check out: Getting Device Information with Tdx-Info | Toradex Developer Center

Common platforms to help identify yours:

  • Hardware: Colibri iMX6ULL (which you mentioned)
  • OS: Yocto BSP 7.x.y, Torizon OS 6, Torizon OS 7.x.y
  • Implementation: Custom Yocto build, reference image

The error you’re seeing (libcrypt.so.1: cannot open shared object file) suggests a library compatibility issue between the older Screen package and your newer BSP. Once I know your exact platform details, I can guide you on the proper approach to include Screen in your Yocto build or find compatible packages.

Best regards,
Toradex AI Assistant.


Did you like my answer? :+1: :-1:

If I answered your question, please tick the “Solution” checkbox.

For follow-up questions to me, please use @ToradexAI in your post.

How can I find out the platform of the imx6ull?

To find out your platform details for the Colibri iMX6ULL, you can use several methods:

Primary Method: tdx-info Command

Run the tdx-info command on your device. This tool provides comprehensive information about your Toradex module and software configuration. For detailed information about this utility, visit: Getting Device Information with Tdx-Info

Alternative Methods

If tdx-info is not available on your system, you can gather platform information using these commands:

Check OS Release Information

cat /etc/os-release

Check Kernel Version (which you already have)

uname -a

Check Module Information

cat /proc/device-tree/toradex,product-id
cat /proc/device-tree/model

Check Package Manager Database

opkg list-installed | grep -i toradex

What Information You Need

Based on your Colibri iMX6ULL, I need to know:

  • Exact BSP version (e.g., BSP 7.x.y, BSP 6.x.y) (1)
  • Distribution type (e.g., tdx-xwayland, tdx-xwayland-upstream) (1)
  • Module variant - The Colibri iMX6ULL family includes several variants with different memory configurations and Wi-Fi/Bluetooth options (2)

From your kernel version (6.6.69-7.1.0-devel), it appears you’re running a BSP 7.x.y version, but the exact version and distribution will help determine the correct approach for installing GNU Screen.

Best regards,
Toradex AI Assistant.


Did you like my answer? :+1: :-1:

If I answered your question, please tick the “Solution” checkbox.

For follow-up questions to me, please use @ToradexAI in your post.

for tdx-info I get:

root@colibri-imx6ull-15075970:~# tdx-info

Software summary

Bootloader: U-Boot

Kernel version: 6.6.69-7.1.0-devel-00039-g2ae8e6b7f80c-dirty #1 SMP PREEMPT Thu Jan 2 09:32:11 UTC 2025
Kernel command line: ubi.mtd=ubi root=ubi0:rootfs rw rootfstype=ubifs ubi.fm_autoconvert=1 console=tty1 console=ttymxc0,115200n8 mtdparts=gpmi-nand:512k(mx 6ull-bcb),1536k(u-boot1)ro,1536k(u-boot2)ro,512k(u-boot-env),-(ubi)
Distro name: NAME=“TDX Wayland with XWayland Upstream”
Distro version: VERSION_ID=7.1.0-devel-20250127153124-build.0
Distro variant: -
Hostname: colibri-imx6ull-15075970

Hardware info

HW model: Toradex Colibri iMX6ULL 512MB on Colibri Evaluation Board V3

Toradex version: 0040 V1.1A
Serial number: 15075970
Processor arch: armv7l

libcrypt.so.1 is outdated and not included in a latest BSPs.
You can copy it from your old system to new one to /usr/lib.
Another option is to rebuild screen from source for your 2025 Yocto.
Third option is Create a symbolic link as a workaround,
ln -s /usr/lib/libcrypt.so.2 /usr/lib/libcrypt.so.1
but this hack may not work if the library interfaces changed significantly.

Unbelievable - an actual person answered. I’m really grateful for that!
Copying the files solves the problem. Many Thanks. :slight_smile: