Wind River Support Network

HomeDefectsLIN5-3594
Fixed

LIN5-3594 : 32-bit .so library links missing from 64-bit SDK

Created: Jun 4, 2013    Updated: Dec 19, 2017
Resolved Date: Aug 9, 2013
Found In Version: 5.0.1
Fix Version: 5.0.1.7
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: Userspace

Description

When building a 64-bit multilib SDK the links to 32-bit libraries are not being installed.

Workaround

Manually create the required links.

Steps to Reproduce

$ configure --enable-board=qemux86_64 --enable-kernel=cgl --enable-rootfs=glibc_cgl
$ make export-sdk

NOTE: before building, ensure that the 32-bit libraries you need are enabled, for example you should add lin32-openssl. This can be done through a template containing this line:

IMAGE_INSTALL_append += "lib32-openssl"

Install the SDK then check for the library:

$ cd /path/to/sdk
$ find . -name 'libcrypto*'
./sysroots/qemux86_64-wrs-linux/usr/lib64/pkgconfig/libcrypto.pc
./sysroots/qemux86_64-wrs-linux/lib64/.debug/libcrypto.so
./sysroots/qemux86_64-wrs-linux/lib64/.debug/libcrypto.so.1.0.0
./sysroots/qemux86_64-wrs-linux/lib64/libcrypto.so
./sysroots/qemux86_64-wrs-linux/lib64/libcrypto.so.1.0.0
./sysroots/qemux86_64-wrs-linux/lib/.debug/libcrypto.so
./sysroots/qemux86_64-wrs-linux/lib/.debug/libcrypto.so.1.0.0
./sysroots/qemux86_64-wrs-linux/lib/libcrypto.so.1.0.0

Notice lib64/libcrypto.so is a symlink to lib64/libcrypto.so.1.0.0 but there is no corresponding 32-bit link to lib/libcrypto.so.1.0.0

This is true also with libssl:

$ find . -name 'libssl*'
./sysroots/qemux86_64-wrs-linux/usr/lib64/libssl.so
./sysroots/qemux86_64-wrs-linux/usr/lib64/pkgconfig/libssl.pc
./sysroots/qemux86_64-wrs-linux/usr/lib64/.debug/libssl.so
./sysroots/qemux86_64-wrs-linux/usr/lib64/.debug/libssl.so.1.0.0
./sysroots/qemux86_64-wrs-linux/usr/lib64/libssl.so.1.0.0
./sysroots/qemux86_64-wrs-linux/usr/lib/.debug/libssl.so
./sysroots/qemux86_64-wrs-linux/usr/lib/.debug/libssl.so.1.0.0
./sysroots/qemux86_64-wrs-linux/usr/lib/libssl.so.1.0.0
./sysroots/qemux86_64-wrs-linux/lib64/.debug/libssl3.so
./sysroots/qemux86_64-wrs-linux/lib64/libssl3.so

Other Downloads


Live chat
Online