You are not logged in.

#1 2010-06-06 15:21:11

vkumar
Member
Registered: 2008-10-06
Posts: 166

Latest openoffice/chromium updates broken, relocation errors [SOLVED]

I just upgraded to openoffice-base 3.2.1-1, and no openoffice apps (Writer, Calc, etc.) are opening. Here's a sample error message;

[~] $ soffice -writer
/usr/lib/openoffice/program/../basis-link/ure-link/bin/javaldx: relocation error: /usr/lib/openoffice/basis-link/ure-link/bin/../lib/libuno_sal.so.3: symbol _ZNSt15_List_node_base7_M_hookEPS_, version GLIBCXX_3.4.14 not defined in file libstdc++.so.6 with link time reference
/usr/lib/openoffice/program/soffice.bin: relocation error: /usr/lib/openoffice/program/../basis-link/ure-link/lib/libuno_sal.so.3: symbol _ZNSt15_List_node_base7_M_hookEPS_, version GLIBCXX_3.4.14 not defined in file libstdc++.so.6 with link time reference

I uninstalled openoffice and tried to install go-openoffice, but bauerbill constantly complained about md5 mismatches (it tried to download the entire go-openoffice package twice, found checksum errors both times.) How can I get my office stuff working again?

(If it helps, I'm running Arch 64 and my Server = ftp://mirrors.kernel.org/archlinux/$repo/os/x86_64)

thanks in advance!

Last edited by vkumar (2010-06-10 16:32:10)


div curl F = 0

Offline

#2 2010-06-06 16:56:44

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: Latest openoffice/chromium updates broken, relocation errors [SOLVED]

have you mixed up i686/x86_64???

[root@laptop64 andyrtr]# readelf -e /usr/lib/openoffice/program/soffice.bin | grep Class
  Class:                             ELF64

Offline

#3 2010-06-06 17:19:44

vkumar
Member
Registered: 2008-10-06
Posts: 166

Re: Latest openoffice/chromium updates broken, relocation errors [SOLVED]

No, I don't think so;

[~] $ readelf -e /usr/lib/openoffice/program/soffice.bin
ELF Header:
  Magic:   7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00
  Class:                             ELF64
  Data:                              2's complement, little endian
  Version:                           1 (current)
  OS/ABI:                            UNIX - System V
  ABI Version:                       0
  Type:                              EXEC (Executable file)
  Machine:                           Advanced Micro Devices X86-64

edit:
According to this (http://user.services.openoffice.org/en/ … 16&t=19587), the problem is with the UNO runtime environment. But I'm not sure what that could be.

Last edited by vkumar (2010-06-06 17:23:00)


div curl F = 0

Offline

#4 2010-06-06 18:21:00

vkumar
Member
Registered: 2008-10-06
Posts: 166

Re: Latest openoffice/chromium updates broken, relocation errors [SOLVED]

Huzzah! I just had to tweak a couple commands on this thread (http://user.services.openoffice.org/en/ … 16&t=14932) and my openoffice is working again.

$ su
# cd /usr/lib/openoffice/basis-link/
[basis-link] # ln -s ure-link ure
[basis-link] # echo "/usr/lib/openoffice/basis-link/ure-link/lib/" > /etc/ld.so.conf.d/openoffice3.conf
[basis-link] # ldconfig

div curl F = 0

Offline

#5 2010-06-06 18:34:55

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Latest openoffice/chromium updates broken, relocation errors [SOLVED]

@vkumar you are fully up to date? mostly glibc?


Give what you have. To someone, it may be better than you dare to think.

Offline

#6 2010-06-07 02:20:23

vkumar
Member
Registered: 2008-10-06
Posts: 166

Re: Latest openoffice/chromium updates broken, relocation errors [SOLVED]

@wonder: At the time of posting, yes. Perhaps my mirror was just behind on a few packages? At any rate, I'm in D.C now, and I've -Syu'd again. The only update is libtool-2.2.8-1.

Also, I've discovered that my fix is more like a workaround. Openoffice only runs when I'm superuser.

[~] $ soffice -writer
/usr/lib/openoffice/program/soffice.bin: relocation error: /usr/lib/openoffice/basis-link/ure-link.backup/lib/libuno_sal.so.3: symbol _ZNSt15_List_node_base7_M_hookEPS_, version GLIBCXX_3.4.14 not defined in file libstdc++.so.6 with link time reference
[~] $ sudo soffice -writer
# Openoffice-y goodness

:puzzled


div curl F = 0

Offline

#7 2010-06-07 05:49:42

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: Latest openoffice/chromium updates broken, relocation errors [SOLVED]

please check the permission of your users configuration directory. maybe even remove it for testing.

Offline

#8 2010-06-07 23:12:26

vkumar
Member
Registered: 2008-10-06
Posts: 166

Re: Latest openoffice/chromium updates broken, relocation errors [SOLVED]

The permissions were;
drwxr-xr-x  3 root root    4096 Jun  6 16:34 .openoffice.org

I did a chown & chmod, so now it's;
drwxrw-rw-  3 vk   users   4096 Jun  6 16:34 .openoffice.org
... but the same error persists.

Is that the information you needed?


div curl F = 0

Offline

#9 2010-06-08 04:46:35

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: Latest openoffice/chromium updates broken, relocation errors [SOLVED]

now your user should have write access again and it should work again. i haven't seen your error from the 1st post so far. maybe you have toolchain packages  from AUR installed? a multi lib glibc?

Offline

#10 2010-06-08 23:15:18

vkumar
Member
Registered: 2008-10-06
Posts: 166

Re: Latest openoffice/chromium updates broken, relocation errors [SOLVED]

I have community/lib32-glibc 2.12-2 installed along with core/glibc 2.12-2.
The error remains the same as before, and openoffice continues to work well when given root privileges.
I did "mv ~/.openoffice.org ~/Desktop" and tried again -- exact same results.


div curl F = 0

Offline

#11 2010-06-10 04:38:45

vkumar
Member
Registered: 2008-10-06
Posts: 166

Re: Latest openoffice/chromium updates broken, relocation errors [SOLVED]

Ok, I don't use openoffice all that much, but this is rapidly becoming a crisis.. After today's chromium update (5.0.375.70-1), the following error occurs;

[~] $ chromium
/usr/lib/chromium/chromium: relocation error: /usr/lib/chromium/chromium: symbol _ZNSt15_List_node_base7_M_hookEPS_, version GLIBCXX_3.4.14 not defined in file libstdc++.so.6 with link time reference

This is the *exact* same error. I am now freaking out -- this is the first time I've had to use firefox in *ages*. What recent update could possibly be causing all of this? Have we been recompiling things with the new GCC, and are those binaries conflicting with the ones already on the system? Why can I run openoffice and chromium normally as root?


div curl F = 0

Offline

#12 2010-06-10 05:34:08

vkumar
Member
Registered: 2008-10-06
Posts: 166

Re: Latest openoffice/chromium updates broken, relocation errors [SOLVED]

To quote the GCC ABI Policy and Guidelines Manual;

Outstanding Issues: {{presumably for 4.5.0}}
Some features in the C++ language make versioning especially difficult. In particular, compiler generated constructs such as implicit instantiations for templates, typeinfo information, and virtual tables all may cause ABI leakage across shared library boundaries. Because of this, mixing C++ ABIs is not recommended at this time.

Could this have anything to do with the startup failure?

Hm.. I think I should just file a bug report for this soon.

edit:
link - http://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html

Last edited by vkumar (2010-06-10 05:34:33)


div curl F = 0

Offline

#13 2010-06-10 05:38:48

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: Latest openoffice/chromium updates broken, relocation errors [SOLVED]

your linker settings seem to be broken. check ld.so.conf settings and "env".

Offline

#14 2010-06-10 16:17:48

vkumar
Member
Registered: 2008-10-06
Posts: 166

Re: Latest openoffice/chromium updates broken, relocation errors [SOLVED]

[~] $ cat /etc/ld.so.conf
# /etc/ld.so.conf

/usr/local/lib/
/usr/local/lib/vtk-5.4/
include /etc/ld.so.conf.d/*.conf

[~] $ cat /etc/ld.so.conf.d/*.conf
/usr/lib/libfakeroot
/opt/lib32/lib
/opt/lib32/usr/lib
/usr/lib/llvm
/usr/lib/openoffice/basis-link/ure-link.backup/lib/
/usr/lib/xulrunner-1.9.2

[~] $ locate libstdc++.so.6
/opt/lib32/usr/lib/libstdc++.so.6
/opt/lib32/usr/lib/libstdc++.so.6.0.14
/usr/lib/libstdc++.so.6
/usr/lib/libstdc++.so.6.0.14
/usr/local/lib64/libstdc++.so.6
/usr/local/lib64/libstdc++.so.6.0.14
/usr/local/lib64/libstdc++.so.6.0.14-gdb.py

[~] $ env
ORBIT_SOCKETDIR=/tmp/orbit-vk
XDG_DATA_HOME=/home/vk/.local/share
TERM=xterm
SHELL=/bin/bash
XDG_SESSION_COOKIE=ba3e47a2f8af7602fd3a6f4d4b2eaf85-1276186087.97580-361234988
HISTSIZE=1000
GTK_RC_FILES=/etc/gtk/gtkrc:/home/vk/.gtkrc-1.2-gnome2
WINDOWID=56623107
GDK_NATIVE_WINDOWS=true
GNOME_KEYRING_CONTROL=/tmp/keyring-kpdehB
USER=vk
LD_LIBRARY_PATH=/usr/local/lib64/
SSH_AUTH_SOCK=/tmp/keyring-kpdehB/ssh
SESSION_MANAGER=local/vk:@/tmp/.ICE-unix/4135,unix/vk:/tmp/.ICE-unix/4135
OOO_FORCE_DESKTOP=gnome
MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins
XDG_CONFIG_DIRS=/etc/xdg
MAIL=/var/mail/vk
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/opt/java/jre/bin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/bin/perlbin/core:/usr/local/bin/:/home/vk/utils/bin/:/opt/java/jre/bin/:/opt/java/bin/:/home/vk/.gem/ruby/1.9.1/bin/:/usr/local/bin/:/home/vk/utils/bin/:/opt/java/jre/bin/:/opt/java/bin/:/home/vk/.gem/ruby/1.9.1/bin/
HG=/usr/bin/hg
PWD=/home/vk
INPUTRC=/etc/inputrc
JAVA_HOME=/opt/java/jre
LANG=en_US.UTF-8
PS1=[\W] $ 
PS3=> 
PS2=> 
HISTCONTROL=erasedups
HOME=/home/vk
SHLVL=2
PS4=+ 
XDG_CONFIG_HOME=/home/vk/.config
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
XDG_CACHE_HOME=/home/vk/.cache
LOGNAME=vk
LESS=-R
XDG_DATA_DIRS=/usr/share:/usr/local/share
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-C1ANSGFlwk,guid=0cd6e2bd0f59605b13486b480000002e
PKG_CONFIG_PATH=/usr/lib/pkgconfig
PROMPT_COMMAND=echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"
DISPLAY=:0.0
G_BROKEN_FILENAMES=1
XAUTHORITY=/home/vk/.Xauthority
COLORTERM=gnome-terminal
_=/usr/bin/env

edit:
That was the right place to look. I had built gcc (to test 'go') and the libraries in /usr/local/lib64 were conflicting with the ones the system is supposed to use. My fix was to "mv /usr/local/lib64 /tmp/ul.lib64 && mkdir /usr/local/lib64". Chromium and Openoffice are working correctly now. Thanks!

Last edited by vkumar (2010-06-10 16:31:44)


div curl F = 0

Offline

#15 2010-06-24 18:54:46

steeveherris
Member
Registered: 2010-06-17
Posts: 2

Re: Latest openoffice/chromium updates broken, relocation errors [SOLVED]

This errors are due to the reason that updates are not done properly. Make the updates again than try it will work without any error.

Offline

Board footer

Powered by FluxBB