[Cs-dev] OSC
Date | 2005-05-01 16:46 |
From | jpff@codemist.co.uk |
Subject | [Cs-dev] OSC |
I would like to test the OSC sending opcode, but I have the same problem as Victor, but I am on 32bit Linux WARNING: 'libosc-sock.so' is not a Csound plugin library WARNING: could not open library 'libOSC.so' WARNING: could not open library 'libosc.so' All three exist so something has changed significantly in the plugins. -rwxrwxr-x 1 jpff jpff 70143 May 1 16:33 libosc.so* -rwxrwxr-x 1 jpff jpff 69891 Apr 22 14:48 libOSC.so* -rwxrwxr-x 1 jpff jpff 90171 May 1 16:33 libosc-sock.so* and yes OPCODEDIR is set to the current directory (this still needs to be improved). What has changed? ==John ffitch ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2005-05-01 17:23 |
From | Istvan Varga |
Subject | Re: [Cs-dev] OSC |
jpff@codemist.co.uk wrote: > I would like to test the OSC sending opcode, but I have the same > problem as Victor, but I am on 32bit Linux > > WARNING: 'libosc-sock.so' is not a Csound plugin library > WARNING: could not open library 'libOSC.so' > WARNING: could not open library 'libosc.so' The message about libosc-sock is actually correct, because all sources for this file are commented out (due to errors), and it does not contain the interface functions. However, I cannot reproduce the other two warnings: ./csound examples/trapped.csd Electric Fence 2.2.0 Copyright (C) 1987-1999 Bruce Perens |
Date | 2005-05-01 18:09 |
From | jpff@codemist.co.uk |
Subject | Re: [Cs-dev] OSC |
More information.... (gdb) n 76 void *library = 0; (gdb) n 77 if ( (gdb) n 86 library = dlopen(libraryPath, RTLD_NOW | RTLD_GLOBAL ); (gdb) print libraryPath $29 = 0x812ca20 "/home/jpff/Sourceforge/csound5/libosc.so" (gdb) n 92 } (gdb) print library $30 = (void *) 0x0 (gdb) !ls -l /home/jpff/Sourceforge/csound5/libosc.so Undefined command: "". Try "help". (gdb) Suspended xenakis:~/Sourceforge/csound5> ls -l /home/jpff/Sourceforge/csound5/libosc.so -rwxrwxr-x 1 jpff jpff 70143 May 1 17:21 /home/jpff/Sourceforge/csound5/libosc.so* So dlopen fail to open it despite its existence. I think errno is 2 but that is not clear. This code is all new to me so I do not understand what it is doing. Are there magic options one needs to compile plugins? Other than clear from SConstruct? ==John ffitch ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2005-05-01 18:26 |
From | jpff@codemist.co.uk |
Subject | Re: [Cs-dev] OSC |
and more information.... The SConstruct says print "CONFIGURATION DECISION: Building OSC plugin." oscEnvironment = pluginEnvironment.Copy() oscEnvironment.Append(LIBS = ['lo']) pluginLibraries.append(oscEnvironment.SharedLibrary('osc', ['Opcodes/OSC.c'])) By restoring the error message in dl_opcides.c so when there is a failure one can tell what I see Error 'liblo.so.0: cannot open shared object file: No such file or directory' in dlopen(/home/jpff/Sourceforge/csound5/libosc.so). The library does exist in /usr/local/lib but clearly there is a problem with libraries in plugins. This seems the same structure as used in other plugins (pmidi, rtalsa, fluidOpcodes) ==John ffitch ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2005-05-01 18:46 |
From | Istvan Varga |
Subject | Re: [Cs-dev] OSC |
jpff@codemist.co.uk wrote: > The library does exist in /usr/local/lib but clearly there is a > problem with libraries in plugins. This seems the same structure as > used in other plugins (pmidi, rtalsa, fluidOpcodes) Is it possible that some other library on which liblo.so depends is not found ? Also, do the other (non-OSC) plugins load correctly ? On OS X the problem was different as all libraries failed. ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2005-05-01 19:06 |
From | jpff@codemist.co.uk |
Subject | Re: [Cs-dev] OSC |
I was suspecting something wrong with the installation of liblo First the links were not absolute, but now I have xenakis:~/Sourceforge/csound5> ls -l /usr/local/lib/liblo* -rwxr-xr-x 1 root root 779 Jan 25 07:52 /usr/local/lib/liblo.la* lrwxrwxrwx 1 root root 29 May 1 18:54 /usr/local/lib/liblo.so -> /usr/local/lib/liblo.so.0.4.0* lrwxrwxrwx 1 root root 29 May 1 18:55 /usr/local/lib/liblo.so.0 -> /usr/local/lib/liblo.so.0.4.0* -rwxr-xr-x 1 root root 125914 Nov 17 07:36 /usr/local/lib/liblo.so.0.2.0* -rwxr-xr-x 1 root root 154285 Jan 25 07:52 /usr/local/lib/liblo.so.0.4.0* The error message is still Error 'liblo.so.0: cannot open shared object file: No such file or directory' in dlopen(/home/jpff/Sourceforge/csound5/libosc.so). This whole area is confused in my mind; never likes dynamic libraries. OK so it may not be the same as Victor's problems. ==John ffitch ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2005-05-01 20:24 |
From | Istvan Varga |
Subject | Re: [Cs-dev] OSC |
jpff@codemist.co.uk wrote: > I was suspecting something wrong with the installation of liblo > First the links were not absolute, but now I have > xenakis:~/Sourceforge/csound5> ls -l /usr/local/lib/liblo* > -rwxr-xr-x 1 root root 779 Jan 25 07:52 /usr/local/lib/liblo.la* > lrwxrwxrwx 1 root root 29 May 1 18:54 /usr/local/lib/liblo.so -> /usr/local/lib/liblo.so.0.4.0* > lrwxrwxrwx 1 root root 29 May 1 18:55 /usr/local/lib/liblo.so.0 -> /usr/local/lib/liblo.so.0.4.0* > -rwxr-xr-x 1 root root 125914 Nov 17 07:36 /usr/local/lib/liblo.so.0.2.0* > -rwxr-xr-x 1 root root 154285 Jan 25 07:52 /usr/local/lib/liblo.so.0.4.0* Where do those * characters at the end of link targets come from ? I have links set up as follows: -rw-r--r-- 1 root root 32364 2004-10-02 03:36 /usr/lib/liblo.a -rwxr-xr-x 1 root root 781 2004-10-02 03:36 /usr/lib/liblo.la lrwxr-xr-x 1 root root 14 2005-02-28 14:02 /usr/lib/liblo.so -> liblo.so.0.1.1 lrwxr-xr-x 1 root root 14 2005-02-28 14:01 /usr/lib/liblo.so.0 -> liblo.so.0.1.1 -rwxr-xr-x 1 root root 31797 2004-10-02 03:36 /usr/lib/liblo.so.0.1.1 ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2005-05-01 20:56 |
From | John ffitch |
Subject | Re: [Cs-dev] OSC |
* means executable, not part of the name ==J ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |