Home|Cudeso|Linux|*NIX / BSD|Misc|
 

Gentoo Linux Tweaks

Contents

1. gettext fails to install

2. evolution-data-server fails to install

3. cap_set_proc() failed to drop root privileges: Operation not permitted

4. Misc stuffing that pops up with errors like 'error while loading shared libraries'

1. Gettext fails to install

When I tried to update gettext I received an error where it complained that it could not find psvn. I had never heard of this file but as it seems, this had something to do with a leftover of an install of subversion. First double-check that it is really not somewhere else on your system.
slocate psvn
Now open /usr/share/emacs/site-lisp/site-start.el in your favorite browser and remove (or put comments in front) the last line.
;;; DO NOT EDIT THIS FILE -- IT IS GENERATED AUTOMATICALLY BY PORTAGE
;;; -----------------------------------------------------------------

;;; svn site-lisp configuration

(setq load-path (cons "/usr/share/emacs/site-lisp/subversion" load-path))
(add-to-list 'vc-handled-backends 'SVN)
(require 'psvn)

2. evolution-data-server fails to install

I got this message when I tried to upgrade evolution-data-server :
collect2: ld returned 1 exit status
make[3]: *** [create-account] Error 1
make[3]: Leaving directory `/var/tmp/portage/evolution-data-server-1.2.3/work/evolution-data-server-1.2.3/servers/groupwise'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/evolution-data-server-1.2.3/work/evolution-data-server-1.2.3/servers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/evolution-data-server-1.2.3/work/evolution-data-server-1.2.3'
make: *** [all] Error 2 
As it turned it I had to emerge libsoup first. It was already installed but it needed an update and it seems the portage-manager does not know that this has to be done before evolution-data-server.
emerge libsoup

3. cap_set_proc() failed to drop root privileges: Operation not permitted

When I started the ntp-daemon on a 2.6.x kernel I saw this message in /var/log/ntp.log :
cap_set_proc() failed to drop root privileges: Operation not permitted
A solution can be found in the Gentoo Forums but the summury is that you first have to load the module capability before starting the ntpd-daemon.
modprobe capability

4. Misc stuffing that pops up with errors like 'error while loading shared libraries'

Error:
/bin/sed: can't read //usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5/libstdc++.la: No such file or directory libtool-nofpic: link: `//usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5/libstdc++.la' is not a valid libtool archive
Solution:
/sbin/fix_libtool_files.sh 3.3.5
env-update
source /etc/profile


Error:
/usr/sbin/sshd: error while loading shared libraries: libcom_err.so.3: cannot open shared object file: No such file or directory
Solution (there's more info in a thread in the Gentoo forums):
revdep-rebuild --soname libcom_err.so.3
Copyleft 2002-2007 - cudeso.bewebmaster@cudeso.betop