Fixed
Created: Apr 10, 2015
Updated: Dec 3, 2018
Resolved Date: Apr 28, 2015
Found In Version: 6.0.0.16
Fix Version: 6.0.0.20
Severity: Low
Applicable for: Wind River Linux 6
Component/s: Host Tools
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.
Apply the attached patch to oe-core layer to enable 64-bit flags.
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'