On Mon, May 30, 2011 at 17:54:19 +0100, Owain Ainsworth wrote:
> On Mon, May 30, 2011 at 11:07:26AM +0200, LEVAI Daniel wrote:
> > [...]
> > 
> > So, am I the only one experiencing this? I have to "unset LD_PRELOAD"
> > before executing cssh or libreoffice when using scrotwm in -current,
> > because libswmhack barfs me:
> > --- # ---
> > /usr/bin/perl:/usr/local/lib/libswmhack.so.0.0: undefined symbol 
> > 'XInternAtom'
> > lazy binding failed!
> > Segmentation fault (core dumped)
> > --- # ---
> > /usr/local/lib/libreoffice/program/soffice.bin:/usr/local/lib/libswmhack.so.0.0:
> >  undefined symbol 'XInternAtom'
> > lazy binding failed!
> > Segmentation fault (core dumped)
> > --- # ---
> 
> As a guess this is because perl doesn't immediately link in the libX11
> stuff (it'll dlopen it when it loads the module that needs it). try also
> LD_PRELOADing libX11 to test this theory.

This is the case exactly!

`LD_PRELOAD=/usr/X11R6/lib/libX11.so.14.0 cssh`
and
`LD_PRELOAD=/usr/X11R6/lib/libX11.so.14.0 libreoffice`
works.


But I can't imagine since when this had been broken.


Thanks,
Daniel

-- 
LÉVAI Dániel
PGP key ID = 0x83B63A8F
Key fingerprint = DBEC C66B A47A DFA2 792D  650C C69B BE4C 83B6 3A8F

Reply via email to