<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<tt>Hi, Denis!<br>
<br>
Can you run 'ldconfig -p | grep sndfile'? Do you see the .so
libraries in the output? If not, perhaps you should run
'ldconfig'. If this still does not work, you should manually add
the library's directory in the library path[1].<br>
<br>
If you do get sndfile in the output, but it still does not work,
perhaps the first configure commmand did not get the proper
library, so you should re-run './configure'.<br>
<br>
PS: I also forwarded this question on the RTPProxy mailing list.
If this does not work, perhaps somebody out there can help you out.<br>
<br>
[1]
<a class="moz-txt-link-freetext" href="https://codeyarns.com/2014/01/14/how-to-add-library-directory-to-ldconfig-cache/">https://codeyarns.com/2014/01/14/how-to-add-library-directory-to-ldconfig-cache/</a><br>
<br>
Best regards,<br>
</tt>
<pre class="moz-signature" cols="72">Răzvan Crainea
OpenSIPS Solutions
<a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 12/20/2016 08:46 AM, Denis wrote:<br>
</div>
<blockquote cite="mid:883581482216406@web31j.yandex.ru" type="cite">
<div>Hello!</div>
<div> </div>
<div>I want to use extractaudio utility to extract audio and write
it to some .wav file.</div>
<div>But, during compiling of this utility i get such error</div>
<div>"
<div>extractaudio.c:325: undefined reference to `sf_open'</div>
<div>extractaudio.c:389: undefined reference to `sf_write_short'</div>
<div>extractaudio.c:400: undefined reference to `sf_close'</div>
<div>extractaudio.c:389: undefined reference to `sf_write_short'</div>
<div> </div>
<div>
<div>collect2: error: ld returned 1 exit status</div>
<div>Makefile:427: recipe for target 'extractaudio' failed</div>
<div>make: *** [extractaudio] Error 1</div>
</div>
<div>"</div>
<div>libsndfile1 package (and dev) had been installed early.</div>
<div> </div>
<div>May be, somebody, has dealt with the problem?</div>
<div> </div>
<div>Thank you for any help.</div>
</div>
<div> </div>
<div>-- </div>
<div>С уважением, Денис.</div>
<div>Best regards, Denis</div>
<div> </div>
<div> </div>
<div> </div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>