I`m not a Linux user so not sure:

I want to avoid using the name of the package before each external I need to 

use. So I created an object with "declare -stdpath /usr/lib/pd/extra/osc".  


Isn't this [declare -stdpath osc] ?

So I tried to set the startup flags e.g. -lib /usr/lib/pd/extra/osc but when I 

launch pd I get "can't load library" 


Sure on this, Osc is not a lib. Libs are Gem and Zexy 2.2.6svn …

try:

-path /usr/lib/pd/extra/osc

But probably with the above [declare] you got it.


Mensaje telepatico asistido por maquinas.



From: Pd-list <pd-list-bounces@lists.iem.at> on behalf of Angelo Arcadi <angelo.arcadi.mailinglist@gmail.com>
Sent: Friday, August 5, 2016 11:01 PM
To: pd-list@lists.iem.at
Subject: [PD] External libraries not found via declare object or startup flags (pd 0.47.1, linux)
 
Dear list,
I get an unwanted beheaviour with the location of the externals libraries installed on pd 0.47.1. Pd was compiled from sources, on ubuntu 16.04 linux running on the odroid-c2 board (armv8-64)

I installed the externals I needed via apt-get install pd-name_package.
The package got installed in /usr/lib/pd/extra. I have added such folder in the
search path.

Now in pd I want to use some of those externals, let's say "packOSC".
At this stage If I create an object with "osc/packOSC" it works.


I want to avoid using the name of the package before each external I need to
use. So I created an object with "declare -stdpath /usr/lib/pd/extra/osc".

The problem is that pd seems to ignore that command, or the analog ones with -path and -lib.

So I tried to set the startup flags e.g. -lib /usr/lib/pd/extra/osc but when I
launch pd I get "can't load library"

Any suggestion or workaround? Is there maybe a bug?

Thanks in advance

Best

Angelo