[Kolab-devel] PHP bulid error upgrading from kolab 2.1 RC1 to 2.1.0

Gelpi Andrea liste at gelpi.it
Mon Jan 21 15:24:21 CET 2008


Bernhard Reiter wrote:
> On Tuesday 04 December 2007 11:07, Gelpi Andrea wrote:
>> I try to upgrade Kolab from 2.1-rc1 to 2.1.0 give the following
>> segmentation error.
>>
>> On another identical system I upgrade from kolab 2.1-rc1 to kolab 2.1-rc2
>> and then to 2.1.0 final without any error.
>>
>> How can I resolve? Any ideas?
>>
>>
>> Build complete.
>> (It is safe to ignore warnings about tempnam and tmpnam).
>>
>> + exit 0
>> Executing(%install): env -i /kolab/lib/openpkg/bash --norc --noprofile
>> --posix -e /kolab/RPM/TMP/rpm-tmp.39809
>> + cd /kolab/RPM/TMP
>> + cd php-4.4.0
>> + rm -rf /kolab/RPM/TMP/php-4.4.0-root
>> + /kolab/bin/make --no-print-directory install
>> INSTALL_ROOT=/kolab/RPM/TMP/php-4.4.0-root
>> Installing PHP SAPI module:       cgi
>> Installing PHP CGI into: /kolab/RPM/TMP/php-4.4.0-root/kolab/bin/
>> Installing PEAR environment:     
>> /kolab/RPM/TMP/php-4.4.0-root/kolab/lib/php/ make[1]: ***
>> [install-pear-installer] Segmentation fault
>> make: *** [install-pear] Error 2
>> error: Bad exit status from /kolab/RPM/TMP/rpm-tmp.39809 (%install)
> 
> No, you would need to dig deeper into what is going on.
> (There is an option to OpenPKG to leave the scripts there for debugging,
> so you can find out what is actually happen.)
> 
> Also, you probably know about the "Known Problems and Workarounds" section in
> 
> check for the php entry.

I confirm that upgrading form kolab 2.1 rc1 to rc2 o 2.10 final have the problem 
I wrote under debian sarge.

The problem arise as described in
http://ftp.gwdg.de/pub/linux/kolab/server/release/kolab-server-2.1.0/sources/1st.README

ldd /lib/libnss_db.so.2
                 libnss_files.so.2 => /lib/tls/libnss_files.so.2 (0xb7f16000)
            ---> libdb3.so.3 => /usr/lib/libdb3.so.3 (0xb7e6b000)
                 libc.so.6 => /lib/tls/libc.so.6 (0xb7d36000)
                 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
ln -s /dev/null /kolab/lib/libdb3.so.3

If exist /lib/libnss_db.so.2 you need th ln command.

If /lib/libnss_db.so.2 does not exist upgrade has no problem.

-- 
ing. Andrea Gelpi
***************************************************
La Terra non la abbiamo ereditata dai nostri avi,
ma la abbiamo presa in prestito dai nostri bambini.
***************************************************




More information about the devel mailing list