Hello all,
As the subject says, I get an path error running csound
Just compiled from git.
Tool -L /usr/bin/csound gives:
p/usr/local/bin/csound:
@rpath/CsoundLib64.framework/Versions/6.0/CsoundLib64 (compatibility version 6.0.0, current version 0.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1319.0.0)
The frameworks in my library/frameworks is correctly installed.
Any hint would help.
Best.
Raoul
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
Issues · csound/csound · GitHub
Discussions of bugs and features can be posted here
yes, since Monterrey, Apple changed the search paths for Frameworks and it’s all a bit of a mess.
In my system, the Csound built with CMake is installed in ~/bin, so this is what I have (with Csound 7.0)
victor@firebird debug % otool -L ~/bin/csound
/Users/victor/bin/csound (architecture x86_64):
@rpath/CsoundLib64.framework/Versions/7.0/CsoundLib64 (compatibility version 7.0.0, current version 0.0.0)
Now this works correctly because the RPATH is set into the executable. With
victor@firebird debug % otool -l ~/bin/csound
….
Load command 18
cmd LC_RPATH
cmdsize 48
path /Users/victor/Library/Frameworks (offset 12)
This should be done by CMake when it builds Csound. But if there is no RPATH in the executable, you can add one
install_name_tool -add_rpath new <program>
Thanks Victor I will do it .