On Friday 25 May 2007, Florian Philipp <[EMAIL PROTECTED]> wrote 
about '[gentoo-user] Changing libaries':
> Another user had some trouble because Kaffeine couldn't play .ogg-files.
> In the end we found out that he activated the necessary USE-flag and
> re-emerged xine-lib but Kaffeine kept using the old lib which was still
> in RAM, I presume.
>
> Naturally, the problem was solved when he rebooted but I wonder how I
> could achieve the effect without rebooting.

For most applications you simply have to restart the application.  Next 
time the process starts perform dynamic linking, which accesses the 
filesystem and picks up the new library.

KDE applications started under the standard KDE environment have dynamic 
linking done for them by kdeinit though, so shared libraries stay loaded 
(but possibly swapped out) persist for as long as the kdeinit process 
lives.  So, you'll have to restart the kdeinit process, this usually 
involves logging out and logging back in, although kdm might (I don't 
think so, but might) require you to restart X.

Alternatively, you might be able to get around this by prelinking, or at 
least telling KDE that things are prelinked (even if they aren't) I 
believe kdeinit drops this behavior if KDE_IS_PRELINKED=1 or 
KDE_IS_PRELINKED=true is in the environment when kdeinit starts.

You can NOT simply kill the kdeinit process unless you want KDE 
applications started by it to start "mysteriously" dying.

-- 
Boyd Stephen Smith Jr.                     ,= ,-_-. =. 
[EMAIL PROTECTED]                      ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy           `-'(. .)`-' 
http://iguanasuicide.org/                      \_/     

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to