How does [declare -lib foo] in current Pd Vanilla compare to [import foo] in
Pd-extended?
check declare's help, you can specify if you are declaring a search path or a library, both in the standard pd path or in a path in relation to the patch's folder