Description of problem: a. Cannot add cartridge postgresql-9.2 to zend-6.1 with errors like below: Failed to execute: 'control start' for /var/lib/openshift/53141c8e5599cdc7c7000045/postgresql pg_ctl: symbol lookup error: /lib64/libldap_r-2.4.so.2: undefined symbol: ber_sockbuf_io_udp b. Error message when add Jenkins-client-1 to zend-6.1: Could not add job 'zend61-build' in Jenkins server: create_job status: 000 You'll need to correct this error before attempting to embed the Jenkins client again. c. Below output returns if execute get_gear_ld_library_path: /var/lib/openshift/53141c8e5599cdc7c7000045/zend/php-5.4/lib Version-Release number of selected component (if applicable): devenv_4446 How reproducible: always Steps: 1. Create a zend-6.1 app; 2. Add postgresql-9.2 or Jenkins-client-1 to the app Actual result: Please refer to the description Expected result: It should succeed. Acctional info: The issue is limited to zend-6.1 and postgresql-9.2/Jenkins-client-1, it succeeds with zend-6.1(postgresql-8.4), python-3.3(postgresql-9.2) and Jenkins-client-1 with PHP, Ruby or Python.
A PR that reverts the LD_LIBRARY_PATH_ELEMENT code from Zend until the bundled libraries are not removed/rebuilded: https://github.com/openshift/li/pull/2439
Being merged now...
Change back to ASSIGNED(devenv_4463): Postgresql-9.2 and Jenkins-client-1 can be added to zend-6.1 successfully now; However, there is no LD path for zend after exetuting get_gear_ld_library_path(only below path returns): /opt/rh/postgresql92/root/usr/lib64 Like for Python-2.7, below returns as expected: /opt/rh/postgresql92/root/usr/lib64:/opt/rh/python27/root/usr/lib64
Verified on devenv_4464: Confirmed with Michal that there is no way how to fix the postgresql undefined symbol error, so it's correct when there is no zend ld path returns after executing get_gear_ld_library_path.