[Csnd] Apparently missing libraries
| Date | 2022-06-20 13:32 |
| From | Marcelo Carneiro de Lima |
| Subject | [Csnd] Apparently missing libraries |
Hi, this is the information I get while trying to run csound 6.17 from mac OS high sierra terminal. Can anyone help me to solve this problem? Thank you. :~ marcelocarneiro$ csound /Users/marcelocarneiro/Dropbox/MacMini_Back/02_Composições_e_Projetos/Clarineta_follow/teste.csd WARNING: could not open library '/Library/Frameworks/CsoundLib64.framework/Versions/6.0/Resources/Opcodes64/libosc.dylib' (-1) UnifiedCSD: /Users/marcelocarneiro/Dropbox/MacMini_Back/02_Composições_e_Projetos/Clarineta_follow/teste.csd rtaudio: PortAudio module enabled ... using callback interface rtmidi: PortMIDI module enabled Elapsed time at end of orchestra compile: real: 0.002s, CPU: 0.002s sorting score ... ... done Elapsed time at end of score sort: real: 0.002s, CPU: 0.002s --Csound version 6.17 (double samples) Feb 2 2022 [commit: deff4f9aaeaf44f7db445c215f004bca8d50901f] libsndfile-1.0.31 graphics suppressed, ascii substituted sr = 44100.0, kr = 4410.000, ksmps = 10 0dBFS level = 32768.0, A4 tuning = 440.0 orch now loaded audio buffered in 1024 sample-frame blocks dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin Referenced from: /Library/Frameworks/CsoundLib64.framework/Versions/6.0/../../libs/libsndfile.1.dylib (which was built for Mac OS X 11.0) Expected in: /usr/lib/libSystem.B.dylib dyld: Symbol not found: ____chkstk_darwin Referenced from: /Library/Frameworks/CsoundLib64.framework/Versions/6.0/../../libs/libsndfile.1.dylib (which was built for Mac OS X 11.0) Expected in: /usr/lib/libSystem.B.dylib csound command: Abort trap inactive allocs returned to freespace end of score. overall amps: 0.0 overall samples out of range: 0 0 errors in performance Elapsed time at end of performance: real: 0.293s, CPU: 0.004s Marcelo Carneiro (21) 9382-3621 (21) 3497-0193 |
| Date | 2022-06-20 14:26 |
| From | Fabio De Sanctis De Benedictis |
| Subject | Re: [Csnd] Apparently missing libraries |
Hi,
I have got the same error on my classroom computer, same OsX version. I
am quoting by memory because I am at home, so I can't access my
classroom computer, I hope I am exact. I apologize in advance for long
instructions.
The problem in my case was detected trying to synthesize audio files
inside OpenMusic patches using OMChroma library (that uses Csound for
rendering the audio file).
Here a thread of the IrcamForum discussion related to it, solution
comprised:
https://discussion.forum.ircam.fr/t/unable-to-synthesize-om-6-20-macos-10-13-6-chroma-5-2/31919/15
The cause is the library inside
/Library/Frameworks/CsoundLib64.framework/libs/libsndfile.1.dylib
To access the file you must make a double clic on CsoundLib64.framework
inside /Library/Frameworks, and open libs folder to arrive to
libsndfile.1.dylib.
In my case the solution consisted into compiling libsndfile library by
macports or homebrew, as you like (please, take note of the location of
the compiled library, as it figures in terminal output after/during
compilation), going into /usr/local/lib, copying the compiled
macports/homebrew library, and
substituting /Library/Frameworks/CsoundLib64.framework/libs/libsndfile.
1.dylib with the compiled version (rename it if necessary). Attention,
please, before all backup or rename your
original /Library/Frameworks/CsoundLib64.framework/libs/libsndfile.1.dy
lib (I renamed it into libsndfile.1.dylib_OLD).
I hope it is all clear. if it does not resolve, you can ripristinate
original state trashing the copied new library and restoring original
one inside the folder /Library/Frameworks/CsoundLib64.framework/libs.
In practice compiling the library for your system by macports/homebrew
you have a running version of that library. Copying it in attended
Csound location you should eliminate every type of conflict.
Ciao
fdsdb
Il giorno lun, 20/06/2022 alle 09.32 -0300, Marcelo Carneiro de Lima ha
scritto:
> Hi, this is the information I get while trying to run csound 6.17
> from mac OS high sierra terminal. Can anyone help me to solve this
> problem?
> Thank you.
> :~ marcelocarneiro$ csound
> /Users/marcelocarneiro/Dropbox/MacMini_Back/02_Composições_e_Projetos
> /Clarineta_follow/teste.csd
> WARNING: could not open library
> '/Library/Frameworks/CsoundLib64.framework/Versions/6.0/Resources/Opc
> odes64/libosc.dylib' (-1)
> UnifiedCSD:
> /Users/marcelocarneiro/Dropbox/MacMini_Back/02_Composições_e_Projetos
> /Clarineta_follow/teste.csd
> rtaudio: PortAudio module enabled ...
> using callback interface
> rtmidi: PortMIDI module enabled
> Elapsed time at end of orchestra compile: real: 0.002s, CPU: 0.002s
> sorting score ...
> ... done
> Elapsed time at end of score sort: real: 0.002s, CPU: 0.002s
> --Csound version 6.17 (double samples) Feb 2 2022
> [commit: deff4f9aaeaf44f7db445c215f004bca8d50901f]
> libsndfile-1.0.31
> graphics suppressed, ascii substituted
> sr = 44100.0, kr = 4410.000, ksmps = 10
> 0dBFS level = 32768.0, A4 tuning = 440.0
> orch now loaded
> audio buffered in 1024 sample-frame blocks
> dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin
> Referenced from:
> /Library/Frameworks/CsoundLib64.framework/Versions/6.0/../../libs/lib
> sndfile.1.dylib (which was built for Mac OS X 11.0)
> Expected in: /usr/lib/libSystem.B.dylib
>
> dyld: Symbol not found: ____chkstk_darwin
> Referenced from:
> /Library/Frameworks/CsoundLib64.framework/Versions/6.0/../../libs/lib
> sndfile.1.dylib (which was built for Mac OS X 11.0)
> Expected in: /usr/lib/libSystem.B.dylib
>
>
> csound command: Abort trap
> inactive allocs returned to freespace
> end of score. overall amps: 0.0
> overall samples out of range: 0
> 0 errors in performance
> Elapsed time at end of performance: real: 0.293s, CPU: 0.004s
>
> Marcelo Carneiro
> (21) 9382-3621
> (21) 3497-0193
> Skype: Carneiro3729
> http://marceloarcos2.wixsite.com/marcelocarneiro
> 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
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 |
| Date | 2022-06-20 15:27 |
| From | Victor Lazzarini |
| Subject | Re: [Csnd] [EXTERNAL] [Csnd] Apparently missing libraries |
|
What version of Mac OSX?
This libsndfile was built for OS X 11, so it is probably not going to work on earlier systems.
A solution may be to install Csound 6.16, copy the folder /Library/Framreworks/CsoundLib64.framework/libs
to the desktop, then install 6.17 and replace the files as you need from the libs folder you have copied.
You might need to replace more than one file (I am not sure), staring with libsndfile.1.dylib.
|
| Date | 2022-06-20 17:27 |
| From | Marcelo Carneiro de Lima |
| Subject | Re: [Csnd] Apparently missing libraries |
Thank you Fabio. I don't know where to find the source code for that library to use it to be compiled. Should I download it with homebrew itself? Thanks Marcelo Em seg., 20 de jun. de 2022 10:26, Fabio De Sanctis De Benedictis <fabio.desanctis@fdsdb.it> escreveu: Hi, |
| Date | 2022-06-20 19:32 |
| From | Fabio De Sanctis De Benedictis |
| Subject | Re: [Csnd] Apparently missing libraries |
Hi Marcelo,
For compiling and installing the library you must install one of these
two software (only one, not both, I suppose):
https://www.macports.org/
https://brew.sh/
They are software for compiling and installing in OsX Linux software.
They are used by command line instructions, in OsX Terminal.
I use macport, in my classroom computer I have installed the library
using macport. I suppose it is a similar work in homebrew.
Or in alternative you can test the solution proposed by Victor
Lazzarini, perhaps simpler and faster.
Ciao
Fabio
Il giorno lun, 20/06/2022 alle 13.27 -0300, Marcelo Carneiro de Lima ha
scritto:
> Thank you Fabio. I don't know where to find the source code for that
> library to use it to be compiled. Should I download it with homebrew
> itself?
> Thanks
> Marcelo
>
> Em seg., 20 de jun. de 2022 10:26, Fabio De Sanctis De Benedictis <
> fabio.desanctis@fdsdb.it> escreveu:
> > Hi,
> >
> > I have got the same error on my classroom computer, same OsX
> > version. I
> > am quoting by memory because I am at home, so I can't access my
> > classroom computer, I hope I am exact. I apologize in advance for
> > long
> > instructions.
> >
> > The problem in my case was detected trying to synthesize audio
> > files
> > inside OpenMusic patches using OMChroma library (that uses Csound
> > for
> > rendering the audio file).
> >
> > Here a thread of the IrcamForum discussion related to it, solution
> > comprised:
> >
> > https://discussion.forum.ircam.fr/t/unable-to-synthesize-om-6-20-macos-10-13-6-chroma-5-2/31919/15
> >
> > The cause is the library inside
> > /Library/Frameworks/CsoundLib64.framework/libs/libsndfile.1.dylib
> >
> > To access the file you must make a double clic on
> > CsoundLib64.framework
> > inside /Library/Frameworks, and open libs folder to arrive to
> > libsndfile.1.dylib.
> >
> > In my case the solution consisted into compiling libsndfile library
> > by
> > macports or homebrew, as you like (please, take note of the
> > location of
> > the compiled library, as it figures in terminal output after/during
> > compilation), going into /usr/local/lib, copying the compiled
> > macports/homebrew library, and
> > substituting
> > /Library/Frameworks/CsoundLib64.framework/libs/libsndfile.
> > 1.dylib with the compiled version (rename it if necessary).
> > Attention,
> > please, before all backup or rename your
> > original
> > /Library/Frameworks/CsoundLib64.framework/libs/libsndfile.1.dy
> > lib (I renamed it into libsndfile.1.dylib_OLD).
> >
> > I hope it is all clear. if it does not resolve, you can
> > ripristinate
> > original state trashing the copied new library and restoring
> > original
> > one inside the folder
> > /Library/Frameworks/CsoundLib64.framework/libs.
> >
> > In practice compiling the library for your system by
> > macports/homebrew
> > you have a running version of that library. Copying it in attended
> > Csound location you should eliminate every type of conflict.
> >
> > Ciao
> >
> >
> > fdsdb
> >
> >
> > Il giorno lun, 20/06/2022 alle 09.32 -0300, Marcelo Carneiro de
> > Lima ha
> > scritto:
> > > Hi, this is the information I get while trying to run csound 6.17
> > > from mac OS high sierra terminal. Can anyone help me to solve
> > this
> > > problem?
> > > Thank you.
> > > :~ marcelocarneiro$ csound
> > >
> > /Users/marcelocarneiro/Dropbox/MacMini_Back/02_Composições_e_Projet
> > os
> > > /Clarineta_follow/teste.csd
> > > WARNING: could not open library
> > >
> > '/Library/Frameworks/CsoundLib64.framework/Versions/6.0/Resources/O
> > pc
> > > odes64/libosc.dylib' (-1)
> > > UnifiedCSD:
> > >
> > /Users/marcelocarneiro/Dropbox/MacMini_Back/02_Composições_e_Projet
> > os
> > > /Clarineta_follow/teste.csd
> > > rtaudio: PortAudio module enabled ...
> > > using callback interface
> > > rtmidi: PortMIDI module enabled
> > > Elapsed time at end of orchestra compile: real: 0.002s, CPU:
> > 0.002s
> > > sorting score ...
> > > ... done
> > > Elapsed time at end of score sort: real: 0.002s, CPU: 0.002s
> > > --Csound version 6.17 (double samples) Feb 2 2022
> > > [commit: deff4f9aaeaf44f7db445c215f004bca8d50901f]
> > > libsndfile-1.0.31
> > > graphics suppressed, ascii substituted
> > > sr = 44100.0, kr = 4410.000, ksmps = 10
> > > 0dBFS level = 32768.0, A4 tuning = 440.0
> > > orch now loaded
> > > audio buffered in 1024 sample-frame blocks
> > > dyld: lazy symbol binding failed: Symbol not found:
> > ____chkstk_darwin
> > > Referenced from:
> > >
> > /Library/Frameworks/CsoundLib64.framework/Versions/6.0/../../libs/l
> > ib
> > > sndfile.1.dylib (which was built for Mac OS X 11.0)
> > > Expected in: /usr/lib/libSystem.B.dylib
> > >
> > > dyld: Symbol not found: ____chkstk_darwin
> > > Referenced from:
> > >
> > /Library/Frameworks/CsoundLib64.framework/Versions/6.0/../../libs/l
> > ib
> > > sndfile.1.dylib (which was built for Mac OS X 11.0)
> > > Expected in: /usr/lib/libSystem.B.dylib
> > >
> > >
> > > csound command: Abort trap
> > > inactive allocs returned to freespace
> > > end of score. overall amps: 0.0
> > > overall samples out of range: 0
> > > 0 errors in performance
> > > Elapsed time at end of performance: real: 0.293s, CPU: 0.004s
> > >
> > > Marcelo Carneiro
> > > (21) 9382-3621
> > > (21) 3497-0193
> > > Skype: Carneiro3729
> > > http://marceloarcos2.wixsite.com/marcelocarneiro
> > > 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
> >
> > 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
>
> 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
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 |