Re: [Audacity-devel] Mac builders FYI
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: Jean-Baptiste T. <jb...@dc...> - 2009-02-03 17:26:27
|
Alleluia! There was indeed a version of libsndfile.dylib and libportaudio.dylib in my /usr/local/lib/ folder. I haven't used Fink to install anything (although maybe TexShop, a LateX editor). It is possible that SuperCollider installed these, I saw somewhere that libsndfile was used by SuperCollider. I renamed the files in /usr/local/lib/, and it compiled just fine. It would run fine too and open previous Audacity sessions I have on my computer. Thank you so much Paul and Leland! If I gather the past exchange of question/answers for further developers, where shall I post it? Cheers, Jean-Baptiste PS: echo $LD_LIBRARY_PATH returned a empty line Paul Livesey wrote: > Hi there, > > Looks to me like you've got locally installed versions of libsndfile and > libportaudio in /usr/local/lib and that they're not universal binaries. > > The problem is that these are being found and used instead of the ones > within the Audacity source. That's two problems. They might not be the > correct versions of the library and they're not universal. Should I > presume that Fink or DarwinPorts is responsible? > > You could rename them for the moment and see if you get any further. > > As a side note, what is your library search path? echo $LD_LIBRARY_PATH > from the terminal should tell you. For building Audacity on a Mac, in my > experience, you really don't want /usr/local to be in the library or > include search path. > > Paul. > > P.S. My apologies if squirrelmail has mangled this mail. > > > >> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> >> <html> >> <head> >> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> >> </head> >> <body bgcolor="#ffffff" text="#000000"> >> Hi Leland,<br> >> <br> >> I've done as suggested. I still have linkage errors that start just >> after the following warning on libsndfile.dylib and libportaudio.dylib. >> The first error references libportmixer.a. <br> >> <br> >> ld warning: in >> /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libsndfile.dylib, file is >> not of required architecture<br> >> ld warning: in >> /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libportaudio.dylib, file >> is not of required architecture<br> >> Undefined symbols:<br> >> "_Pa_GetStreamHostApiType", referenced from: <-- first >> error<br> >> _Px_OpenMixer in >> libportmixer.a(px_mixer.o)<br> >> "_Pa_GetDefaultOutputDevice", referenced from:<br> >> >> AudioIO::getPlayDevIndex(wxString) in >> AudioIO.o<br> >> >> AudioIO::GetDeviceInfo() in AudioIO.o<br> >> "_PaMacCore_GetStreamOutputDevice", referenced from:<br> >> _OpenMixer_Mac_CoreAudio in >> libportmixer.a(px_mac_coreaudio.o)<br> >> "_Pa_Initialize", referenced from:<br> >> AudioIO::AudioIO()in AudioIO.o<br> >> AudioIO::AudioIO()in AudioIO.o<br> >> "_PaMacCore_GetStreamInputDevice", referenced from:<br> >> _OpenMixer_Mac_CoreAudio in >> libportmixer.a(px_mac_coreaudio.o)<br> >> (snip)<br> >> <br> >> Any suggestions?<br> >> <br> >> Thanks<br> >> Jean-Baptiste<br> >> <br> >> Leland wrote: >> <blockquote cite="mid:498...@au..." type="cite"> >> <pre wrap="">Jean-Baptiste Thiebaut wrote: >> </pre> >> <blockquote type="cite"> >> <pre wrap="">Hi George, >> >> Thanks for your message. I now think that the problem comes from >> portaudio, which I installed myself (I didn't know that a version of it >> was in the audacity CVS). >> >> So I am now trying to apply the patch 'portaudio.patch'. I tried to run >> 'patch -p1 -i portaudio.patch' but I have the following message: >> >> </pre> >> </blockquote> >> <pre wrap=""><!---->No need to apply the patch to the local tree...it's >> already been done. >> >> </pre> >> <blockquote type="cite"> >> <pre wrap="">By the way, would applying the patch be the appropriate >> method to make >> sure that Audacity uses portaudio v19 instead of the portaudio library I >> installed? >> >> </pre> >> </blockquote> >> <pre wrap=""><!---->The best way I can think of is to simply uninstall >> the one you >> installed. Or, if you just want to check to see if that's what the >> problem it for sure, then just rename the portaudio.h file in >> /usr/local/inclue and /usr/include. Same goes for any portaudio files >> you might find in /usr/local/lib and /usr/lib. You can always rename >> them back... >> >> Leland >> >> ------------------------------------------------------------------------------ >> Create and Deploy Rich Internet Apps outside the browser with >> Adobe(R)AIR(TM) >> software. With Adobe AIR, Ajax developers can use existing skills and code >> to >> build responsive, highly engaging applications that combine the power of >> local >> resources and data with the reach of the web. Download the Adobe AIR SDK >> and >> Ajax docs to start building applications >> today-http://p.sf.net/sfu/adobe-com >> _______________________________________________ >> audacity-devel mailing list >> <a class="moz-txt-link-abbreviated" >> href="mailto:aud...@li...">aud...@li...</a> >> <a class="moz-txt-link-freetext" >> href="https://lists.sourceforge.net/lists/listinfo/audacity-devel">https://lists.sourceforge.net/lists/listinfo/audacity-devel</a> >> </pre> >> </blockquote> >> <br> >> </body> >> </html> >> >> ------------------------------------------------------------------------------ >> Create and Deploy Rich Internet Apps outside the browser with >> Adobe(R)AIR(TM) >> software. With Adobe AIR, Ajax developers can use existing skills and code >> to >> build responsive, highly engaging applications that combine the power of >> local >> resources and data with the reach of the web. Download the Adobe AIR SDK >> and >> Ajax docs to start building applications >> today-http://p.sf.net/sfu/adobe-com_______________________________________________ >> audacity-devel mailing list >> aud...@li... >> https://lists.sourceforge.net/lists/listinfo/audacity-devel >> >> > > > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code to > build responsive, highly engaging applications that combine the power of local > resources and data with the reach of the web. Download the Adobe AIR SDK and > Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com > _______________________________________________ > audacity-devel mailing list > aud...@li... > https://lists.sourceforge.net/lists/listinfo/audacity-devel > |