yay, build complete. Now what ?

Peter Hutterer peter.hutterer at who-t.net
Tue Jan 29 15:10:12 PST 2013


On Tue, Jan 29, 2013 at 02:08:26PM -0500, Dennis Clarke wrote:
> 
> > > Can I simply fire this up in the VMware virtual machine with a 
> > barebone xinit ? 
> > 
> > yes. just make sure you set your PATH etc so you start the new bits, 
> > not the
> > system-wide ones.
> 
> Well that is not a problem, there is no system wide X at all on this vmware machine.
> 
> 
> > > aster $ ldd /opt/xorg/bin/xlsatoms
> > >         linux-vdso.so.1 =>  (0x00007fff5c59e000)
> > >         libxcb.so.1 => not found
> > >         libc.so.6 => /lib/libc.so.6 (0x00007f3f8612e000)
> > >         /lib64/ld-linux-x86-64.so.2 (0x00007f3f86496000)
> > > 
> > 
> > set LD_LIBRARY_PATH to $prefix/lib
> 
> That there looks like a build error.  One should never, ever, need to specify LD_IBRARY_PATH in order to run a binary in some location like /opt/foo.  The RPATH *should* be in the binary itself. 
> 
> Otherwise there is no promise that the binary will operate as expected. 

fwiw, both debian and fedora discourage the use of RPATH

http://wiki.debian.org/RpathIssue
http://fedoraproject.org/wiki/Packaging:Guidelines#Beware_of_Rpath

Cheers,
   Peter



More information about the xorg mailing list