l***@leif-bruder.net
2014-02-19 19:55:00 UTC
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) i386Category: 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
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.