[linux-audio-user] GWC & libsndfile

Howard Sanner flagstad at mindspring.com
Wed Mar 26 17:26:01 EST 2003


Erik de Castro Lopo wrote:
> 
> On Mon, 24 Mar 2003 20:56:49 -0500
> Howard Sanner <flagstad at mindspring.com> wrote:
> 
> > Erik de Castro Lopo wrote:
> > >
> > > What do you get when you run the following commands:

	[snip]

> >       bash: pkg-config: command not found
> >
> >       (Not being a wiseguy; just answering the question. Tell me where
> > to get it & I'll run it.)
> 
> I run Debian. Al I did was "apt-get install pkg-config". Best bet would
> be to search http://freshmeat.net/ (ie teaching you how to fish :-)).

	Always glad to learn how to reel in the big ones. <g> As my
buddy Dave says, "Give a man a fish and he'll eat today; teach a
man to fish and he'll sit in a boat and drink beer all day."

	For the sake of closure, or whatever, here's the result:

$pkg-config --list-all | grep sndfile
sndfile sndfile - A library for reading and writing audio files.


$pkg-config --cflags sndfile
-I/usr/local/include


$pkg-config --libs sndfile
-L/usr/local/lib -lsndfile



> 
> > >   3) locate libsndfile.so.1.0.4
> >
> >       /usr/local/lib/libsndfile.so.1.0.4
> 
> <rearrange text ordering>
> 
> > /home/howard/gnome.wave.cleaner/libsndfile-1.0.4/src/.libs/libsndfile.so.1.0.4
> 
> I assume that was part of the locate command output, not part of the
> next command.

	Right. I think my mailer did some reformatting.


> 
> > >   4) cat /etc/ld.so.conf
> >
> > /usr/X11R6/lib
> > /usr/lib/wine
> 
> OK, here is another problem.
> 
> You notice above the libsndfile has been installed in /usr/local/lib/ but
> that is not listed in /etc/ld.so.conf. You should add /usr/local/lib
> to that file (on a new line) and then (as root) run the following command:

	Done.



> That should get you a LOT closer.

	Indeed, all the way to a GWC that compiles, thanks to Erik and
Eric!

	Thanks for all the help, not to mention the fishing lesson. I'd
never have found the fishing hole, never mind gotten the hook
baited and caught dinner, my own.

						Howard Sanner
						flagstad at mindspring.com



More information about the Linux-audio-user mailing list