OK here's what I found.<br><br>The pkg_config problem was solved by installing pkg_config in /usr instead of /usr/local (./configure --prefix=/usr) and the PD object compiled successfully using <br>  gcc -bundle -undefined suppress -flat_namespace -o aubio.pd_darwin *.o<br><br>but...<br><br>PD can't load the object. Despite doing a make install, and all the standalone aubio programs installed successfully, PD's output window gives the message:<br><br>link error 0  dyld: /Users/lccuser/Edkelly/Software/Pd-0.39-2.app/Contents/Resources/Scripts/../bin/pd undefined symbols:<br>_aubio_beattracking_do<br>_aubio_onsetdetection<br>_aubio_peakpick_pimrt<br>_aubio_peakpick_pimrt_wt<br><br>and so on. Then of course:<br>aubio: can't load library<br><br>So it is not linked to the libaubio files? I am not sure how to resolve this...<br><br>Best,<br>Ed<br><br><br><b><i>Paul Brossier <piem@altern.org></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16,
 16, 255); margin-left: 5px; padding-left: 5px;"> Hi Ed,<br><br>Thanks for your report.<br><br>On Tue, Aug 15, 2006 at 03:11:53PM +0100, Ed Kelly wrote:<br>> Hi Paul,<br>> <br>> I'm having some problems building the aubio pd<br>> externals on Mac OSX. I had to set PKG_CONFIG_PATH<br>> environment variables for the sources for libsndfile,<br>> libsamplerate and fftw3 manually, then the<br>> libtoolkludge passes a couple of unrecognized options<br>> to gcc and ld.<br><br>I think the pkg-config issue as a bug in pkg-config, or maybe a missing<br>compilation flag to it. If package descriptions get installed by default<br>in some location, then pkg-config should look for them in that location<br>by default. There is not much we could do in aubio to solve it anyway.<br><br>> gcc -shared option is not supported in Apple's gcc<br>> 3.3, and ld -export_dynamic does not work either. the<br>> first is documented here:<br>>
 http://developer.apple.com/documentation/DeveloperTools/gcc-3.3/gcc/Link-Options.html<br>> but <br>> I cannot find documentation on the ld option<br>> -export_dynamic.<br><br>Yes, the PD plugin lacks the correct command line to create the external<br>on OS X. Reading other external Makefiles, it seems the following<br>command should create aubio.pd_darwin correctly:<br><br>  gcc -bundle -undefined suppress -flat_namespace -o aubio.pd_darwin *.o<br><br>or:<br><br>  gcc -bundle -bundle_loader <path_to_PD> -flat_namespace -o aubio.pd_darwin *.o<br><br>See also http://lists.puredata.info/pipermail/pd-dev/2003-05/001238.html<br><br>I don't have access to a OS X at the moment. Let us know if this works for you!<br><br>Thanks, Paul<br><br><br>-- <br>To unsubscribe, send mail to aubio-unsubscribe@piem.org.<br></path_to_PD></blockquote><br><BR><BR>-><br>-><br>--><br>---><br>-----><br>--------><br>-------------> <br>--------------------->
 <br><br>"Genius is attention to detail" Louis Pasteur<p>
                <hr size=1> 
<a href="http://us.rd.yahoo.com/mail/uk/taglines/default/nowyoucan/pc_mag/*http://us.rd.yahoo.com/evt=40565/*http://uk.docs.yahoo.com/nowyoucan.html">All new Yahoo! Mail</a> "The new Interface is stunning in its simplicity and ease of use." - PC Magazine