Public bug reported:

1) 20.04 LTS
2) 1.10.0+dfsg-5ubuntu1
3) cmake's find_package() finds pcl for project build
4) cmake's find_package() fails to find pcl

On fresh installs of 20.04, /lib is symlinked to /usr/lib by default.
This seems to cause problems with the relative paths used at line 401 in
PCLConfig.cmake.in to set PCL_ROOT. cmake seems to be searching /lib
first for the cmake config files. This causes the relative path used in
line 401 to resolve to / instead of the intended /usr, which then cause
subsequent lines to fail to find pcl.

For full disclosure, I encountered this while using a Singularity
container, but I am largely confident this isn't a container-specific
issue.

** Affects: pcl (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1896118

Title:
  PCLConfig.cmake fails to find pcl due to usrmerge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcl/+bug/1896118/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to