installs all the dependencies within https://github.com/tier4/autoware_launcher.iv.universe/pull/14. I tested this in the ADE provided by Autoware.Auto that has a cleaner env to start with. I guess this driver build on your machine because the dependencies like PCL were installed by hand.
In building the livox_ros2_driver with foxy, I was successful but I had to clean up the dependencies such that a
installs all the dependencies within https://github.com/tier4/autoware_launcher.iv.universe/pull/14. I tested this in the ADE provided by Autoware.Auto that has a cleaner env to start with. I guess this driver build on your machine because the dependencies like PCL were installed by hand.