ldconfig needed after dropping a shared library into a system directory

 

NAME
       ldconfig - configure dynamic linker run-time bindings

SYNOPSIS
       /sbin/ldconfig  [  -nNvXV ] [ -f conf ] [ -C cache ] [ -r root ] direc-
       tory ...
       /sbin/ldconfig -l [ -v ] library ...
       /sbin/ldconfig -p

DESCRIPTION
       ldconfig creates the necessary links  and  cache  to  the  most  recent
       shared  libraries  found  in  the  directories specified on the command
       line, in the file /etc/ld.so.conf, and in the trusted directories (/lib
       and  /usr/lib).  The cache is used by the run-time linker, ld.so or ld-
       linux.so.  ldconfig checks the header and filenames of the libraries it
       encounters  when  determining  which  versions  should have their links
       updated.
Advertisements

MP3 Support for Rhythmbox, RedHat Enterprise 6 Version

wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
sudo rpm -ivh epel-release-6-8.noarch.rpm
su -c ‘yum localinstall –nogpgcheck \
http://download1.rpmfusion.org/free/el/updates/6/i386/rpmfusion-free-release-6-1.noarch.rpm \
http://download1.rpmfusion.org/nonfree/el/updates/6/i386/rpmfusion-nonfree-release-6-1.noarch.rpm’
sudo yum install gstreamer-plugins-ugly

X will not start

Messing around with putting lorentz on a KVM switch. System got into a funny state. Googling around found that hald not running could cause missing mouse and keyboard in X session. Found hint at solution by trying to start hald by hand:

/usr/sbin/hald --daemon=no --verbose=yes

which reported as an error that there was no haldaemon group (gid = 68). Turned out the /etc/group file missing for some reason.

Symptom:

No greeter screen for X at run level 5.

From ascii console, startx works, but no mouse or keyboard: have to reboot

service haldaemon start  [fail]

Solution:

Recovered /etc/group from backup copy:

[root@lorentz /etc]# cp group- group
[root@lorentz /etc]# service haldaemon status
hald is stopped
[root@lorentz /etc]# service haldaemon start
Starting HAL daemon:                                       [  OK  ]

Then everything OK.

 

Editing pdf files under Linux

Three solutions:

1) pdfedit, part of Fedora 7. Had problems with pdf files with large imbeded images. Program would go into an apparaently infinite loop.

2) flpsed, tarball distribution. See this blog entry for installation notes. Much more primitive than pdfedit. Only works on PostScript files. Must use pdf2ps to convert pdf’s first.

3) Page at a time with xfig. Only have heard about this. Sounds painful for multi-page documents.