pd-pure-0.16 on OSX 10.8x

14 views
Skip to first unread message

Zack

unread,
Apr 11, 2013, 6:55:54 PM4/11/13
to pure...@googlegroups.com
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

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 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)

In any case, I am not quite sure where to go from here, and am wondering if anyone else has had this trouble etc...  


thanks

Zack Settel

Ryan Schmidt

unread,
Apr 13, 2013, 8:16:10 PM4/13/13
to pure...@googlegroups.com

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



Albert Graef

unread,
Apr 29, 2013, 5:45:49 AM4/29/13
to pure...@googlegroups.com
On Fri, Apr 12, 2013 at 12:55 AM, Zack <zko...@gmail.com> wrote:
>
> 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


Yeah, so, as Ryan already suggested, linking in the Pure runtime lib failed.

> 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


The 'blob' function is indeed defined in the runtime lib, so very
likely this is a direct consequence of the previous linker error.

Zack, did Ryan's new universal build of Pure solve the issue for you?

--
Dr. Albert Gr"af
Dept. of Music-Informatics, University of Mainz, Germany
Email: agg...@gmail.com
WWW: http://www.musikinformatik.uni-mainz.de/ag
Reply all
Reply to author
Forward
0 new messages