Open Sdrammaturgo opened 6 years ago
Possible duplicate of #49
Hmmm I don't think so, I read thread #49 but I'm working in a 64 bit environment on a 64bit version of PD
Run Pd with -verbose flag at startup, the Pd console will then print out information on the error.
Hi, sorry it took so long, this is what it says
tried /Users/federicorizzi/Documents/MotuControl_PD/rest.d_fat and failed tried /Users/federicorizzi/Documents/MotuControl_PD/rest.pd_darwin and failed tried /Users/federicorizzi/Documents/MotuControl_PD/rest/rest.d_fat and failed tried /Users/federicorizzi/Documents/MotuControl_PD/rest/rest.pd_darwin and failed tried /Users/federicorizzi/Documents/MotuControl_PD/rest.pd and failed tried /Users/federicorizzi/Documents/MotuControl_PD/rest.pat and failed tried /Users/federicorizzi/Documents/MotuControl_PD/rest/rest.pd and failed tried /Users/federicorizzi/Documents/Pd/externals/rest.d_fat and failed tried /Users/federicorizzi/Documents/Pd/externals/rest.pd_darwin and succeeded [rest] part of PuREST JSON version 1.4.2 For more info see http://ix.residuum.org/pd/purest_json.html tried /Users/federicorizzi/Documents/MotuControl_PD/json-decode.d_fat and failed tried /Users/federicorizzi/Documents/MotuControl_PD/json-decode.pd_darwin and failed tried /Users/federicorizzi/Documents/MotuControl_PD/json-decode/json-decode.d_fat and failed tried /Users/federicorizzi/Documents/MotuControl_PD/json-decode/json-decode.pd_darwin and failed tried /Users/federicorizzi/Documents/MotuControl_PD/json-decode.pd and failed tried /Users/federicorizzi/Documents/MotuControl_PD/json-decode.pat and failed tried /Users/federicorizzi/Documents/MotuControl_PD/json-decode/json-decode.pd and failed tried /Users/federicorizzi/Documents/Pd/externals/json-decode.d_fat and failed tried /Users/federicorizzi/Documents/Pd/externals/json-decode.pd_darwin and succeeded tried /Users/federicorizzi/Documents/Pd/externals/json-decode.pd and failed tried /Users/federicorizzi/Documents/Pd/externals/json-decode.pat and failed tried /Users/federicorizzi/Documents/Pd/externals/json-decode/json-decode.pd and failed tried /Users/federicorizzi/Documents/MotuControl_PD/PuRestJson-master/json-decode.d_fat and failed tried /Users/federicorizzi/Documents/MotuControl_PD/PuRestJson-master/json-decode.pd_darwin and succeeded tried /Users/federicorizzi/Documents/MotuControl_PD/PuRestJson-master/json-decode.pd and failed tried /Users/federicorizzi/Documents/MotuControl_PD/PuRestJson-master/json-decode.pat and failed tried /Users/federicorizzi/Documents/MotuControl_PD/PuRestJson-master/json-decode/json-decode.pd and failed tried /Users/federicorizzi/Library/Pd/json-decode.d_fat and failed tried /Users/federicorizzi/Library/Pd/json-decode.pd_darwin and failed tried /Users/federicorizzi/Library/Pd/json-decode/json-decode.d_fat and failed tried /Users/federicorizzi/Library/Pd/json-decode/json-decode.pd_darwin and failed tried /Users/federicorizzi/Library/Pd/json-decode.pd and failed tried /Users/federicorizzi/Library/Pd/json-decode.pat and failed tried /Users/federicorizzi/Library/Pd/json-decode/json-decode.pd and failed tried /Library/Pd/json-decode.d_fat and failed tried /Library/Pd/json-decode.pd_darwin and failed tried /Library/Pd/json-decode/json-decode.d_fat and failed tried /Library/Pd/json-decode/json-decode.pd_darwin and failed tried /Library/Pd/json-decode.pd and failed tried /Library/Pd/json-decode.pat and failed tried /Library/Pd/json-decode/json-decode.pd and failed tried ../extra/json-decode.d_fat and failed tried ../extra/json-decode.pd_darwin and failed tried ../extra/json-decode/json-decode.d_fat and failed tried ../extra/json-decode/json-decode.pd_darwin and failed tried ../extra/json-decode.pd and failed tried ../extra/json-decode.pat and failed tried ../extra/json-decode/json-decode.pd and failed tried ../doc/5.reference/json-decode.d_fat and failed tried ../doc/5.reference/json-decode.pd_darwin and failed tried ../doc/5.reference/json-decode/json-decode.d_fat and failed tried ../doc/5.reference/json-decode/json-decode.pd_darwin and failed tried ../doc/5.reference/json-decode.pd and failed tried ../doc/5.reference/json-decode.pat and failed tried ../doc/5.reference/json-decode/json-decode.pd and failed json-decode ... couldn't create [rest] part of PuREST JSON version 1.4.2 For more info see http://ix.residuum.org/pd/purest_json.html tried /Users/federicorizzi/Documents/MotuControl_PD/json-decode.d_fat and failed tried /Users/federicorizzi/Documents/MotuControl_PD/json-decode.pd_darwin and failed tried /Users/federicorizzi/Documents/MotuControl_PD/json-decode/json-decode.d_fat and failed tried /Users/federicorizzi/Documents/MotuControl_PD/json-decode/json-decode.pd_darwin and failed tried /Users/federicorizzi/Documents/MotuControl_PD/json-decode.pd and failed tried /Users/federicorizzi/Documents/MotuControl_PD/json-decode.pat and failed tried /Users/federicorizzi/Documents/MotuControl_PD/json-decode/json-decode.pd and failed tried /Users/federicorizzi/Documents/Pd/externals/json-decode.d_fat and failed tried /Users/federicorizzi/Documents/Pd/externals/json-decode.pd_darwin and succeeded tried /Users/federicorizzi/Documents/Pd/externals/json-decode.pd and failed tried /Users/federicorizzi/Documents/Pd/externals/json-decode.pat and failed tried /Users/federicorizzi/Documents/Pd/externals/json-decode/json-decode.pd and failed tried /Users/federicorizzi/Documents/MotuControl_PD/PuRestJson-master/json-decode.d_fat and failed tried /Users/federicorizzi/Documents/MotuControl_PD/PuRestJson-master/json-decode.pd_darwin and succeeded tried /Users/federicorizzi/Documents/MotuControl_PD/PuRestJson-master/json-decode.pd and failed tried /Users/federicorizzi/Documents/MotuControl_PD/PuRestJson-master/json-decode.pat and failed tried /Users/federicorizzi/Documents/MotuControl_PD/PuRestJson-master/json-decode/json-decode.pd and failed tried /Users/federicorizzi/Library/Pd/json-decode.d_fat and failed tried /Users/federicorizzi/Library/Pd/json-decode.pd_darwin and failed tried /Users/federicorizzi/Library/Pd/json-decode/json-decode.d_fat and failed tried /Users/federicorizzi/Library/Pd/json-decode/json-decode.pd_darwin and failed tried /Users/federicorizzi/Library/Pd/json-decode.pd and failed tried /Users/federicorizzi/Library/Pd/json-decode.pat and failed tried /Users/federicorizzi/Library/Pd/json-decode/json-decode.pd and failed tried /Library/Pd/json-decode.d_fat and failed tried /Library/Pd/json-decode.pd_darwin and failed tried /Library/Pd/json-decode/json-decode.d_fat and failed tried /Library/Pd/json-decode/json-decode.pd_darwin and failed tried /Library/Pd/json-decode.pd and failed tried /Library/Pd/json-decode.pat and failed tried /Library/Pd/json-decode/json-decode.pd and failed tried ../extra/json-decode.d_fat and failed tried ../extra/json-decode.pd_darwin and failed tried ../extra/json-decode/json-decode.d_fat and failed tried ../extra/json-decode/json-decode.pd_darwin and failed tried ../extra/json-decode.pd and failed tried ../extra/json-decode.pat and failed tried ../extra/json-decode/json-decode.pd and failed tried ../doc/5.reference/json-decode.d_fat and failed tried ../doc/5.reference/json-decode.pd_darwin and failed tried ../doc/5.reference/json-decode/json-decode.d_fat and failed tried ../doc/5.reference/json-decode/json-decode.pd_darwin and failed tried ../doc/5.reference/json-decode.pd and failed tried ../doc/5.reference/json-decode.pat and failed tried ../doc/5.reference/json-decode/json-decode.pd and failed json-decode ... couldn't create [rest] part of PuREST JSON version 1.4.2
and so on, repeating and repeating the same messages.
Actually, looking at the first lines, I can tell I have all the .pd_darwin files it says in the right folders, but I don't have any .d_fat file anywhere.
Maybe I did something wrong in building the library?
Thank you again!
This is a bit strange, because it clearly says tried /Users/federicorizzi/Documents/Pd/externals/json-decode.pd_darwin and succeeded
and tried /Users/federicorizzi/Documents/MotuControl_PD/PuRestJson-master/json-decode.pd_darwin and succeeded
twice.
I know but still this is how the objects appear
Let me know if there is any further information you would like to know.
Thank you very much.
Should be fixed with 2.0.0
Hi, I'have just installed last version of purest 2.0 on mac bigsur and pd 0.53.1, and I can't create Json-decode, rest and Json-encode. I have this error : purest_json/libcurl.4.dylib Reason: no suitable image found. Did find: file system relative paths not allowed in hardened programs Can you help me to fix this issue ?
Thanks
Have you tried version 2.0.1, this should include libcurl.4.dylib? See https://github.com/residuum/PuRestJson/issues/76
Could you give me an active link ? Thanks a lot in advance.
It is available from deken, either from Pd itself (Help > Find externals, then search for "purest_json"), or via https://deken.puredata.info/search?libraries=purest_json&objects=&descriptions=
I still have the problem : n: no suitable image found. Did find: file system relative paths not allowed in hardened programs json-decode ... couldn't create /Users/duquesnoyraphaelle/Documents/Pd/externals/purest_json/rest.pd_darwin: dlopen(/Users/duquesnoyraphaelle/Documents/Pd/externals/purest_json/rest.pd_darwin, 10): Library not loaded: @loader_path/libbrotlicommon.1.dylib Referenced from: /Users/duquesnoyraphaelle/Documents/Pd/externals/purest_json/libbrotlidec.1.dylib Reason: no suitable image found. Did find: file system relative paths not allowed in hardened programs rest ... couldn't create /Users/duquesnoyraphaelle/Documents/Pd/externals/purest_json/rest.pd_darwin: dlopen(/Users/duquesnoyraphaelle/Documents/Pd/externals/purest_json/rest.pd_darwin, 10): Library not loaded: @loader_path/libbrotlicommon.1.dylib Referenced from: /Users/duquesnoyraphaelle/Documents/Pd/externals/purest_json/libbrotlidec.1.dylib Reason: no suitable image found. Did find: file system relative paths not allowed in hardened programs rest ... couldn't create /Users/duquesnoyraphaelle/Documents/Pd/externals/purest_json/json-decode.pd_darwin: dlopen(/Users/duquesnoyraphaelle/Documents/Pd/externals/purest_json/json-decode.pd_darwin, 10): Library not loaded: @loader_path/libbrotlicommon.1.dylib Referenced from: /Users/duquesnoyraphaelle/Documents/Pd/externals/purest_json/libbrotlidec.1.dylib Reason: no suitable image found. Did find: file system relative paths not allowed in hardened programs json-decode ... couldn't create
Do I have made something bad ?
This is a security feature on Mac OS X, and there is some discussion on Pd mailing lists on how to work around this feature for packaged libraries, but for now you will have to do it yourself. I am unsure on how to do that: https://lists.puredata.info/pipermail/pd-dev/2022-05/023077.html https://lists.puredata.info/pipermail/pd-dev/2022-05/023073.html
Ok thanks anyway !
Hi everyone, I'm having this issue:
I built the library as explained in your instructions.
rest object works fine, but PD cannot create json-encode and json-decode objects.
I'm running pd 0.48-1 on macOS 10.13.4
Any hint?
Thank you