Is panel plugins integration broken at the moment?

Erik Harrison erikharrison at gmail.com
Thu Oct 20 19:46:27 CEST 2005


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

>
>         Jasper
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> http://foo-projects.org/mailman/listinfo/xfce4-dev
>


--
Erik

"If Beethoven had been killed in a plane crash at the age of 22, it
would have changed the history of music... and of aviation."



More information about the Xfce4-dev mailing list