Re: xdpyinfo: can't load library 'libdmx.so.2.0'

2021-09-15 Thread Theo de Raadt
the build system should not be discovering things!


Sebastien Marie  wrote:

> On Wed, Sep 15, 2021 at 05:11:12AM +, Renato Aguiar wrote:
> > I noticed this after sysupgrading to latest snapshot:
> > 
> > $ ldd /usr/X11R6/bin/xdpyinfo
> > /usr/X11R6/bin/xdpyinfo:
> > ld.so: xdpyinfo: can't load library 'libdmx.so.2.0'
> > /usr/X11R6/bin/xdpyinfo: signal 9
> > 
> > It works fine after manually building and installing xdpyinfo from
> > latest xenocara code.
> > 
> 
> libdmx.so has been removed recently. From
> xenocara/app/xdpyinfo/configure, dmx library could be detected as
> build time.
> 
> I suppose the host used to build the snapshots still has old dmx
> library in path, and the build of xdpyinfo detected it and link to it,
> whereas the library isn't in sets anymore.
> 
> Thanks for the report.
> -- 
> Sebastien Marie
> 



Re: xdpyinfo: can't load library 'libdmx.so.2.0'

2021-09-15 Thread Matthieu Herrb
On Wed, Sep 15, 2021 at 08:15:20AM +0200, Sebastien Marie wrote:
> On Wed, Sep 15, 2021 at 05:11:12AM +, Renato Aguiar wrote:
> > I noticed this after sysupgrading to latest snapshot:
> > 
> > $ ldd /usr/X11R6/bin/xdpyinfo
> > /usr/X11R6/bin/xdpyinfo:
> > ld.so: xdpyinfo: can't load library 'libdmx.so.2.0'
> > /usr/X11R6/bin/xdpyinfo: signal 9
> > 
> > It works fine after manually building and installing xdpyinfo from
> > latest xenocara code.
> > 
> 
> libdmx.so has been removed recently. From
> xenocara/app/xdpyinfo/configure, dmx library could be detected as
> build time.
> 
> I suppose the host used to build the snapshots still has old dmx
> library in path, and the build of xdpyinfo detected it and link to it,
> whereas the library isn't in sets anymore.
>


I've just committed a fix to xdpyinfo build system to explicitely
disable dmx support in that case.


-- 
Matthieu Herrb



Re: xdpyinfo: can't load library 'libdmx.so.2.0'

2021-09-15 Thread Sebastien Marie
On Wed, Sep 15, 2021 at 05:11:12AM +, Renato Aguiar wrote:
> I noticed this after sysupgrading to latest snapshot:
> 
> $ ldd /usr/X11R6/bin/xdpyinfo
> /usr/X11R6/bin/xdpyinfo:
> ld.so: xdpyinfo: can't load library 'libdmx.so.2.0'
> /usr/X11R6/bin/xdpyinfo: signal 9
> 
> It works fine after manually building and installing xdpyinfo from
> latest xenocara code.
> 

libdmx.so has been removed recently. From
xenocara/app/xdpyinfo/configure, dmx library could be detected as
build time.

I suppose the host used to build the snapshots still has old dmx
library in path, and the build of xdpyinfo detected it and link to it,
whereas the library isn't in sets anymore.

Thanks for the report.
-- 
Sebastien Marie



xdpyinfo: can't load library 'libdmx.so.2.0'

2021-09-14 Thread Renato Aguiar
I noticed this after sysupgrading to latest snapshot:

$ ldd /usr/X11R6/bin/xdpyinfo
/usr/X11R6/bin/xdpyinfo:
ld.so: xdpyinfo: can't load library 'libdmx.so.2.0'
/usr/X11R6/bin/xdpyinfo: signal 9

It works fine after manually building and installing xdpyinfo from
latest xenocara code.

--
Renato