public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Changing libaries
@ 2007-05-25 13:19 Florian Philipp
  2007-05-25 13:29 ` Hans-Werner Hilse
  2007-05-25 13:31 ` Boyd Stephen Smith Jr.
  0 siblings, 2 replies; 5+ messages in thread
From: Florian Philipp @ 2007-05-25 13:19 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 544 bytes --]

Hi!

I've already asked this question on gentoo-user-de but I've got no - let's 
say - convenient answer. Therefore I'll try my luck here:

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.

Thanks in advance

Florian Philipp 

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Changing libaries
  2007-05-25 13:19 [gentoo-user] Changing libaries Florian Philipp
@ 2007-05-25 13:29 ` Hans-Werner Hilse
  2007-05-25 13:31 ` Boyd Stephen Smith Jr.
  1 sibling, 0 replies; 5+ messages in thread
From: Hans-Werner Hilse @ 2007-05-25 13:29 UTC (permalink / raw
  To: gentoo-user

Hi,

On Fri, 25 May 2007 15:19:30 +0200 Florian Philipp
<f.philipp@addcom.de> wrote:

> 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.

Nope, it might even be left on disk, at least as long as it is still
referenced from open file handles. But it doesn't really matter if that
library just "is somewhere". It matters whether the (instance of the)
application using it has still opened it.

> Naturally, the problem was solved when he rebooted but I wonder how I
> could achieve the effect without rebooting.

Close Kaffeine. That might be difficult if Kaffeine somehow stays
resident or has some "Quick start" facility (like kdeinit and stuff).
Check "ps" output and use "kill". At least, closing the user's session
is enough (if that plugin isn't run by the desktop manager, then I'd
suggest to kill X in order to close the DM's session as well).

-hwh
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Changing libaries
  2007-05-25 13:19 [gentoo-user] Changing libaries Florian Philipp
  2007-05-25 13:29 ` Hans-Werner Hilse
@ 2007-05-25 13:31 ` Boyd Stephen Smith Jr.
  1 sibling, 0 replies; 5+ messages in thread
From: Boyd Stephen Smith Jr. @ 2007-05-25 13:31 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1720 bytes --]

On Friday 25 May 2007, Florian Philipp <f.philipp@addcom.de> 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.                     ,= ,-_-. =. 
bss03@volumehost.net                      ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy           `-'(. .)`-' 
http://iguanasuicide.org/                      \_/     

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [gentoo-user] Changing libaries
@ 2007-05-25 13:39 burlingk
  2007-05-25 14:07 ` Florian Philipp
  0 siblings, 1 reply; 5+ messages in thread
From: burlingk @ 2007-05-25 13:39 UTC (permalink / raw
  To: gentoo-user



> -----Original Message-----
> From: Florian Philipp [mailto:f.philipp@addcom.de] 
> Sent: Friday, May 25, 2007 10:20 PM
> To: gentoo-user@lists.gentoo.org
> Subject: [gentoo-user] Changing libaries
> 
> 
> Hi!
> 
> I've already asked this question on gentoo-user-de but I've 
> got no - let's 
> say - convenient answer. Therefore I'll try my luck here:
> 
> 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.
> 
> Thanks in advance
> 
> Florian Philipp 

Try running as root,
~# ldconfig

--
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Changing libaries
  2007-05-25 13:39 burlingk
@ 2007-05-25 14:07 ` Florian Philipp
  0 siblings, 0 replies; 5+ messages in thread
From: Florian Philipp @ 2007-05-25 14:07 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 957 bytes --]

Am Freitag 25 Mai 2007 15:39 schrieb burlingk@cv63.navy.mil:
> > -----Original Message-----
> > From: Florian Philipp [mailto:f.philipp@addcom.de]
> > Sent: Friday, May 25, 2007 10:20 PM
> > To: gentoo-user@lists.gentoo.org
> > Subject: [gentoo-user] Changing libaries
> >
> >
> > Hi!
> >
> > I've already asked this question on gentoo-user-de but I've
> > got no - let's
> > say - convenient answer. Therefore I'll try my luck here:
> >
> > 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.
> >
> > Thanks in advance
> >
> > Florian Philipp
>
> Try running as root,
> ~# ldconfig

Thanks guys, I knew I could count on you!

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-05-25 14:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-25 13:19 [gentoo-user] Changing libaries Florian Philipp
2007-05-25 13:29 ` Hans-Werner Hilse
2007-05-25 13:31 ` Boyd Stephen Smith Jr.
  -- strict thread matches above, loose matches on Subject: below --
2007-05-25 13:39 burlingk
2007-05-25 14:07 ` Florian Philipp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox