Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Oct 2001 15:28:50 +0200 (CEST)
From:      Riccardo Torrini <riccardo@torrini.org>
To:        freebsd-current@FreeBSD.ORG
Cc:        freebsd-ports@FreeBSD.ORG
Subject:   XFmail and libc.so.3
Message-ID:  <XFMail.20011027152850.riccardo@torrini.org>

next in thread | raw e-mail | index | archive | help
To upgrade from xfree-3 to xfree-4 I removed all my installed
ports but I lost mail program (I use XFMail, sorry for this :-)

It compile and install fine but crashes with this message:
The application crashed due to fatal error
All unfinished messages were saved
_: Report the bug with all the relevant information
using the "Bug report" facility
Missing or failed fl_initialize()--Invalid argument

I tryed demos from xform and they works, so I examied source of
xfmail and discovered that is use libc.so.3, seems that xforms
crashes with original libc.so.3 and works with libc.so.5

I installed compat3x from ports and recompiled world three times
(sigh) also with recent cvsup (last update this morning, GMT+1)
with COMPAT3X=yes and COMPAT4X=yes in /etc/make.conf but it crashes
the same.  Finally I tryed this (HACK?) and it works for me.

-----8<-----[ before ]-----8<-----
# ldconfig -r | grep libc.so
        33:-lc.5 => /usr/lib/libc.so.5
        67:-lc.3 => /usr/lib/compat/libc.so.3
        89:-lc.4 => /usr/lib/compat/libc.so.4

-----8<-----[ hack ]-----8<-----
# cd /usr/lib
# mv compat/libc.so.3 compat/libc.so.3-NO_THANKS
# ln -s libc.so libc.so.3

-----8<-----[ after ]-----8<-----
# ldconfig -r | grep libc.so
        33:-lc.5 => /usr/lib/libc.so.5
        66:-lc.3 => /usr/lib/libc.so.3
        89:-lc.4 => /usr/lib/compat/libc.so.4

And now XFMail works  :-)  This is my first message after a week
of blackout...


Riccardo.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20011027152850.riccardo>