hi there, im having troubles getting pd to locate externals on a buildroot image i did, ive added pd to the image via buildroot and it works fine and installed in /usr/lib/pd however adding externals to the /extra directory does not work and setting -path when starting from the commandline does not work either, could anyone maybe point me to what im doing wrong?
thanks
On 20.11.19 15:34, iftah gabbai wrote:
hi there, im having troubles getting pd to locate externals on a buildroot image i did, ive added pd to the image via buildroot and it works fine and installed in /usr/lib/pd however adding externals to the /extra directory does not work and setting -path when starting from the commandline does not work either, could anyone maybe point me to what im doing wrong?
you might start by mentioning the errors you get, and what you did exactly to trigger them.
it's also unclear to me *when* you are trying to add things to /extra (assuming this is /usr/lib/pd/extra): when you create your image or when you run your image.
fgmasdr IOhannes
hi there, here is an example error: "svf~ error: ... couldn't create verbose(4): ... you might be able to track this down from the find menu /usr/bin/pd: ´/usr/lib/pd/extra/cyclone/svf~.pd_linux is not an ELF file error: /usr/lib/pd/extra/cyclone/svf~.pd_linux: File not found
im adding things to /extra when i run my image (after its already created)
thanks!
On Wed, Nov 20, 2019 at 3:45 PM IOhannes m zmoelnig zmoelnig@iem.at wrote:
On 20.11.19 15:34, iftah gabbai wrote:
hi there, im having troubles getting pd to locate externals on a
buildroot
image i did, ive added pd to the image via buildroot and it works fine and installed
in
/usr/lib/pd however adding externals to the /extra directory does not work and
setting
-path when starting from the commandline does not work either, could anyone maybe point me to what im doing wrong?
you might start by mentioning the errors you get, and what you did exactly to trigger them.
it's also unclear to me *when* you are trying to add things to /extra (assuming this is /usr/lib/pd/extra): when you create your image or when you run your image.
fgmasdr IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
On 20.11.19 15:58, iftah gabbai wrote:
/usr/bin/pd: ´/usr/lib/pd/extra/cyclone/svf~.pd_linux is not an ELF file
*that* seems to be the issue you are having.
what is this "/usr/lib/pd/extra/cyclone/svf~.pd_linux" file, if it is
not an ELF file?
hint: start with running file /usr/lib/pd/extra/cyclone/svf~.pd_linux
where did you get that file from? what is the architecture of your target system? (where you are running Pd).
fgsdmr IOhannes
im running it on a rpi3(32bit) kernel v4.19, i got the file from the cyclone git, its version 0.3 for pd 0.49 which im also running, the same file worked fine on raspbian buster lite, im not on my computer now but ill check the file method later, thanks again!
On Wed 20. Nov 2019 at 16:14, IOhannes m zmoelnig zmoelnig@iem.at wrote:
On 20.11.19 15:58, iftah gabbai wrote:
/usr/bin/pd: ´/usr/lib/pd/extra/cyclone/svf~.pd_linux is not an ELF file
*that* seems to be the issue you are having. what is this "/usr/lib/pd/extra/cyclone/svf~.pd_linux" file, if it is not an ELF file? hint: start with running
file /usr/lib/pd/extra/cyclone/svf~.pd_linux
where did you get that file from? what is the architecture of your target system? (where you are running Pd).
fgsdmr IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
unfortunatly i dont have the "file" command on this image, however, if i open a help file (eg pd -nogui /usr/lib/pd/extra/cyclone/svf~-help.pd) i dont get any errors which to my understanding means that the object is loading and compiled correctly?
On Wed, Nov 20, 2019 at 4:18 PM iftah gabbai ift.gab@gmail.com wrote:
im running it on a rpi3(32bit) kernel v4.19, i got the file from the cyclone git, its version 0.3 for pd 0.49 which im also running, the same file worked fine on raspbian buster lite, im not on my computer now but ill check the file method later, thanks again!
On Wed 20. Nov 2019 at 16:14, IOhannes m zmoelnig zmoelnig@iem.at wrote:
On 20.11.19 15:58, iftah gabbai wrote:
/usr/bin/pd: ´/usr/lib/pd/extra/cyclone/svf~.pd_linux is not an ELF file
*that* seems to be the issue you are having. what is this "/usr/lib/pd/extra/cyclone/svf~.pd_linux" file, if it is not an ELF file? hint: start with running
file /usr/lib/pd/extra/cyclone/svf~.pd_linux
where did you get that file from? what is the architecture of your target system? (where you are running Pd).
fgsdmr IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
On 21.11.19 10:59, iftah gabbai wrote:
unfortunatly i dont have the "file" command on this image,
you could always just copy the file to a "real" machine and run file
there.
however, if i open a help file (eg pd -nogui /usr/lib/pd/extra/cyclone/svf~-help.pd) i dont get any errors which to my understanding means that the object is loading and compiled correctly?
if it works, then yes.
which means that your problem is somewhere else, as in:
/usr/bin/pd: ´/usr/lib/pd/extra/cyclone/svf~.pd_linux is not an ELF file
what's this flyspeck between "pd: " and "/usr/lib/"? are you by chance misquoting something? or creating shell-scripts with MS-Word or similar? (those "high-level editors" have a tendency to replace simple quotes with localised versions, which of course will break any decent programming/scripting/... language)
so i really like to re-iterate my initial request:
you might start by mentioning [...] what you did exactly to trigger them [errors]
fgamsdr IOhannes
hey IOhannes, thanks again for replying, if by flyspeck you mean " ` " its formatting errors that are there because i had no easy way of exporting the print out of pd to a "real" machine aka where i write my mails from so i just manually typed it, however all the scripting etc is done with nano inside the machine so i dont think its about that, what triggers the error is me doing: pd -nogui (various alsa tags to get sound going) -path /usr/lib/pd/extra/cyclone /etc/mydir/mypatch.pd & interestingly, pd is also not able to locate pd~ with the following error: "pd~: can´t stat /usr/lib/pd/pd" , however, if i run the help file of pd~ (with full path as in /usr/lib/pd/extra/pd~/pd~-help.pd) it loads fine and i get the "pd~ version 0.3" printout
On Thu, Nov 21, 2019 at 11:37 AM IOhannes m zmoelnig zmoelnig@iem.at wrote:
On 21.11.19 10:59, iftah gabbai wrote:
unfortunatly i dont have the "file" command on this image,
you could always just copy the file to a "real" machine and run
file
there.however, if i open a help file (eg pd -nogui /usr/lib/pd/extra/cyclone/svf~-help.pd) i dont get any errors which to
my
understanding means that the object is loading and compiled correctly?
if it works, then yes.
which means that your problem is somewhere else, as in:
/usr/bin/pd: ´/usr/lib/pd/extra/cyclone/svf~.pd_linux is not an ELF file
what's this flyspeck between "pd: " and "/usr/lib/"? are you by chance misquoting something? or creating shell-scripts with MS-Word or similar? (those "high-level editors" have a tendency to replace simple quotes with localised versions, which of course will break any decent programming/scripting/... language)
so i really like to re-iterate my initial request:
you might start by mentioning [...] what you did exactly to trigger them [errors]
fgamsdr IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
also worth mentioning, not sure what happend but i dont get the ELF error anymore, instead im getting : "svf~ error: ... couldn't create error: load_object: symbol "svf_tilde_setup" not found"
On Thu, Nov 21, 2019 at 12:05 PM iftah gabbai ift.gab@gmail.com wrote:
hey IOhannes, thanks again for replying, if by flyspeck you mean " ` " its formatting errors that are there because i had no easy way of exporting the print out of pd to a "real" machine aka where i write my mails from so i just manually typed it, however all the scripting etc is done with nano inside the machine so i dont think its about that, what triggers the error is me doing: pd -nogui (various alsa tags to get sound going) -path /usr/lib/pd/extra/cyclone /etc/mydir/mypatch.pd & interestingly, pd is also not able to locate pd~ with the following error: "pd~: can´t stat /usr/lib/pd/pd" , however, if i run the help file of pd~ (with full path as in /usr/lib/pd/extra/pd~/pd~-help.pd) it loads fine and i get the "pd~ version 0.3" printout
On Thu, Nov 21, 2019 at 11:37 AM IOhannes m zmoelnig zmoelnig@iem.at wrote:
On 21.11.19 10:59, iftah gabbai wrote:
unfortunatly i dont have the "file" command on this image,
you could always just copy the file to a "real" machine and run
file
there.however, if i open a help file (eg pd -nogui /usr/lib/pd/extra/cyclone/svf~-help.pd) i dont get any errors which to
my
understanding means that the object is loading and compiled correctly?
if it works, then yes.
which means that your problem is somewhere else, as in:
/usr/bin/pd: ´/usr/lib/pd/extra/cyclone/svf~.pd_linux is not an ELF file
what's this flyspeck between "pd: " and "/usr/lib/"? are you by chance misquoting something? or creating shell-scripts with MS-Word or similar? (those "high-level editors" have a tendency to replace simple quotes with localised versions, which of course will break any decent programming/scripting/... language)
so i really like to re-iterate my initial request:
you might start by mentioning [...] what you did exactly to trigger them [errors]
fgamsdr IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
On 21.11.19 12:05, iftah gabbai wrote:
if by flyspeck you mean " ` " its formatting errors that are there because i had no easy way of exporting the print out of pd to a "real" machine
that should be easy enough: $ pd -stderr .... 2>pd.log copy the "pd.log" to your "real" machine. tada.
or, if running with a GUI, you could also just go the the Pd-console window and hit <Ctrl>+<Shift>+<S> (aka "Save as...") to save the contents of the Pd-console as a txt-file.
On 21.11.19 12:05, iftah gabbai wrote:
is me doing: pd -nogui (various alsa tags to get sound going) -path /usr/lib/pd/extra/cyclone /etc/mydir/mypatch.pd &
for what it is worth, you should switch to using [declare -path cyclone] in your patch anyhow.
also worth mentioning, not sure what happend but i dont get the ELF error anymore, instead im getting : "svf~ error: ... couldn't create error: load_object: symbol "svf_tilde_setup" not found"
my bet is a filesystem corruption. e.g. the "svf~.pd_linux" is not resolved correctly, and points to this or that data chunk. if the datachunk happens to be an ELF-object (but not the real binary for [svf~]), then you would get the "svf_tilde_setup" not found error. if the datachunk is not an ELF object (e.g. a wav-file), then you would get something like the former error.
interestingly, pd is also not able to locate pd~ with the following error: "pd~: can´t stat /usr/lib/pd/pd",
this looks a bit like a broken Pd-installation. iirc, the "pd" binary should be both in /usr/bin/pd (so you can start it with "pd") and /usr/lib/pd/bin/pd (so pd~ can find it).
but of course, if your filesystem is corrupt, all kind of weird things can happen.
fgadmst IOhannes
hi IOhannes, thanks again, this makes alot of sense, ill investigate (including doing a new build on a fresh sd card and not overclock it this time)
On Thu 21. Nov 2019 at 14:18, IOhannes m zmoelnig zmoelnig@iem.at wrote:
On 21.11.19 12:05, iftah gabbai wrote:
if by flyspeck you mean " ` " its formatting errors that are there because i had no easy way of exporting the print out of pd to a "real" machine
that should be easy enough: $ pd -stderr .... 2>pd.log copy the "pd.log" to your "real" machine. tada.
or, if running with a GUI, you could also just go the the Pd-console window and hit <Ctrl>+<Shift>+<S> (aka "Save as...") to save the contents of the Pd-console as a txt-file.
On 21.11.19 12:05, iftah gabbai wrote:
is me doing: pd -nogui (various alsa tags to get sound going) -path /usr/lib/pd/extra/cyclone /etc/mydir/mypatch.pd &
for what it is worth, you should switch to using [declare -path cyclone] in your patch anyhow.
also worth mentioning, not sure what happend but i dont get the ELF error anymore, instead im getting : "svf~ error: ... couldn't create error: load_object: symbol "svf_tilde_setup" not found"
my bet is a filesystem corruption. e.g. the "svf~.pd_linux" is not resolved correctly, and points to this or that data chunk. if the datachunk happens to be an ELF-object (but not the real binary for [svf~]), then you would get the "svf_tilde_setup" not found error. if the datachunk is not an ELF object (e.g. a wav-file), then you would get something like the former error.
interestingly, pd is also not able to locate pd~ with the following
error:
"pd~: can´t stat /usr/lib/pd/pd",
this looks a bit like a broken Pd-installation. iirc, the "pd" binary should be both in /usr/bin/pd (so you can start it with "pd") and /usr/lib/pd/bin/pd (so pd~ can find it).
but of course, if your filesystem is corrupt, all kind of weird things can happen.
fgadmst IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
just another question if i may: im trying to determine if pd installed properly, if you dont mind, could you tell me what are all the dir / locations pd should be present in in a linux install? or point me somewhere online where i can read it?
thanks!
On Thu 21. Nov 2019 at 14:39, iftah gabbai ift.gab@gmail.com wrote:
hi IOhannes, thanks again, this makes alot of sense, ill investigate (including doing a new build on a fresh sd card and not overclock it this time)
On Thu 21. Nov 2019 at 14:18, IOhannes m zmoelnig zmoelnig@iem.at wrote:
On 21.11.19 12:05, iftah gabbai wrote:
if by flyspeck you mean " ` " its formatting errors that are there because i had no easy way of exporting the print out of pd to a "real" machine
that should be easy enough: $ pd -stderr .... 2>pd.log copy the "pd.log" to your "real" machine. tada.
or, if running with a GUI, you could also just go the the Pd-console window and hit <Ctrl>+<Shift>+<S> (aka "Save as...") to save the contents of the Pd-console as a txt-file.
On 21.11.19 12:05, iftah gabbai wrote:
is me doing: pd -nogui (various alsa tags to get sound going) -path /usr/lib/pd/extra/cyclone /etc/mydir/mypatch.pd &
for what it is worth, you should switch to using [declare -path cyclone] in your patch anyhow.
also worth mentioning, not sure what happend but i dont get the ELF error anymore, instead im getting : "svf~ error: ... couldn't create error: load_object: symbol "svf_tilde_setup" not found"
my bet is a filesystem corruption. e.g. the "svf~.pd_linux" is not resolved correctly, and points to this or that data chunk. if the datachunk happens to be an ELF-object (but not the real binary for [svf~]), then you would get the "svf_tilde_setup" not found error. if the datachunk is not an ELF object (e.g. a wav-file), then you would get something like the former error.
interestingly, pd is also not able to locate pd~ with the following
error:
"pd~: can´t stat /usr/lib/pd/pd",
this looks a bit like a broken Pd-installation. iirc, the "pd" binary should be both in /usr/bin/pd (so you can start it with "pd") and /usr/lib/pd/bin/pd (so pd~ can find it).
but of course, if your filesystem is corrupt, all kind of weird things can happen.
fgadmst IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
On 21.11.19 16:25, iftah gabbai wrote:
just another question if i may: im trying to determine if pd installed properly, if you dont mind, could you tell me what are all the dir / locations pd should be present in in a linux install? or point me somewhere online where i can read it?
"make install" (for the autotools build system) should install correctly.
fgmasdr IOhannes
following up on this for the sake of documentation cause im sure someone will make the same mistake i did: the raspberrypi defconfig of buildroot uses the uclibc toolchain per default, once i set to glibc and rebuild everything works like charm, including the cyclone stuff
On Thu, Nov 21, 2019 at 4:32 PM IOhannes m zmoelnig zmoelnig@iem.at wrote:
On 21.11.19 16:25, iftah gabbai wrote:
just another question if i may: im trying to determine if pd installed properly, if you dont mind, could you tell me what are all the dir / locations pd should be present in in a linux install? or point me
somewhere
online where i can read it?
"make install" (for the autotools build system) should install correctly.
fgmasdr IOhannes