ROS2 foxy stable extension or ROS2 galactic extension

By using the exact snapcraft.yaml file that @artivis gave, I couldn’t reproduce your exact warning.

From this post, it appears that libpsm-infinipath1 uses a mechanism not supported by snapcraft (hence no symlink is created).

If the library is correctly listed in your stage-package, I would recommand writing the symlink yourself then (as suggested here).