more errors, libreoffice on amd64 debian, starts now but immediately aborts.

I was on here earlier, as you may recall, with difficulties getting
libreoffice to run on amd64 debian/lenny.
Libreoffice was looking for libcairo.so.2 in
/opt/libreoffice/basis3.3/program, instead of /usr/lib, where it was.
So I copied the lib to where it was looking, and i got it work...I got
soffice to open.

Oddly, since the first time, every time I try to start swriter, I get
messages saying that libreoffice is already open
and my personal preferences are locked, or something.
I logged out and back in (couldn' t find any instance of any
libreoffice program, soffice, swriter, etc. in top)
and tried to start soffice from the command line.
I started, then dumped immediately.
This is the error it gave:

xfce didn' t help.

I can run libreoffice *as root* without any problems.
I can not run it as user (error below).
Oh, I uncopied the lib I had copied into /opt/libreoffice/basis3.3/program, and
symlinked it (ln -s) instead.
Still runs fine as root, not as user.

??

tony

I had some problem with Openbox when I was using a usb KVM.
When I switch to the Openbox host, it was discovering the usb KVM each time.
I disable the discovery of new USB for the KVM

Michel-André

[...]

Hi there,

The binary for launching LibO is /usr/bin/libreoffice, it seems you're
trying to run a different binary or remainings of a previous version.
You can try removing completely soffice or whatever other version(s) you
had before.

I am running 64-bit fine although my 64-bit test system uses the Ubuntu
PPA on an Ubuntu 10.10 64-bit system.

Cheers,

Fabian

Thanks for your reply.

I was on here earlier, as you may recall, with difficulties getting
libreoffice to run on amd64 debian/lenny.
Libreoffice was looking for libcairo.so.2 in
/opt/libreoffice/basis3.3/program, instead of /usr/lib, where it was.
So I copied the lib to where it was looking, and i got it work...I got
soffice to open.

[...]

Hi there,

The binary for launching LibO is /usr/bin/libreoffice, it seems you're
trying to run a different binary or remainings of a previous version.
You can try removing completely soffice or whatever other version(s) you
had before.

There is no /usr/bin/libreoffice
LibreOffice is installed in /opt/libreoffice
the bin file is
/opt/libreoffice/program/soffice
(and, of course, there are swriter, scalc, etc. in there to run
individual components).
This was the result of installing the 64bit .deb files.
This is on a brand new machine, so there were no previous versions.
I do have OOo 2.4 on here, but I have both, OOo and LO running peacefully
together on another computer with the same system (Debian/Lenny) with
no problem,
the only difference being that the other system is
32bit/Intel-Celeron, and this one is AMD64.

It occurs to me that there is, likely, some kind of permissions
problem somewhere,
since I can run libreoffice as root, but not as user.

The only alteration I made to the default install was adding a symlink
to libcario.so.2
in /opt/libreoffice/basis3.3/program (because, at first, I got an
error saying said lib
could not be found there, so, since LO was looking for it there, I symlinked it
from /usr/lib/ where it is). The link has the same permissions as other libs
that are also symlinked in the same directory, so, it would seem my
symlinking is not where the problem lies.
ls -l shows
lrwxrwxrwx 1 root root 22 2011-01-09 04:18 libcairo.so.2 ->
/usr/lib/libcairo.so.2
You will note that the permissions are similar to those for libs that
the install
correctly symlinked by default, such as:
lrwxrwxrwx 1 root root 18 2011-01-08 17:57 libicudata.so.40 ->
libicudata.so.40.1

So, it seems like a permissions issue, since root can run it, but
joeuser can not,
but, for the life of me, I can't identify where the problem lies.
I can't make heads nor tails of the error it gives me, and know nothing of
java programming. (were this tcl I could probably figure something out,
possibly ever were it perl or python, maybe...a stretch, but possible...but
java? olvidate...not a chance)

I am running 64-bit fine although my 64-bit test system uses the Ubuntu
PPA on an Ubuntu 10.10 64-bit system.

bueno, pero la wea de ubuntu es distinto de debian, amigo.
ubuntu !e debian
:wink:

thanks
tony

Hi,

I have installed libreoffice on a debian 64bits system by pulling the
package from the experimental repository, and they do install binaries in
/usr/bin, nothing in /opt. You should try this.

Where is this expiremental repo?
I have the dmm repo enabled in my source.list,
but it won't install libreoffice.

If I try to aptitude install libreoffice3* (i.e. -base, -writer,
etc...any component), I simply get:
~# aptitude install libreoffice3
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done

Which is weird, because, apt-cache search does show:
$ apt-cache search libreoffice
libreoffice3-ure - UNO Runtime Environment
libreoffice3-dict-en - En dictionary for LibreOffice 3.3
libreoffice3-dict-es - Es dictionary for LibreOffice 3.3
libobasis3.3-en-us-res - Language resource module for LibreOffice 3.3,
language en_US
libobasis3.3-writer - Writer module for LibreOffice 3.3
libreoffice3-dict-fr - Fr dictionary for LibreOffice 3.3
libobasis3.3-extension-mediawiki-publisher - MediaWiki publisher
extension for LibreOffice 3.3
libobasis3.3-kde-integration - KDE integration module for LibreOffice 3.3
libreoffice3-base - Base brand module for LibreOffice 3.3
libobasis3.3-en-us-math - Math language module for LibreOffice 3.3,
language en_US
libobasis3.3-impress - Impress module for LibreOffice 3.3
libreoffice3-draw - Draw brand module for LibreOffice 3.3
libobasis3.3-extension-report-builder - Report Builder extension for
LibreOffice 3.3
libreoffice3-calc - Calc brand module for LibreOffice 3.3
libobasis3.3-core01 - Core module for LibreOffice 3.3
libobasis3.3-draw - Draw module for LibreOffice 3.3
libobasis3.3-extension-presentation-minimizer - Presentation Minimizer
extension for LibreOffice 3.3
libobasis3.3-calc - Calc module for LibreOffice 3.3
libobasis3.3-en-us-help - Help module for LibreOffice 3.3, language en_US
libobasis3.3-extension-presenter-screen - Presenter Screen extension
for LibreOffice 3.3
libreoffice3 - Brand module for LibreOffice 3.3
libobasis3.3-en-us-binfilter - Legacy filters (e.g. StarOffice 5.2)
for LibreOffice 3.3, language en_US
libobasis3.3-extension-nlpsolver - NLPSolver extension for LibreOffice 3.3
libobasis3.3-extension-pdf-import - PDF import extension for LibreOffice 3.3
libreoffice3-impress - Impress brand module for LibreOffice 3.3
libreoffice3-writer - Writer brand module for LibreOffice 3.3
libobasis3.3-en-us-calc - Calc language module for LibreOffice 3.3,
language en_US
libobasis3.3-en-us-writer - Writer language module for LibreOffice
3.3, language en_US
libobasis3.3-en-us - Language module for LibreOffice 3.3, language en_US
libreoffice3-math - Math brand module for LibreOffice 3.3
libobasis3.3-en-us-base - Base language module for LibreOffice 3.3,
language en_US
libobasis3.3-gnome-integration - Gnome integration module for LibreOffice 3.3
libreoffice3-en-us - Brand language module for LibreOffice 3.3

So, it sees that stuff, but won't install it (and doesn't tell me why).

./tony

Oh wait...it saw that stuff because I had it installed from the debs.
When I remove said installation, apt-cache search libreoffice shows nothing.

./tony

Oh, I found this:
http://wiki.debian.org/DebianExperimental
but it doesn't seem to be making any difference.

./tony

Well, if you added the experimental repository and install libreoffice
packages from here, you do get the binaries in /usr/bin etc... :
http://packages.debian.org/experimental/amd64/libreoffice-writer/filelist
These package works out of the box (at least for me...).

You have to be careful to not upgrade your whole system with packages from
experimental, but aside from that, I can assure you that those package works
on a "fresh" install, so if they don't work with you, there might be
something on your system that prevent them from working.

Work for me?
They don' t seem to exist!
apt-cache search libreoffice shows me nothing.

In any case, I removed the entire installation, and installed it
again, and this time,
oddly, it DID install it' s own libcairo.so.2 in
/opt/libreoffice/basis3.3/program.

Now, however, I can neither run it as user or root.
I get this error:
symbol lookup error: /opt/libreoffice/basis3.3/program/libcairo.so.2:
undefined symbol: pixman_region32_init

./tony

Googled that error and found this:
http://forums.debian.net/viewtopic.php?f=10&t=57190
which seemed to indicate that there is a problem with the libcairo
that ships with LO.
So, I removed it, and symlinked the one in /usr/lib again, and, no surprise, am
back where I was with this error:

Oh, now this IS odd.
I removed the symlink, and NOW, it seems to be working,
only, evertime I start it, I get that error about my preferences being locked
because there is another instance running (which I can' t find).
But, hey! It's working!

./tony

I spoke too soon.
the program opens, but as soon as I try to type an text (writer) it
crashes again,
giving me this same error again:

Hi Baldwin,

I spoke too soon.
the program opens, but as soon as I try to type an text (writer) it
crashes again,
giving me this same error again:

**
** ERROR:(../../../../../../../src/libjava/classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:103):cp_gtk_gdk_env:
assertion failed: ((*java_vm)->GetEnv(java_vm, &tmp.void_env,
JNI_VERSION_1_2) == JNI_OK)
/opt/libreoffice/program/soffice: line 167: 25343 Aborted
  "$sd_prog/$sd_binary" "$@"

tony

have you tried to file a bug in bugzilla?
http://bugs.freedesktop.org

I'm not sure, if the developers read the users list, so filing a bug
would be the way to go. I can tell you from experience, that they are
very responsive and if they need more info, they will ask you about
it.

But what you have already as error messages might be sufficient for
them to work with.

Good luck!

Sigrid

[removed a lot of stuff]

Hi :slight_smile:

Are you using linux? If so then try getting to a command-line and try something
like

ps aux | grep libreoffice

The | is between the z and the left-shift on English(UK) keyboards but it might
be somewhere around the enter key or right-shift on laptops and US keyboards.
I'm not entirely convinced that grepping for libreoffice would show all relevant
processes so try that one first and then replace the word "libreoffice" with
other likely suspects. This will hopefully give a list of processes that have a
4 or 5 digit number at the front. To kill a process type in

kill number

but replace "number" with the number of the process you want to "kill".

There is a nice gui one too. In Ubuntu go up to the top taskbar and click on
System Administration - "System Monitor" and then on the "Processes" tab. I
think you can kill processes right there in the gui.

I'm sure there are better ways but those are the ones i kinda know

If you are using Windows then there is something similar but i am not sure how
to access it. Perhaps CtlAlt & Del? That is normally system restart but does
it give a processes monitor?

Godo luck and take care!
Regards from
Tom :slight_smile:

I might do that later. have to take my kid to mall...
In the mean time, I did post relevant information to a thread on this
very topic on the debian forums.
Maybe someone there has a clue.
If they help me to find a solution, I will come back and inform this list,
of course.

LibreOffice works great on my 32bit-intel system.
We'll get it working on here, too. I'm sure.
Just needs someone smarter than me to figure out what the problem is.

I've also just considered that maybe in one of the various installs
I've done it he past
48 hours, something amiss occurred in some config file in my /home,
which would explain
why my user nor sudo can run it, but root can (since both user and
sudo will be using configs
A possibility?

thanks
tony

Hi :slight_smile:

Are you using linux?  If so then try getting to a command-line and try something
like

ps aux | grep libreoffice

That was the first thing I did.
And soffice, actually.

The | is between the z and the left-shift on English(UK) keyboards but it might

it's right above the enter key here.

be somewhere around the enter key or right-shift on laptops and US keyboards.
I'm not entirely convinced that grepping for libreoffice would show all relevant
processes so try that one first and then replace the word "libreoffice" with
other likely suspects.  This will hopefully give a list of processes that have a
4 or 5 digit number at the front.  To kill a process type in

kill number

At that time, not such process showed. I know how kill works, but
thanks for explaining it. Somebody else might need that info.

but replace "number" with the number of the process you want to "kill".

There is a nice gui one too.  In Ubuntu go up to the top taskbar and click on
System Administration - "System Monitor" and then on the "Processes" tab.  I
think you can kill processes right there in the gui.

This is debian, not ubuntu, and I don't use gnome or kde or any other such
bloated mess. (using plain openbox, without lxde, any panels or extra
nonsense).
Again, that information might be useful to someone else, anyway.

./tony

You are chasing your tail.

Start here: Which version of libreoffice are you trying to run? Have
you installed the desktop-integration package?

Well, since I gave you a link to the package content from the official
debian repository (and I have them installed), I'll assume they DO exist.
Maybe you forgot to add them to your system, like explained in the link you
found : http://wiki.debian.org/DebianExperimental or maybe you're using a
mirror that doesn't contain the experimental branch or is not up to date.
Also, although the unofficial .deb from the LibreOffice websites do install
in /opt, I'd recommend you using the packages from Debian, although in
experimental, because:
- they put the files in more "common" places
- they are more likely to be maintained this way, as there is a LibreOffice
maintainer for Debian.

Also, you should stop stressing that ubuntu isn't debian. I think most
people on the list know this, but regarding installation methods and general
file locations (libraries, binaries, etc), they are very similar.