It should be set to --libdir=\${exec_prefix}/lib/$CRAFT_ARCH_TRIPLET. Currently such libraries are being installed to /usr/lib and they're not detected by cleanup scripts to remove copies of such libraries from application snap what can create problems up to crashing due to the library being shadowed by an older version of library from Ubuntu repositories without required symbols.
It should be set to
--libdir=\${exec_prefix}/lib/$CRAFT_ARCH_TRIPLET
. Currently such libraries are being installed to /usr/lib and they're not detected by cleanup scripts to remove copies of such libraries from application snap what can create problems up to crashing due to the library being shadowed by an older version of library from Ubuntu repositories without required symbols.