Csound Csound-dev Csound-tekno Search About

Trouble with 6.07 install on mac 10.11 - importing csnd6

Date2016-09-05 22:04
FromBen McAllister
SubjectTrouble with 6.07 install on mac 10.11 - importing csnd6
Hi All,

Ran the 6.07 installer on mac El Cap, opened python 2.7 shell and typed 'import csnd6' and get the follow:

>>> import csnd6

Traceback (most recent call last):

  File "<stdin>", line 1, in <module>

  File "/Library/Python/2.7/site-packages/csnd6.py", line 26, in <module>

    _csnd6 = swig_import_helper()

  File "/Library/Python/2.7/site-packages/csnd6.py", line 22, in swig_import_helper

    _mod = imp.load_module('_csnd6', fp, pathname, description)

ImportError: dlopen(/Library/Python/2.7/site-packages/_csnd6.so, 2): Library not loaded: /Users/victor/src/csound6/installer/macosx/2016-05-16-203700/csound6/build/libcsnd6.6.0.dylib

  Referenced from: /Library/Python/2.7/site-packages/_csnd6.so

  Reason: image not found


Looks like Victor's hard-coded path turns up in _csnd6.so?

Thanks,
b

--
Ben McAllister | listenfaster.com |  @listenfaster | tuktuband.com 
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

Date2016-09-05 22:13
FromVictor Lazzarini
SubjectRe: Trouble with 6.07 install on mac 10.11 - importing csnd6
It does look like that. Not sure why. The missing file is in the CsoundLib64.framework, the installer places a link in /usr/local/lib, but maybe that bit did not work in the installation.

Strange that this is the first report since 6.07 has been out for a while now.

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 5 Sep 2016, at 22:04, Ben McAllister <benmca@GMAIL.COM> wrote:

Hi All,

Ran the 6.07 inst aller on mac El Cap, opened python 2.7 shell and typed 'import csnd6' and get the follow:

>>> import csnd6

Traceback (most recent call last):

  File "<stdin>", line 1, in <module>

  File "/Library/Python/2.7/site-packages/csnd6.py", line 26, in <module>

    _csnd6 = swig_import_helper()

  File "/Library/Python/2.7/site-packages/csnd6.py", line 22, in swig_import_helper

    _mod = imp.load_module('_csnd6', fp, pathname, description)

ImportError: dlopen(/Library/Python/2.7/site-packages/_csnd6.so, 2): Library not loaded: /Users/victor/src/csound6/installer/macosx/2016-05-16-203700/csound6/build/libcsnd6.6.0.dylib

  Referenced from: /Library/Python/2.7/site-packages/_csnd6.so

  Reason: image not found


Looks like Victor's hard-coded path turns up in _csnd6.so?

Thanks,
b

--
Ben McAllister | listenfaster.com |  @listenfaster | tuktuband.com 
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

Date2016-09-05 22:23
FromVictor Lazzarini
SubjectRe: Trouble with 6.07 install on mac 10.11 - importing csnd6
I found the wrong link in csnd6.so. Not sure how it was created.
========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 5 Sep 2016, at 22:13, Victor Lazzarini  wrote:
> 
> It does look like that. Not sure why. The missing file is in the CsoundLib64.framework, the installer places a link in /usr/local/lib, but maybe that bit did not work in the installation.
> 
> Strange that this is the first report since 6.07 has been out for a while now.
> 
> Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy
> Maynooth University
> Ireland
> 
> On 5 Sep 2016, at 22:04, Ben McAllister  wrote:
> 
>> Hi All,
>> 
>> Ran the 6.07 installer on mac El Cap, opened python 2.7 shell and typed 'import csnd6' and get the follow:
>> 
>> >>> import csnd6
>> 
>> Traceback (most recent call last):
>> 
>>   File "", line 1, in 
>> 
>>   File "/Library/Python/2.7/site-packages/csnd6.py", line 26, in 
>> 
>>     _csnd6 = swig_import_helper()
>> 
>>   File "/Library/Python/2.7/site-packages/csnd6.py", line 22, in swig_import_helper
>> 
>>     _mod = imp.load_module('_csnd6', fp, pathname, description)
>> 
>> ImportError: dlopen(/Library/Python/2.7/site-packages/_csnd6.so, 2): Library not loaded: /Users/victor/src/csound6/installer/macosx/2016-05-16-203700/csound6/build/libcsnd6.6.0.dylib
>> 
>>   Referenced from: /Library/Python/2.7/site-packages/_csnd6.so
>> 
>>   Reason: image not found
>> 
>> 
>> Looks like Victor's hard-coded path turns up in _csnd6.so?
>> 
>> Thanks,
>> b
>> 
>> -- 
>> Ben McAllister | listenfaster.com |  @listenfaster | tuktuband.com 
>> 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

Date2016-09-05 22:55
FromVictor Lazzarini
SubjectRe: Trouble with 6.07 install on mac 10.11 - importing csnd6
Attempting a fix.
========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 5 Sep 2016, at 22:23, Victor Lazzarini  wrote:
> 
> I found the wrong link in csnd6.so. Not sure how it was created.
> ========================
> Dr Victor Lazzarini
> Dean of Arts, Celtic Studies and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952 
> 
>> On 5 Sep 2016, at 22:13, Victor Lazzarini  wrote:
>> 
>> It does look like that. Not sure why. The missing file is in the CsoundLib64.framework, the installer places a link in /usr/local/lib, but maybe that bit did not work in the installation.
>> 
>> Strange that this is the first report since 6.07 has been out for a while now.
>> 
>> Victor Lazzarini
>> Dean of Arts, Celtic Studies, and Philosophy
>> Maynooth University
>> Ireland
>> 
>> On 5 Sep 2016, at 22:04, Ben McAllister  wrote:
>> 
>>> Hi All,
>>> 
>>> Ran the 6.07 installer on mac El Cap, opened python 2.7 shell and typed 'import csnd6' and get the follow:
>>> 
>>>>>> import csnd6
>>> 
>>> Traceback (most recent call last):
>>> 
>>>  File "", line 1, in 
>>> 
>>>  File "/Library/Python/2.7/site-packages/csnd6.py", line 26, in 
>>> 
>>>    _csnd6 = swig_import_helper()
>>> 
>>>  File "/Library/Python/2.7/site-packages/csnd6.py", line 22, in swig_import_helper
>>> 
>>>    _mod = imp.load_module('_csnd6', fp, pathname, description)
>>> 
>>> ImportError: dlopen(/Library/Python/2.7/site-packages/_csnd6.so, 2): Library not loaded: /Users/victor/src/csound6/installer/macosx/2016-05-16-203700/csound6/build/libcsnd6.6.0.dylib
>>> 
>>>  Referenced from: /Library/Python/2.7/site-packages/_csnd6.so
>>> 
>>>  Reason: image not found
>>> 
>>> 
>>> Looks like Victor's hard-coded path turns up in _csnd6.so?
>>> 
>>> Thanks,
>>> b
>>> 
>>> -- 
>>> Ben McAllister | listenfaster.com |  @listenfaster | tuktuband.com 
>>> 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

Date2016-09-06 00:39
FromVictor Lazzarini
SubjectRe: Trouble with 6.07 install on mac 10.11 - importing csnd6
I have updated the release with a new fixed package. 
========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 5 Sep 2016, at 22:55, Victor Lazzarini  wrote:
> 
> Attempting a fix.
> ========================
> Dr Victor Lazzarini
> Dean of Arts, Celtic Studies and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952 
> 
>> On 5 Sep 2016, at 22:23, Victor Lazzarini  wrote:
>> 
>> I found the wrong link in csnd6.so. Not sure how it was created.
>> ========================
>> Dr Victor Lazzarini
>> Dean of Arts, Celtic Studies and Philosophy,
>> Maynooth University,
>> Maynooth, Co Kildare, Ireland
>> Tel: 00 353 7086936
>> Fax: 00 353 1 7086952 
>> 
>>> On 5 Sep 2016, at 22:13, Victor Lazzarini  wrote:
>>> 
>>> It does look like that. Not sure why. The missing file is in the CsoundLib64.framework, the installer places a link in /usr/local/lib, but maybe that bit did not work in the installation.
>>> 
>>> Strange that this is the first report since 6.07 has been out for a while now.
>>> 
>>> Victor Lazzarini
>>> Dean of Arts, Celtic Studies, and Philosophy
>>> Maynooth University
>>> Ireland
>>> 
>>> On 5 Sep 2016, at 22:04, Ben McAllister  wrote:
>>> 
>>>> Hi All,
>>>> 
>>>> Ran the 6.07 installer on mac El Cap, opened python 2.7 shell and typed 'import csnd6' and get the follow:
>>>> 
>>>>>>> import csnd6
>>>> 
>>>> Traceback (most recent call last):
>>>> 
>>>> File "", line 1, in 
>>>> 
>>>> File "/Library/Python/2.7/site-packages/csnd6.py", line 26, in 
>>>> 
>>>>   _csnd6 = swig_import_helper()
>>>> 
>>>> File "/Library/Python/2.7/site-packages/csnd6.py", line 22, in swig_import_helper
>>>> 
>>>>   _mod = imp.load_module('_csnd6', fp, pathname, description)
>>>> 
>>>> ImportError: dlopen(/Library/Python/2.7/site-packages/_csnd6.so, 2): Library not loaded: /Users/victor/src/csound6/installer/macosx/2016-05-16-203700/csound6/build/libcsnd6.6.0.dylib
>>>> 
>>>> Referenced from: /Library/Python/2.7/site-packages/_csnd6.so
>>>> 
>>>> Reason: image not found
>>>> 
>>>> 
>>>> Looks like Victor's hard-coded path turns up in _csnd6.so?
>>>> 
>>>> Thanks,
>>>> b
>>>> 
>>>> -- 
>>>> Ben McAllister | listenfaster.com |  @listenfaster | tuktuband.com 
>>>> 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

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