On Fri, Feb 03, 2012 at 05:27:18PM +0000, Camale??n wrote:
> On Thu, 02 Feb 2012 20:45:11 -1000, Joel Roth wrote:
> 
> > Hi wizards and wizardesses,
> 
> Hello mere mortal (just kidding :-P)
>  
> > Trying to compile sndfile-tools from git, the author suggests I have a
> > library problem.
> > 
> > Cairo appears to be present during the ./configure phase, however some
> > dependent libraries are not found during make.
> > 
> > One of these libraries is libxcb-shm.so.0, which is present:
> > 
> > /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0
> 
> (...)
> 
> Are you on Sid?
> 
> I'm soooo far from being a compiler guru but my simply guess is the 
> library needs to be located at "/usr/lib/libxcb-shm.so.0" while on Sid 
> this seems to be changed...
> 
> > Can someone help me solve this:
> 
> >> > (master) ~/build/sndfile-tools $ make
> >> >   CCLD   src/sndfile-spectrogram
> >> > /usr/bin/ld: warning: libxcb-shm.so.0, needed by
> >> > /usr/lib/libcairo.so, not found (try using -rpath or -rpath-link)
> 
> Have you tried by using the suggested "-rpath" parameter to point the 
> installer to the current library location? :-?

I just succeeded by tweaking the Makefile thusly:

LDFLAGS = -rpath /usr/lib/x86_64-linux-gnu

I'd tried something similar before... 

Thanks!

 
> Greetings,
> 
> -- 
> Camaleón
> 
> 
> -- 
> To UNSUBSCRIBE, email to [email protected] 
> with a subject of "unsubscribe". Trouble? Contact [email protected]
> Archive: http://lists.debian.org/[email protected]
> 

-- 
Joel Roth


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/20120203203534.GA24255@sprite

Reply via email to