[PD] Purr Data beta 2

Jonathan Wilkes jancsika at yahoo.com
Fri Oct 14 19:37:05 CEST 2016


After a bit of finessing, Homebrew seems to be working just fine.
One snag-- any idea how to get plugin~ building using only Homebrew libs?  I need ladspa.h but there's no package for it.  I suppose I can just wget it if nothing else...
-Jonathan

      From: Dan Wilcox <danomatika at gmail.com>
 To: Jonathan Wilkes <jancsika at yahoo.com> 
Cc: Matt Barber <brbrofsvl at gmail.com>; Pd-List <pd-list at lists.iem.at>
 Sent: Wednesday, October 12, 2016 11:53 AM
 Subject: Re: [PD] Purr Data beta 2
   


On Oct 12, 2016, at 9:30 AM, Jonathan Wilkes <jancsika at yahoo.com> wrote:


When building the app bundle, Hans (I think) wrote a script that can grab the 
/opt/local/lib dependencies, copy them to the app bundle, and revise the path 
in the binary using @executable_path to make sure the dependecies in the app 
bundle are correctly found when loading an external.

Yeah, that’s probably using install_name_tool. Here’s an old but relevant discussion on this: http://forums.macrumors.com/threads/embedding-or-statically-linking-against-a-dylib.176077/

Now, with homebrew:otool -L oggread~.pd_darwin

/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1226.10.1)/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 915.0.0)
***
There's no path listed at all to the ogg lib dependencies.  When I try to load 
oggread~ with the Purr Data app bundle I just created it doesn't search 
/usr/local/lib and consequently reports missing symbols.

I’m not sure. Maybe, try explicitly adding /usr/local/include to the header search path and /usr/local/lib to the linker search path? I’m doing that in the autotools_update brach configure.ac: https://github.com/pure-data/pure-data/blob/autotools_updates/configure.ac#L62
--------
Dan Wilcox
@danomatika
danomatika.com
robotcowboy.com





   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20161014/5c90d9a2/attachment.html>


More information about the Pd-list mailing list