Discussion:
pkg/48604: Libreoffice 4.1 doesn't start in XFCE, probably other environments
l***@leif-bruder.net
2014-02-19 19:55:00 UTC
Permalink
Number: 48604
Category: pkg
Synopsis: Libreoffice 4.1 doesn't start in XFCE, probably other environments
Confidential: no
Severity: non-critical
Priority: medium
Responsible: pkg-manager
State: open
Class: sw-bug
Submitter-Id: net
Arrival-Date: Wed Feb 19 19:55:00 +0000 2014
Originator: Leif Bruder
Release: NetBSD 6.1.3
NetBSD netbsd.localdomain 6.1.3 NetBSD 6.1.3 (GENERIC) i386
In XFCE, the menu contains entries for the LibreOffice programs (Writer, Calc etc.)

Expected: Clicking on an entry starts the appropriate program.

Observed: After showing a "LibreOffice" task in the task list for a second or so, the task disappears. Nothing else happens.

Interestingly, running "swriter" etc. from a terminal window works.
Short version:

# Install a fresh NetBSD 6.1.3 i386
# pkgin install xfce4
# pkgin install libreoffice4
# Configure X
# startx



My full install script, run after a full install:

pkgin install vim
pkgin install doxygen # Pulls in lots of nice stuff incl. LaTeX :)
pkgin install perl
pkgin install python27
pkgin install py27-imaging
pkgin install git
pkgin install ocaml
pkgin install xfce4
pkgin install abiword
pkgin install gnumeric
pkgin install libreoffice4
pkgin install apache-ant
pkgin install firefox
pkgin install sylpheed
pkgin install evince
pkgin install ImageMagick
pkgin install gambc
pkgin install clisp
pkgin install brasero
pkgin install vlc

echo 'export PATH=${PATH}:/usr/pkg/java/openjdk7/bin' >> ~/.profile
echo 'exec xfce4-session' > ~/.xinitrc

cp /usr/pkg/share/examples/rc.d/famd /etc/rc.d/
cp /usr/pkg/share/examples/rc.d/dbus /etc/rc.d/
cp /usr/pkg/share/examples/rc.d/hal /etc/rc.d/
echo rpcbind=YES >> /etc/rc.conf
echo famd=YES >> /etc/rc.conf
echo dbus=YES >> /etc/rc.conf
echo hal=YES >> /etc/rc.conf
reboot
More a workaround than a fix:

ln -s /usr/pkg/lib/libpcre.so.1.2.1 /usr/lib/libpcre.so.0
ln -s /usr/pkg/usr/bin/libreoffice4.1 /usr/bin/libreoffice4.1

After executing these commands, LibreOffice starts as expected.
Leif Bruder
2014-02-20 17:15:01 UTC
Permalink
The following reply was made to PR pkg/48604; it has been noted by GNATS.

From: Leif Bruder <***@gmail.com>
To: gnats-***@NetBSD.org
Cc:
Subject: Re: pkg/48604
Date: Thu, 20 Feb 2014 18:14:03 +0100

This is a multi-part message in MIME format.
--------------060600030908020807060700
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Additional info: Turns out that the "workaround" affects system
stability. Symlinking the pcre library makes other programs, like the
XFCE file manager, crash randomly. So it looks like the correct version
of the library is missing from the deps.

--------------060600030908020807060700
Content-Type: text/x-vcard; charset=utf-8;
name="leifbruder.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="leifbruder.vcf"

begin:vcard
fn:Leif Bruder
n:Bruder;Leif
org:ProMinent GmbH;KEA - R&D Application Development and Test Systems
adr;dom:;;Im Schuhmachergewann 5-11;Heidelberg;;69123
email;internet:***@gmail.com
title:Software Developer
tel;work:+49 6221 842-585
tel;cell:+49 151 21747231
x-mozilla-html:FALSE
url:www.prominent.com
version:2.1
end:vcard


--------------060600030908020807060700--
o***@NetBSD.org
2014-03-04 12:11:02 UTC
Permalink
Synopsis: Libreoffice 4.1 doesn't start in XFCE, probably other environments

Responsible-Changed-From-To: pkg-manager->ryoon
Responsible-Changed-By: ***@NetBSD.org
Responsible-Changed-When: Tue, 04 Mar 2014 12:11:02 +0000
Responsible-Changed-Why:
Over to maintainer.
David Holland
2014-10-16 07:00:01 UTC
Permalink
The following reply was made to PR pkg/48604; it has been noted by GNATS.

From: David Holland <dholland-***@netbsd.org>
To: gnats-***@NetBSD.org
Cc:
Subject: Re: pkg/48604: Libreoffice 4.1 doesn't start in XFCE, probably other
environments
Date: Thu, 16 Oct 2014 06:59:00 +0000
Post by l***@leif-bruder.net
ln -s /usr/pkg/lib/libpcre.so.1.2.1 /usr/lib/libpcre.so.0
ln -s /usr/pkg/usr/bin/libreoffice4.1 /usr/bin/libreoffice4.1
After executing these commands, LibreOffice starts as expected.
That is ... odd. It makes me think there was something wrong with the
libreoffice binary package. (In which case the problem may have
disappeared by now.)

Everything that comes out of a consistent build should be linked to
the same (and only one) version of libpcre.

But I have even less idea why starting it from or not from xfce would
make any difference.

--
David A. Holland
***@netbsd.org

Loading...