Skip to main content
Summary Problems configuring CLDSServicesService in an Artix 64 bit environment because of mixup between 32 and 64 bit libraries. Error occurs when running a 64 bit binary with the 32 bit plugins.
Article Number 33825
Environment Artix 5.5 Solaris - Sparc 64 bit environment
Question/Problem Description

Problems configuring CLDSServicesService in Artix 5.5, 64 bit environment because of mixup between 32 and 64 bit libraries.

Error occurs when executing a 64 bit Artix Server

 

Clarifying Information
Error Message [IT_Shlib_Manager, thread 1] loading CLDSServicesServiceCLDSServices.... [IT_Shlib_Manager, thread 1] could not find CLDSServicesServiceCLDSServices. [IT_Shlib_Manager, thread 1] could not find CLDSServicesServiceCLDSServices. IONA Artix container server: Failed to deploy the service CLDSServicesService because the plugin could not be loaded. Check that the shared library CLDSServicesServiceCLDSServices has been built and that it is on your path. Run with environment variable IT_SHLIB_VERBOSE set to 1 for more information. [IT_Shlib_Manager, thread 1] Error while trying to dlopen() wrong ELF class: ELFCLASS64
Defect/Enhancement Number
Cause
Resolution
Unix loader will look for first plugin it finds in 32 bit and then for 64 bit executables. Therefore an Artix 64 bit environment must use 64 bit plugins to correctly call Artix 64 bit services and binaries that are part of the product.

Use 64 bit libraries from <Artix>/cxx_java/shlib/sparcv9 to point to the Artix 64 bit libraries instead of using the 32 bit libraries from <Artix>/cxx_java/shlib. 
Workaround
Notes
Attachment
Created date: 03 August 2012
Last Modified: 12 February 2013
Last Published: 15 August 2012
First Published date: 07 August 2012

#KnowledgeDocs
#Orbix