On Apr 11, 2013, at 17:55, Zack wrote:
> I am working on getting pd-faust going on my OSX machine.
>
>
> For now, I am having some trouble getting pd-pure to work on OSX 10.8.x.
>
> my configuration:
>
> pd-pure-0.16
> pure @0.57_0 (mac ports) NOT UNIVERSAL: /opt/local/lib/libpure.8.0.dylib: Mach-O 64-bit x86_64 dynamically linked shared library
>
> pdextended 0.43.4
>
> compilation seems to be ok.
>
> However,
>
>
> I get a linking warning : ld: warning: ignoring file /opt/local/lib/libpure.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /opt/local/lib/libpure.dylib
This message means you are trying to build something for i386 (probably as part of an i386+x86_64 universal build) but the libpure.dylib does not contain that architecture (it only contains x86_64 on your system).
> and then when I load pure.pd_darwin into pd, the PD console displays the following error:
>
> /Users/zack/svn/zack/dev/pd-pure-0.16/examples/pure.pd_darwin: dlopen(/Users/zack/svn/zack/dev/pd-pure-0.16/examples/pure.pd_darwin, 10): Symbol not found: _blob
> Referenced from: /Users/zack/svn/zack/dev/pd-pure-0.16/examples/pure.pd_darwin
> Expected in: dynamic lookup
I don't know if that's related.
> I am wondering it the problem is that pdextended expects a universal extern, and if so, I would be in need of a universal build of libpure (macport build is only 64 bit)
The reason why pure in MacPorts was not universal no longer applies so I've fixed it:
https://trac.macports.org/changeset/105227
I have not yet fixed any of the pure module ports, which remain non-universal.
> In any case, I am not quite sure where to go from here, and am wondering if anyone else has had this trouble etc…
Wait 30 minutes, then run "sudo port selfupdate", then "sudo port install pure +universal", then retry what you were originally trying to do.
We don't yet have pd-pure in MacPorts. If you want to help us with that, this is the ticket:
https://trac.macports.org/ticket/18323