I've installed iemmatrix from deken, but when I put a [declare -lib iemmatrix] in Pd, I get the following error:
/home/alex/Documents/Pd/externals/iemmatrix/iemmatrix.pd_linux:libgsl.so.25: cannot open shared object file: No such file or directory
I'm on Debian 12, with Pd-0.54.1
Hi (gia sou?) Alexandros,
since you are on Debian, try installing the Debian package pd-iemmatrix instead, which pulls in libgsl27 as a dependency. I generally prefer installing pd externals via apt since they will be updated automatically, a feature that deken still seems to be missing. At least my question about Deken updates in https://lists.puredata.info/pipermail/pd-list//2024-01/132863.html remains unanswered as of today.
The downside of using apt instead of Deken is that it *might* take longer for updated externals to become available, but YMMV.
In fact, I keep a textfile on my disk to document which externals to install via apt and which via Deken.
Nevertheless the Deken packagers for iemmatrix might want to learn about this issue....
best, P
I've installed iemmatrix from deken, but when I put a [declare -lib iemmatrix] in Pd, I get the following error:
/home/alex/Documents/Pd/externals/iemmatrix/iemmatrix.pd_linux:libgsl.so.25: cannot open shared object file: No such file or directory
I'm on Debian 12, with Pd-0.54.1
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Thanks for the reply (gia sou is correct :D )
I did install it via apt-get, after I sent the first email, and it did work, by putting a [declare -lib emmatrix] (I first had to remove the iemmatrix directory from ~/Documents/Pd/externals though).
The funny thing is that I did install libgsl27 manually with apt-get, after I read the error I got in Pd, but it still didn't work with the Deken version.
On 1/17/24 23:41, Peter P. wrote:
Hi (gia sou?) Alexandros,
since you are on Debian, try installing the Debian package pd-iemmatrix instead, which pulls in libgsl27 as a dependency. I generally prefer installing pd externals via apt since they will be updated automatically, a feature that deken still seems to be missing. At least my question about Deken updates in https://lists.puredata.info/pipermail/pd-list//2024-01/132863.html remains unanswered as of today.
The downside of using apt instead of Deken is that it *might* take longer for updated externals to become available, but YMMV.
In fact, I keep a textfile on my disk to document which externals to install via apt and which via Deken.
Nevertheless the Deken packagers for iemmatrix might want to learn about this issue....
best, P
- Alexandros Drymonitis adrcki@gmail.com [2024-01-17 15:48]:
I've installed iemmatrix from deken, but when I put a [declare -lib iemmatrix] in Pd, I get the following error:
/home/alex/Documents/Pd/externals/iemmatrix/iemmatrix.pd_linux:libgsl.so.25: cannot open shared object file: No such file or directory
I'm on Debian 12, with Pd-0.54.1 _______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
On 1/18/24 07:46, Alexandros Drymonitis wrote:
The funny thing is that I did install libgsl27 manually with apt-get, after I read the error I got in Pd, but it still didn't work with the Deken version.
[...]
/home/alex/Documents/Pd/externals/iemmatrix/iemmatrix.pd_linux:libgsl.so.25: cannot open shared object file: No such file or directory
well, it seems that the iemmatrix from deken was linked against libgsl25, so installing libgsl27 doesn't really help to resolve this dependency.
gdmsf IOhannes
On 1/18/24 08:53, IOhannes m zmoelnig wrote:
On 1/18/24 07:46, Alexandros Drymonitis wrote:
The funny thing is that I did install libgsl27 manually with apt-get, after I read the error I got in Pd, but it still didn't work with the Deken version.
[...]
/home/alex/Documents/Pd/externals/iemmatrix/iemmatrix.pd_linux:libgsl.so.25:
cannot open shared object file: No such file or directory
well, it seems that the iemmatrix from deken was linked against libgsl25, so installing libgsl27 doesn't really help to resolve this dependency.
Yeah, makes sense. Does this mean that the deken version of iemmatrix needs to be updated?
On 1/18/24 08:56, Alexandros Drymonitis wrote:
On 1/18/24 08:53, IOhannes m zmoelnig wrote:
On 1/18/24 07:46, Alexandros Drymonitis wrote:
The funny thing is that I did install libgsl27 manually with apt-get, after I read the error I got in Pd, but it still didn't work with the Deken version.
[...]
/home/alex/Documents/Pd/externals/iemmatrix/iemmatrix.pd_linux:libgsl.so.25:
cannot open shared object file: No such file or directory
well, it seems that the iemmatrix from deken was linked against libgsl25, so installing libgsl27 doesn't really help to resolve this dependency.
Yeah, makes sense. Does this mean that the deken version of iemmatrix needs to be updated?
I'm writing this because my system could only detect libgsl27, and not libgsl25.
On 1/18/24 07:57, Alexandros Drymonitis wrote:
On 1/18/24 08:56, Alexandros Drymonitis wrote:
On 1/18/24 08:53, IOhannes m zmoelnig wrote:
On 1/18/24 07:46, Alexandros Drymonitis wrote:
The funny thing is that I did install libgsl27 manually with apt-get, after I read the error I got in Pd, but it still didn't work with the Deken version.
[...]
/home/alex/Documents/Pd/externals/iemmatrix/iemmatrix.pd_linux:libgsl.so.25: cannot open shared object file: No such file or directory
well, it seems that the iemmatrix from deken was linked against libgsl25, so installing libgsl27 doesn't really help to resolve this dependency.
Yeah, makes sense. Does this mean that the deken version of iemmatrix needs to be updated?
depends. if the target platform is Debian 12, then yes. if the target platform is Debian 11, then no.
i've opened https://git.iem.at/pd/iemmatrix/-/issues/7
I'm writing this because my system could only detect libgsl27, and not libgsl25.
sure, the world evolves. Debian does not ship all versions of GSL ever released (and that's a good thing)
g,mads IOhannes
Same issue here with 'iemmatrix' library (0.3.3 as of 2023/07/19 thru Deken) under Linux Mint 21.3 (Ubuntu 22.04-4 base) / Pd 0.54-1: "/home/joe/Pure-Data/externals/iemmatrix/iemmatrix.pd_linux:libgsl.so.25: cannot open shared object file: No such file or directory".
But 'libgsl25' is not available under my system (neither apt nor Synaptic), only 'libgsl27' (2.7.1+dfsg-3) is.
Le 18/01/2024 à 08:09, IOhannes m zmoelnig a écrit :
On 1/18/24 07:57, Alexandros Drymonitis wrote:
On 1/18/24 08:56, Alexandros Drymonitis wrote:
On 1/18/24 08:53, IOhannes m zmoelnig wrote:
On 1/18/24 07:46, Alexandros Drymonitis wrote:
The funny thing is that I did install libgsl27 manually with apt-get, after I read the error I got in Pd, but it still didn't work with the Deken version.
[...]
> /home/alex/Documents/Pd/externals/iemmatrix/iemmatrix.pd_linux:libgsl.so.25: > > cannot open shared object file: No such file or directory
well, it seems that the iemmatrix from deken was linked against libgsl25, so installing libgsl27 doesn't really help to resolve this dependency.
Yeah, makes sense. Does this mean that the deken version of iemmatrix needs to be updated?
depends. if the target platform is Debian 12, then yes. if the target platform is Debian 11, then no.
i've opened https://git.iem.at/pd/iemmatrix/-/issues/7
I'm writing this because my system could only detect libgsl27, and not libgsl25.
sure, the world evolves. Debian does not ship all versions of GSL ever released (and that's a good thing)
g,mads IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
On 1/18/24 12:25, Linux ROUEN Normandie wrote:
Same issue here with 'iemmatrix' library (0.3.3 as of 2023/07/19 thru Deken) under Linux Mint 21.3 (Ubuntu 22.04-4 base) / Pd 0.54-1: "/home/joe/Pure-Data/externals/iemmatrix/iemmatrix.pd_linux:libgsl.so.25: cannot open shared object file: No such file or directory".
But 'libgsl25' is not available under my system (neither apt nor Synaptic), only 'libgsl27' (2.7.1+dfsg-3) is.
since the problem is exactly the same as described by Alexandros, the answer is exactly the same as well.
(ah well: replace "Debian" with "Ubuntu", or your distribution of choice; and replace the version number "12" with any version of your distribution that ships libgsl!=25 and "11" with any version of your distribution that ships libgsl==25).
and peter's advice goes for Ubuntu as well: just install the pd-iemmatrix package via apt (or your preferred package manager of your distribution).
and finally: if you prefer to install all packages via deken, you might want to try to install the (somewhat experimental) "pd-deken-apt" package, which allows you to install your Debian packaged externals through deken (it's really just a replacement of synaptics for Pd packages)
hfdmsrt KIOhannes
Yes-yes, effectively is much better by installing directly 'pd-iemmatrix' from the system package manager: iemmatrix 0.3.2 objects for manipulating 2d-matrices (c) 2001-2015 iem IOhannes m zmölnig Thomas Musil Franz Zotter compiled Dec 7 2021 : 17:39:48
But it's putting it in '/lib/pd/extra/iemmatrix' and not (I can dream) in my default '/home/joe/Pure-Data/externals/iemmatrix' externals path (so I have deleted it). And I have made the necessary changes in my Pd Preferences.
A minor point when opening the [iemmatrix] help it seems that the 'test.mtx' file (load and save matrices) is missing: test.mtx: can't open [matrix]: failed to read
Note: There is actually on my Linux Mint 21.3 system two '/extra' folders created by either Pd / Pure Data or some externals:
/usr/lib/pd/extra/Gem /usr/lib/pd/extra/iemmatrix /usr/lib/pd/extra/pix_drum /usr/lib/pd/extra/pix_fiducialtrack /usr/lib/pd/extra/pix_hit /usr/lib/pd/extra/pix_mano
/usr/lib/puredata/extra/bob~ /usr/lib/puredata/extra/bonk~ /usr/lib/puredata/extra/choice /usr/lib/puredata/extra/fiddle~ /usr/lib/puredata/extra/loop~ /usr/lib/puredata/extra/lrshift~ /usr/lib/puredata/extra/pd~ /usr/lib/puredata/extra/pique /usr/lib/puredata/extra/sigmund~ /usr/lib/puredata/extra/stdout
Why not to have all of 'usr/lib/pd/extra' into '/usr/lib/puredata/extra'?
And of course I'm using my own '/home/joe/Pure-Data/externals' path for the externals downloaded thru Deken.
Thanks, Joseph
Le 18/01/2024 à 14:13, IOhannes m zmoelnig a écrit :
On 1/18/24 12:25, Linux ROUEN Normandie wrote:
Same issue here with 'iemmatrix' library (0.3.3 as of 2023/07/19 thru Deken) under Linux Mint 21.3 (Ubuntu 22.04-4 base) / Pd 0.54-1: "/home/joe/Pure-Data/externals/iemmatrix/iemmatrix.pd_linux:libgsl.so.25:
cannot open shared object file: No such file or directory".
But 'libgsl25' is not available under my system (neither apt nor Synaptic), only 'libgsl27' (2.7.1+dfsg-3) is.
since the problem is exactly the same as described by Alexandros, the answer is exactly the same as well.
(ah well: replace "Debian" with "Ubuntu", or your distribution of choice; and replace the version number "12" with any version of your distribution that ships libgsl!=25 and "11" with any version of your distribution that ships libgsl==25).
and peter's advice goes for Ubuntu as well: just install the pd-iemmatrix package via apt (or your preferred package manager of your distribution).
and finally: if you prefer to install all packages via deken, you might want to try to install the (somewhat experimental) "pd-deken-apt" package, which allows you to install your Debian packaged externals through deken (it's really just a replacement of synaptics for Pd packages)
hfdmsrt KIOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management ->https://lists.puredata.info/listinfo/pd-list
On 1/18/24 17:29, Linux ROUEN Normandie wrote:
Why not to have all of 'usr/lib/pd/extra' into '/usr/lib/puredata/extra'?
that's by design (and comes from the olden days, when Pd-extended was still a thing a,d somebody thought about packaging it).
And of course I'm using my own '/home/joe/Pure-Data/externals' path for the externals downloaded thru Deken.
yes. but what is the problem?
gfmdsa IOhannes
For the dummy guy I am, the problem -if problem- is: WARNING: duplicate 'extra' library found! '/usr/lib/pd/extra' is active '/usr/lib/puredata/extra' is a duplicate
If I remove the 2nd path in Pd Preferences then: sigmund~ ... couldn't create bonk~ ... couldn't create choice ... couldn't create hilbert~ ... couldn't create complex-mod~ ... couldn't create loop~ ... couldn't create lrshift~ ... couldn't create pd~ ... couldn't create rev1~ ... couldn't create rev2~ ... couldn't create rev3~ ... couldn't create stdout ... couldn't create bob~ ... couldn't create fiddle~ ... couldn't create pique ... couldn't create warning -- 'template' (pd-help-intro.pd) is obsolete; replace with 'struct'
So, I do need to declare both '/usr/lib/pd/extra' and '/usr/lib/puredata/extra' paths in my Pd Preferences.
Le 18/01/2024 à 19:14, IOhannes m zmölnig a écrit :
On 1/18/24 17:29, Linux ROUEN Normandie wrote:
Why not to have all of 'usr/lib/pd/extra' into '/usr/lib/puredata/extra'?
that's by design (and comes from the olden days, when Pd-extended was still a thing a,d somebody thought about packaging it).
And of course I'm using my own '/home/joe/Pure-Data/externals' path for the externals downloaded thru Deken.
yes. but what is the problem?
gfmdsa IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
On 1/18/24 19:59, Linux ROUEN Normandie wrote:
So, I do need to declare both '/usr/lib/pd/extra' and '/usr/lib/puredata/extra' paths in my Pd Preferences.
ah, you are using a self-compiled Pd, rather than the one that comes with Debian/Ubuntu/your distro.
in this case: yes, you have to live with this warning. (the Pd from Debian does not have this warning, and it automatically searches the two paths).
or maybe, you could create a ticket (https://bugs.puredata.info) about this warning (the "problem" is that if you have two search paths that end with the same word (e.g. "/path/to/libraries" and "/path/to/more/libraries") then the help browser wrongly complains.
the idea why it complains in the first place is that if you have libraries with the same name and the same objects in multiple places (e.g. "/path/to/libraries/zexy/rad2deg.pd" and "/path/to/more/libraries/zexy/rad2deg.pd") you might get confused which [rad2deg] you are actually using.
gdsar IOhannes
Thanks IOhannes for your explanations. So, I will leave with both paths thus this warning.
By the way my Pd 0.54-1 is not a one complied by my self, it could be by you which is a great thing for always getting the latest version of Pd thru this PPA on launchpad.net:
As you know very well, currently Linux Mint 21.3 / Ubuntu 22.04.4 LTS only propose the old puredata_0.52.1+ds0-1_all.deb package.
Best, Joseph
Le 19/01/2024 à 10:25, IOhannes m zmölnig a écrit :
On 1/18/24 19:59, Linux ROUEN Normandie wrote:
So, I do need to declare both '/usr/lib/pd/extra' and '/usr/lib/puredata/extra' paths in my Pd Preferences.
ah, you are using a self-compiled Pd, rather than the one that comes with Debian/Ubuntu/your distro.
in this case: yes, you have to live with this warning. (the Pd from Debian does not have this warning, and it automatically searches the two paths).
or maybe, you could create a ticket (https://bugs.puredata.info) about this warning (the "problem" is that if you have two search paths that end with the same word (e.g. "/path/to/libraries" and "/path/to/more/libraries") then the help browser wrongly complains.
the idea why it complains in the first place is that if you have libraries with the same name and the same objects in multiple places (e.g. "/path/to/libraries/zexy/rad2deg.pd" and "/path/to/more/libraries/zexy/rad2deg.pd") you might get confused which [rad2deg] you are actually using.
gdsar IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
On 1/19/24 19:27, Linux ROUEN Normandie wrote:
Thanks IOhannes for your explanations. So, I will leave with both paths thus this warning.
By the way my Pd 0.54-1 is not a one complied by my self, it could be by you which is a great thing for always getting the latest version of Pd thru this PPA on launchpad.net:
- Name: puredata / Version: 0.54.1+ds-2~ubuntu22.04~ppa1 :-)
hmm, well. this would be perfect (as it is the "Debian packages" I am talking about; they are just built for different Ubuntu versions).
this leaves me a bit confused, as in this case you should *not* manually add '/usr/lib/pd/extra' nor '/usr/lib/puredata/extra' to your search path preferences, as both these paths are searched for automatically (and then no error will be printed)
(that is, unless you somehow add "-nostdpath" to your startup flags, but i can hardly believe that you would do such a thing)
gmsadr IOhannes
Le 19/01/2024 à 19:44, IOhannes m zmölnig a écrit :
On 1/19/24 19:27, Linux ROUEN Normandie wrote:
Thanks IOhannes for your explanations. So, I will leave with both paths thus this warning.
By the way my Pd 0.54-1 is not a one complied by my self, it could be by you which is a great thing for always getting the latest version of Pd thru this PPA on launchpad.net:
- Name: puredata / Version: 0.54.1+ds-2~ubuntu22.04~ppa1 :-)
hmm, well. this would be perfect (as it is the "Debian packages" I am talking about; they are just built for different Ubuntu versions).
this leaves me a bit confused, as in this case you should *not* manually add '/usr/lib/pd/extra' nor '/usr/lib/puredata/extra' to your search path preferences, as both these paths are searched for automatically (and then no error will be printed)
Yes in an ideal world it should be the case but here it's not working and this was the case since day one I have installed Pd on my Linux Mint 21, first the default Pd package (from the Package Manager) and then the PPA updates.
Now if I remove these two paths in such case Pd has no access at all to the objects into them and I'm getting when trying to use them (some examples): iemmatrix ... couldn't create sigmund~ ... couldn't create bonk~ ... couldn't create choice ... couldn't create hilbert~ ... couldn't create complex-mod~ ... couldn't create loop~ ... couldn't create lrshift~ ... couldn't create pd~ ... couldn't create rev1~ ... couldn't create rev2~ ... couldn't create rev3~ ... couldn't create stdout ... couldn't create bob~ ... couldn't create fiddle~ ... couldn't create pique ... couldn't create warning -- 'template' (pd-help-intro.pd) is obsolete; replace with 'struct'
Note: Still with these 2 paths removed, when using the 'Navigateur d'aide' (the Help navigator from Alexandre's Else) it can still see all the help objects into the '/usr/lib/pd/extra' and '/usr/lib/puredata/extra' folders but when double clicking on any of them they can't be created (for the objects belonging to these 2 paths), and I'm getting the above error messages too. See attached screen capture. For the Objects list in the screen capture mentioned to be in 'pd/extra' in fact they are in 'puredata/extra' on my system.
(that is, unless you somehow add "-nostdpath" to your startup flags, but i can hardly believe that you would do such a thing)
No such path added to my startup flags, in fact I have no startup flag at all.
gmsadr IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Am 20. Jänner 2024 14:47:47 MEZ schrieb Linux ROUEN Normandie linux.rouen@free.fr:
(that is, unless you somehow add "-nostdpath" to your startup flags, but i can hardly believe that you would do such a thing)
No such path added to my startup flags, in fact I have no startup flag at all.
Could you please post a screenshot of your "path" preferences?
And probably your ~/.pdsettings file as well...
Thx (Changing the subject as this has gone well beyond problems with "iemmatrix")
mfg.sfg.jfd IOhannes
As requested here attached the Pd screens capture.
Comment:
added back yet to Pd Preferences.
folder doesn't exist anymore (it was for the 'iemmatrix' thru Deken) now replaced by 'Pd-iemmatrix' installed into '/usr/lib/pd/extra' by the Package Mgr.
Best, Joseph
Le 20/01/2024 à 15:31, IOhannes m zmölnig a écrit :
Am 20. Jänner 2024 14:47:47 MEZ schrieb Linux ROUEN Normandie linux.rouen@free.fr:
(that is, unless you somehow add "-nostdpath" to your startup flags, but i can hardly believe that you would do such a thing)
No such path added to my startup flags, in fact I have no startup flag at all.
Could you please post a screenshot of your "path" preferences?
And probably your ~/.pdsettings file as well...
Thx (Changing the subject as this has gone well beyond problems with "iemmatrix")
mfg.sfg.jfd IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Hi Joseph, hi IOhannes,
you two got me curious and on my Debian stable system I have
/usr/lib/puredata/extra/, which holds the external distributed with Pd as part of Debian's puredata-extra package, and /usr/lib/pd/extra/ which holds other external installed as Debian packages, such as pd-zexy pd-cyclone pd-iemmatrix gem.
Just for reference, there is also ~/.local/lib/pd/extra holding my Deken installs.
best, Peter
As requested here attached the Pd screens capture.
Comment:
- Both '/usr/lib/pd/extra' and '/usr/lib/puredata/extra' paths were not
added back yet to Pd Preferences.
- 'home/joe/Pure-Data/externals/iemmatrix' has to be removed as this folder
doesn't exist anymore (it was for the 'iemmatrix' thru Deken) now replaced by 'Pd-iemmatrix' installed into '/usr/lib/pd/extra' by the Package Mgr.
Best, Joseph
Le 20/01/2024 à 15:31, IOhannes m zmölnig a écrit :
Am 20. Jänner 2024 14:47:47 MEZ schrieb Linux ROUEN Normandie linux.rouen@free.fr:
(that is, unless you somehow add "-nostdpath" to your startup flags, but i can hardly believe that you would do such a thing)
No such path added to my startup flags, in fact I have no startup flag at all.
Could you please post a screenshot of your "path" preferences?
And probably your ~/.pdsettings file as well...
Thx (Changing the subject as this has gone well beyond problems with "iemmatrix")
mfg.sfg.jfd IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Am 20. Jänner 2024 19:17:22 MEZ schrieb Linux ROUEN Normandie linux.rouen@free.fr:
As requested here attached the Pd screens capture.
I've accidentally taken this discussion off-list, but in and case I'm glad to be able to report that this follow up issue has been resolved.
Joseph had disabled standard paths in the preferences (as can be seen in the screenshot), for reasons given in the past...
Am 21. Jänner 2024 12:53:12 MEZ schrieb Linux ROUEN Normandie linux.rouen@free.fr:
Thank you IOhannes,
Enabling Standard Paths in Pd Preferences has fixed my issue.
🎉
mfg.sfg.jfd IOhannes