| Summary | Problems configuring LD_LIBRARY_PATH in an Orbix 64 bit environment because of mixup between 32 and 64 bit libraries |
|---|---|
| Article Number | 13824 |
| Environment | Orbix 6.3.3 Red Hat Linux Solaris 64 bit environment |
| Question/Problem Description | Problems configuring LD_LIBRARY_PATH in an Orbix 64 bit environment because of mixup between 32 and 64 bit libraries Error from running a 32 bit binary with the 64 bit plugins coming first in LD_LIBRARY_PATH, or when running a 64 bit binary with the 32 bit plugins coming first in LD_LIBRARY_PATH is.... (IT_CORE:1) E - could not load plug-in cfr_handler: Using configuration scope of "art", failed to open shared library; configuration variable "plugins_cfr_handler:shlib_name" is set to "it_cfr_handler". Run with environment variable IT_SHLIB_VERBOSE set to 1 for more information. Error when executing a 64 bit C Orbix Server: "./server: error while loading shared libraries: libit_ifc_gcc34.so.5: |
| Clarifying Information | |
| Error Message | |
| Defect/Enhancement Number | |
| Cause | Unix loader will look for first plugin it finds in LD_LIBRARY_PATH for 32 bit and LD_LIBRARY_PATH_64 then LD_LIBRARY_PATH for 64 bit executables. Therefore an Orbix 64 bit environment must use LD_LIBRARY_PATH_64 to correctly call Orbix 32 bit services and binaries that are part of the product. |
| Resolution | Use LD_LIBRARY_PATH_64 (and not LD_LIBRARY_PATH) to point to the Orbix 64 bit libraries. Check how this is done in the Orbix domain environment script as created by configuring a domain with the itconfigure tool. |
| Workaround | |
| Notes | |
| Attachment |
| Created date: | 06 September 2011 |
|---|---|
| Last Modified: | 13 February 2013 |
| Last Published: | 23 June 2012 |
| First Published date: | 09 September 2011 |
#Orbix
#KnowledgeDocs