<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p></p>
<div>I`m not a Linux user so not sure:</div>
<div><br>
</div>
<p></p>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">
<p></p>
<div><i>I want to avoid using the name of the package before each external I need to </i></div>
<p></p>
<p></p>
<div><i>use. So I created an object with "declare -stdpath /usr/lib/pd/extra/osc".</i>  </div>
<p></p>
</blockquote>
<p></p>
<div><br>
</div>
<div>Isn't this [declare -stdpath osc] ?</div>
<div><br>
</div>
<p></p>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">
<p></p>
<div><i>So I tried to set the startup flags e.g. -lib /usr/lib/pd/extra/osc but when I </i></div>
<p></p>
<p></p>
<div><i>launch pd I get "can't load library"</i> </div>
<p></p>
</blockquote>
<p></p>
<div><br>
</div>
<div>Sure on this, Osc is not a lib. Libs are Gem and Zexy 2.2.6svn …</div>
<div><br>
</div>
<div>try:</div>
<div><br>
</div>
<div>-path /usr/lib/pd/extra/osc</div>
<div><br>
</div>
<div>But probably with the above [declare] you got it.</div>
<br>
<p></p>
<p><br>
</p>
<div id="Signature"><font face="Courier New, Courier, Monospace" size="2">Mensaje telepatico asistido por maquinas.</font>
</div>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Pd-list <pd-list-bounces@lists.iem.at> on behalf of Angelo Arcadi <angelo.arcadi.mailinglist@gmail.com><br>
<b>Sent:</b> Friday, August 5, 2016 11:01 PM<br>
<b>To:</b> pd-list@lists.iem.at<br>
<b>Subject:</b> [PD] External libraries not found via declare object or startup flags (pd 0.47.1, linux)</font>
<div> </div>
</div>
<div>
<div dir="ltr">Dear list,
<div>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)</div>
<div><br>
</div>
<div>I installed the externals I needed via apt-get install pd-name_package.<br>
The package got installed in /usr/lib/pd/extra. I have added such folder in the <br>
search path.<br>
<br>
Now in pd I want to use some of those externals, let's say "packOSC". <br>
At this stage If I create an object with "osc/packOSC" it works. <br>
<br>
<br>
I want to avoid using the name of the package before each external I need to <br>
use. So I created an object with "declare -stdpath /usr/lib/pd/extra/osc". <br>
<br>
The problem is that pd seems to ignore that command, or the analog ones with -path and -lib.</div>
<div><br>
</div>
<div>So I tried to set the startup flags e.g. -lib /usr/lib/pd/extra/osc but when I
<br>
launch pd I get "can't load library"<br>
<br>
Any suggestion or workaround? Is there maybe a bug?<br>
<br>
Thanks in advance<br>
<br>
Best<br>
<br>
Angelo<br>
</div>
</div>
</div>
</div>
</div>
</body>
</html>