Csound Csound-dev Csound-tekno Search About

[Cs-dev] rtaudio path?

Date2010-06-16 19:00
FromOlivier Bélanger
Subject[Cs-dev] rtaudio path?
AttachmentsNone  None  
Hi,

Is there a way to tell the Python API to look in another directory for rtaudio .dylib? When building a Python app, libportaudio, libportmidi, libsndfile, etc., are located inside the bundle and I want to use them instead of those in /usr/local/lib (on OS X).

Thanks

Olivier

Date2010-06-17 10:35
FromVictor Lazzarini
SubjectRe: [Cs-dev] rtaudio path?
Do you mean portaudio.dylib etc? Try using install_name_tool to change  
the name of the installed libraries. Then you will need to change the  
links in librtpa.dylib, which you can do with install_name_tool as well.

Victor
On 16 Jun 2010, at 19:00, Olivier Bélanger wrote:

> Hi,
>
> Is there a way to tell the Python API to look in another directory  
> for rtaudio .dylib? When building a Python app, libportaudio,  
> libportmidi, libsndfile, etc., are located inside the bundle and I  
> want to use them instead of those in /usr/local/lib (on OS X).
>
> Thanks
>
> Olivier
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit.  See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo_______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-06-17 10:36
FromVictor Lazzarini
SubjectRe: [Cs-dev] rtaudio path?
I am assuming you were asking about OSX. Linux uses ldconfig etc

Victor
On 16 Jun 2010, at 19:00, Olivier Bélanger wrote:

> Hi,
>
> Is there a way to tell the Python API to look in another directory  
> for rtaudio .dylib? When building a Python app, libportaudio,  
> libportmidi, libsndfile, etc., are located inside the bundle and I  
> want to use them instead of those in /usr/local/lib (on OS X).
>
> Thanks
>
> Olivier
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit.  See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo_______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-06-17 13:28
FromOlivier Bélanger
SubjectRe: [Cs-dev] rtaudio path?
AttachmentsNone  None  
Thanks, I'll try it.

Olivier


2010/6/17 Victor Lazzarini <Victor.Lazzarini@nuim.ie>
Do you mean portaudio.dylib etc? Try using install_name_tool to change
the name of the installed libraries. Then you will need to change the
links in librtpa.dylib, which you can do with install_name_tool as well.

Victor
On 16 Jun 2010, at 19:00, Olivier Bélanger wrote:

> Hi,
>
> Is there a way to tell the Python API to look in another directory
> for rtaudio .dylib? When building a Python app, libportaudio,
> libportmidi, libsndfile, etc., are located inside the bundle and I
> want to use them instead of those in /usr/local/lib (on OS X).
>
> Thanks
>
> Olivier
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit.  See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo_______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit.  See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


Date2010-06-17 14:14
FromFelipe Sateler
SubjectRe: [Cs-dev] rtaudio path?
As long as the libraries have the same name, in linux you can use the
LD_LIBRARY_PATH environment variable. I suppose OSX has support for
that variable (or equivalent).

2010/6/17 Olivier Bélanger :
> Thanks, I'll try it.
>
> Olivier
>
>
> 2010/6/17 Victor Lazzarini 
>>
>> Do you mean portaudio.dylib etc? Try using install_name_tool to change
>> the name of the installed libraries. Then you will need to change the
>> links in librtpa.dylib, which you can do with install_name_tool as well.
>>
>> Victor
>> On 16 Jun 2010, at 19:00, Olivier Bélanger wrote:
>>
>> > Hi,
>> >
>> > Is there a way to tell the Python API to look in another directory
>> > for rtaudio .dylib? When building a Python app, libportaudio,
>> > libportmidi, libsndfile, etc., are located inside the bundle and I
>> > want to use them instead of those in /usr/local/lib (on OS X).
>> >
>> > Thanks
>> >
>> > Olivier
>> >
>> > ------------------------------------------------------------------------------
>> > ThinkGeek and WIRED's GeekDad team up for the Ultimate
>> > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
>> > lucky parental unit.  See the prize list and enter to win:
>> >
>> > http://p.sf.net/sfu/thinkgeek-promo_______________________________________________
>> > Csound-devel mailing list
>> > Csound-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>>
>> ------------------------------------------------------------------------------
>> ThinkGeek and WIRED's GeekDad team up for the Ultimate
>> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
>> lucky parental unit.  See the prize list and enter to win:
>> http://p.sf.net/sfu/thinkgeek-promo
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit.  See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>



-- 

Saludos,
Felipe Sateler

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel