Segfault on webclient ! (Solved)
Bernhard Reiter
bernhard at intevation.de
Tue Mar 3 09:11:43 CET 2009
Franz,
Am Montag, 2. März 2009 15:37:28 schrieb Franz Skale:
> Sorry for the misleading lines.
no problem, I thought you were having another question about
"syncKolab addresses" which I was trying to answer.
Now back to your problem on Debian 64bit:
> I don't know why ld wants to include the debian libdb-4.6 since
> apache-php will be build with db-4.5.
> So in my strace the last line was /usr/lib/libdb-4.6.so which is the
> debian lib and then came the sagfault.
> So i did this temporary workaround (32Bit seems not to have this
> problem, anybody out there with the same problem on debian lenny
> /32/64 bit ?)
I've tried to replicate kolab/issue2982 (OpenLDAP segmentation fault on
64bit) for two weeks and did not see the crash. It might not be related.
> What i have done: (Not to interfere debian deps to libdb3-dev on lenny
> i build it from source)
> 1.) cd /usr/src
> apt-get source libdb4-5
> 2.) cd /usr/src/db4.5-4.5.20
> 3.) commented out java things from debian/rules. (Are not relevant to
> kolab).
> 4.) debian/rules build
> 5.) After build complete:
> cd dist/
> DESTDIR=/tmp/db-4.5 make install
> 6.) mkdir /kolab/RPM/SRC/apache-php
> 7.) cd /kolab/RPM/SRC/apache-php
> 8.) rpm2cpio /kolab/RPM/PKG/rpm2cpio
> /kolab.new/RPM/PKG/apache-php-5.2.8-20081209_kolab.src.rpm |cpio -id
> 9.) chown root.root *
> 10) edited the php.spec
> Changed the db-4.5 line to:
> --with-db4=/tmp/db-4.5/usr
> 11.) rpmbuild -ba php.spec
> 12.) Installed the ned package:
> rpm -Uhv --force /kolab/RPM/PKG/apache-php-5.2.9-20090228.amd64-kolab.rpm
> 13.) apache will be restarted.
>
> Config Options for apache-php:
>
> # package options
> %option with_bdb yes
> %option with_ctype yes
> %option with_dom yes
> %option with_gd yes
> %option with_gettext yes
> %option with_iconv yes
> %option with_imap yes
> %option with_imap_annotate yes
> %option with_imap_myrights yes
> %option with_mbregex yes
> %option with_mbstring yes
> %option with_mcrypt yes
> %option with_mhash yes
> %option with_mm yes
> %option with_openldap yes
> %option with_pear yes
> %option with_sqlite yes
> %option with_ssl yes
> %option with_xml yes
> %option with_zlib yes
>
> The debian version on db-4.5 does have some x86_64 patches.
> The kolab source version for db-4.5 seems to lack from thread support.
Hmm, this would be an issue for the OpenPKG guys I guess, but I also think
we should explore along these lines.
> The Linker SEARCH_DIR was right but why the linker wanted to include
> db-4.6 seems to be a miracle.
> There is a open thread on the debian list that apt-listchanges is
> requesting db4-.5 but 4-6 is debian default.
> I think problem could lead to the kolab build problem.
> Anyway, now it is working and anyone have troubles with it, can
> contact me via the maillinlist.
> Please revise my temp solution and then i could post it in the wiki as
> you told me.
Your descriptions looks nice to me, I'd say you should put a link to your
archived post in the wiki right now. ;)
Thanks,
Bernhard
--
Managing Director - Owner: www.intevation.net (Free Software Company)
Germany Coordinator: fsfeurope.org. Coordinator: www.Kolab-Konsortium.com.
Intevation GmbH, Osnabrück, DE; Amtsgericht Osnabrück, HRB 18998
Geschäftsführer Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.kolab.org/pipermail/users/attachments/20090303/13444408/attachment.sig>
More information about the users
mailing list