Wind River Support Network

HomeDefectsLIN7-3520
Fixed

LIN7-3520 : oe-core: bad ldconfig-native output on 64bit systems when --enable-reconfig is used, thus preventing Openstack live migration

Created: Apr 27, 2015    Updated: Sep 8, 2018
Resolved Date: Apr 29, 2015
Found In Version: 7.0.0.3
Fix Version: 7.0.0.6
Severity: Low
Applicable for: Wind River Linux 7
Component/s: Host Tools

Description

At runtime the ctypes.util.find_library() python function fails to detect any library due to the wrong file format that ldconfig-native creates (it should work on 32 bit systems, but not 64 bit) this prevents Openstack live migration of Ceph volumes from completing as it does not find librbd.


Workaround

Apply the attached patch to oe-core layer to enable 64-bit flags.

Steps to Reproduce

Do a build for a 64 bit image with --enable-reconfig, make sure you have python interpreter and base python libraries, boot the image, open python console and run:

>>> import ctypes.util
>>> ctypes.util.find_library('c')

you will get no output, close python, run ldconfig, start python again and run:
>>> import ctypes.util
>>> ctypes.util.find_library('c')
'libc.so.6'

Other Downloads


Live chat
Online