yes, Monterrey stops searching the local lib directory for the installation. That's a real pain.
CMake installs it in $HOME/Library/Frameworks
In previous versions of MacOS, this directory would be searched, not anymore.
Solutions:
1) set RPATH to add that directory when building (I think I did that but can't recall exactly), works for the csound command as it is built by cmake
2) Copy the framework from that directory to the /System/Library/Frameworks location
3) Using install_name_tool edit the RPATH in the programs using Csound like CsoundQT
If you search the list you will see several messages I sent describing this issue.
Prof. Victor Lazzarini
Maynooth University
Ireland
On 26 Oct 2022, at 20:35, Raoul MEGELAS <rmgls@orange.fr> wrote:
*Warning*
This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
Hello,
After cloning csound and cmake
The build is done correctly and installed too.
Running csound XXX.csd
I get this error:
dyld[3259]: Library not loaded: @rpath/CsoundLib64.framework/Versions/6.0/CsoundLib64
Referenced from: <E8FA76D4-DC00-3BEF-B5C0-71920AF73A1F> /usr/local/bin/csound
Reason: tried: '/System/Volumes/Preboot/Cryptexes/OS@rpath/CsoundLib64.framework/Versions/6.0/CsoundLib64' (no such file), '/Library/Frameworks/CsoundLib64.framework/Versions/6.0/CsoundLib64' (no such file), '/System/Library/Frameworks/CsoundLib64.framework/Versions/6.0/CsoundLib64' (no such file, not in dyld cache)
Effectively it is not installed in this directory.
Details:
I upgraded to osx 13, perhaps this is the failure reason?
If you need more details, I will send them.
Thanks in advance.
Raoul MEGELAS
Csound mailing list
Csound@listserv.heanet.ie
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=05%7C01%7CVictor.Lazzarini%40mu.ie%7Ca0586824d34f4fdb71fa08dab78940e0%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638024097393216975%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=1K7u5FDIpfg8VFp%2BjLDhqtNB8gWpeLor%2FBoZkYT5qmo%3D&reserved=0
Send bugs reports to
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=05%7C01%7CVictor.Lazzarini%40mu.ie%7Ca0586824d34f4fdb71fa08dab78940e0%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638024097393216975%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=ir3IkbzRbF4jlqg6kImgx8WMQf%2FLtmrUq1ZbN3DvBhM%3D&reserved=0
Discussions of bugs and features can be posted here
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here