View previous topic :: View next topic |
Author |
Message |
menschmeier l33t
Joined: 15 Dec 2004 Posts: 727
|
Posted: Thu Aug 19, 2010 12:07 pm Post subject: google-desktop stopped working |
|
|
Hi am running google-desktop on my system.
Today I recognized that is doesn't work anymore. I don't know why.
I reemerge the ebuild - doens't help.
I checked for missing libraries using the ldd command - all libs are there.
When I start /usr/bin/gdlinux on the command line I get no output on the console.
So what to do?
Thanks for you support in advance. _________________ Please notice the back of this message. |
|
Back to top |
|
|
menschmeier l33t
Joined: 15 Dec 2004 Posts: 727
|
Posted: Thu Aug 19, 2010 6:57 pm Post subject: |
|
|
I found out that google desktop seems to create a new process.
The file ~/.google/desktop/gdl_box.pid and ~/.google/desktop/gdl_service.pid are updated. They contain a new process id but a process with such an id doesn't exists ... _________________ Please notice the back of this message. |
|
Back to top |
|
|
menschmeier l33t
Joined: 15 Dec 2004 Posts: 727
|
Posted: Fri Aug 20, 2010 2:08 pm Post subject: |
|
|
The reason is a bad LD_LIBRARY_PATH. I have done a emerge -fe world (after a gcc update) a few days ago, by this event google-desktop was re-emerged.
This is the content of /opt/google/desktop:
Code: |
# ll /opt/google/desktop
total 16K
-rw-r--r-- 1 root root 141 Aug 20 15:20 README
-rw-r--r-- 1 root root 129 Aug 20 15:20 VERSION
drwxr-xr-x 2 root root 4.0K Aug 20 15:20 bin
drwxr-xr-x 2 root root 4.0K Aug 20 15:20 lib32
drwxr-xr-x 2 root root 140 Aug 20 15:20 resource
drwxr-xr-x 2 root root 95 Aug 20 15:20 xdg
|
But all the scripts expect the libs to be in a folder named lib:
Code: |
# cat bin/gdl_service
#!/bin/sh
cd "/opt/google/desktop/bin"
if [ -n "/opt/google/desktop/lib" ] ; then
if [ "${LD_LIBRARY_PATH+set}" = "set" ] ; then
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/opt/google/desktop/lib"
else
export LD_LIBRARY_PATH="/opt/google/desktop/lib"
fi
fi
exec ./gdl_service.bin "$@"
|
Code: |
# cat bin/gdlinux
#!/bin/bash
# Copyright 2007 Google Inc. All Rights Reserved.
GDL_LD_LIBRARY_PATH="/opt/google/desktop/lib:$LD_LIBRARY_PATH" \
/opt/google/desktop/bin/gdl_box $@
|
So I have to create a symlink lib --> lib32.
But I do not understand why this error didn't occur before?
The ebuild contains this lines:
Code: | insinto /opt/google/desktop
dolib.so ${S}/opt/google/desktop/lib/*
|
I am not an export in ebuilds, but I expect all libs in a folder named /opt/google/desktop/lib/.
Who is interested in an amd64-ebuild look here https://forums.gentoo.org/viewtopic-p-6394977.html#6394977
Maybe some can explain me what went wrong. _________________ Please notice the back of this message. |
|
Back to top |
|
|
|