Is panel plugins integration broken at the moment?

Jasper Huijsmans jasper at xfce.org
Thu Oct 20 12:41:40 CEST 2005


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?

	Jasper



More information about the Xfce4-dev mailing list