[flext] dlopen: Symbol not found

Patrick Gampp hr824 at gmx.de
Tue Aug 16 11:55:15 CEST 2011


Hi Thomas,
thank you very much for your answer.

I checked my linker flags in Xcode and I actually link to the static library libflext-pd_sd.a with -lflext-pd_sd. 

The flext-libraries were generated using your  flext.xcodeproj, which I checked out from https://svn.grrrr.org/ext/trunk/flext. I adapted the header search path to /bin/pdextended/src and built it. I didn't execute the make and install scripts via terminal.
Then I used the template.xcodeproj and built it with the given settings. Again i adjusted the header search path to /[location of flext]/source/.

I checked flext-pd_d.dylib, libflext-pd_sd.a, libflext-pd_td.a with GNU's nm and none of them contained the symbol __ZN18flext_obj_single_d8FinalizeEv.

Is there a setting in the flext.xcodeproj I have to adjust? What can be a solution to this error?

Thanks again,
Patrick


On 14.08.2011, at 13:13, Thomas Grill wrote:

> Hi Patrick,
> the demangled name of that symbol is flext_obj_single_d::Finalize() which refers to a static debug build.
> This kind of build is expected to be statically (not dynamically) linked, the latter being your case. 
> In Xcode you need to link to libflext-pd_sd.a with a linker command -lflext_sd .
> I guess in your case it is rather -lflext.
> 
> gr~~~
> 
> Am 12.08.2011 um 16:21 schrieb Patrick Gampp:
> 
>> Hi all,
>> I built the flext template external with the help of Xcode 4. When I try to create it in a puredata patch, the following error occurs:
>> 
>> ---
>> /Volumes/Projects/_shared/pd_X/myext.pd_darwin: dlopen(/Volumes/Projects/_shared/pd_X/myext.pd_darwin, 10): Symbol not found: __ZN18flext_obj_single_d8FinalizeEv
>> Referenced from: /Volumes/Projects/_shared/pd_X/myext.pd_darwin
>> Expected in: dynamic lookup
>> 
>> myext
>> ... couldn't create 
>> ---
>> 
>> Can you give me a hint, what the problem is here?
>> 
>> Thanks, 
>> Patrick
>> _______________________________________________
>> http://grrrr.org/ext/flext
>> 
>> flext mailing list
>> flext at grrrr.org
>> http://grrrr.org/cgi-bin/mailman/listinfo/flext
> 
> --
> Thomas Grill
> http://grrrr.org
> +43 699 19715543
> 
> _______________________________________________
> http://grrrr.org/ext/flext
> 
> flext mailing list
> flext at grrrr.org
> http://grrrr.org/cgi-bin/mailman/listinfo/flext

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://grrrr.org/pipermail/flext/attachments/20110816/77f30eec/attachment.htm>


More information about the flext mailing list