Wind River Support Network

HomeDefectsLIN6-3565
Fixed

LIN6-3565 : 32-bit .so library links missing from 64-bit SDK

Created: Jun 4, 2013    Updated: Jul 9, 2016
Resolved Date: Dec 12, 2013
Previous ID: LIN5-3605, LIN6-2900
Found In Version: 6.0
Fix Version: 6.0
Severity: Standard
Applicable for: Wind River Linux 6
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