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@email-addr-hidden http://lists.linuxaudio.org/listinfo/linux-audio-userReceived on Sat Feb 4 00:15:02 2012
This archive was generated by hypermail 2.1.8 : Sat Feb 04 2012 - 00:15:02 EET