[LAU] libcairo seems incomplete
Joel Roth
joelz at pobox.com
Fri Feb 3 20:38:39 UTC 2012
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
More information about the Linux-audio-user
mailing list