Is panel plugins integration broken at the moment?

Brian J. Tarricone bjt23 at cornell.edu
Thu Oct 20 20:43:20 CEST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/20/2005 10:46 AM, Erik Harrison wrote:
> On 10/20/05, Jasper Huijsmans <jasper at xfce.org> wrote:
> 
>>Carol Spears schreef:
>>
>>>On Thu, Oct 20, 2005 at 10:34:31AM +0200, Jasper Huijsmans wrote:
>>>
>>>
>>>>My guess is that the plugins are unable to find the panel library. Make
>>>>sure you have the ${prefix}/lib/ in /etc/ld.so.conf or as part of the
>>>>LD_LIBRARY_PATH.
>>>>
>>>>Btw, if someone knows of a good way to solve this problem, please let me
>>>>know.
>>>>
>>>
>>>this isn't a problem.  not really.
>>>
>>>i spent about two years typing ldconfig every single time i compiled
>>>something.  i think it tells you do do this in the make install spew.
>>>
>>>then i learned that you only had to do this after installing new
>>>libraries.  then i stopped running ldconfig after every new build.  then
>>>i ran into problems.  the very next thing is to get embarrassed by the
>>>developers and this seems to help kick in the understanding of when you
>>>are adding new libraries and not.
>>>
>>>it is my experience that it is easier to embarrass people on the irc.
>>>
>>
>>;-)
>>
>>The problem is slightly more complicated than this, because the main
>>program (the panel) works just fine.
>>
>>It seems the linker automatically looks for libaries in ${prefix}/lib
>>when running binaries in ${prefix}/bin. This is not the case for plugins
>>in ${prefix}/libexec/xfce4/panel-plugins.
>>
>>I was wondering if making the panel add ${prefix}/lib to LD_LIBRARY_PATH
>>before starting any plugins would be a bad idea. Would this break anything?
> 
> I don't know that it would break anything - I don't know that it's
> portable either.
> 
> But it does make me wince. ;-)

Definitely not portable, and it really makes me wince (or WinCE) too.

	-brian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)

iD8DBQFDV+VI6XyW6VEeAnsRAnn5AKDDR7nPMellRCtseawM3aDgV5DYHwCgzBGn
/My4RW7dHuPw9DNSgeunoLk=
=NzIw
-----END PGP SIGNATURE-----



More information about the Xfce4-dev mailing list