Re: libcairo seems incomplete

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 02, 2012 at 08:39:51PM -1000, Joel Roth wrote:
> Hi wizards and wizardesses,
> 
> 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
> 
> Can someone help me solve this:
> 
> 
> On Fri, Feb 03, 2012 at 09:58:31AM +1100, Erik de Castro Lopo wrote:
> > Joel Roth wrote:
> > 
> > > My naive attempt to compile (adding various libraries along
> > > the way) got stuck. 
> > > 
> > 
> > <snip>
> > 
> > >     Found CAIRO ................... yes
> > 
> > That means that Cairo thinks it is installed correctly.
> > 
> > >     Found JACK .................... yes
> > > 
> > >   Installation directories :
> > > 
> > >     Program directory ............. /usr/local/bin
> > > 
> > > 
> > > (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)
> > 
> > But the linker disagrees.

Resolved this by providing the path to the linker (as
suggested by the helpful error message!)

I added this line to the Makefile.

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

-- 
Joel Roth
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/listinfo/linux-audio-user


[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux