The NetApp SnapDrive software was deprecated for HP-UX many years ago. As of August 2022 the NetApp SnapDrive software will be completely EOS on all operating systems, so it is not the direction you want to go anymore.
For creating Snapshots and handling other ONTAP activities from HP-UX I would suggest you look into NetApp's Ansible modules (see https://netapp.io/configuration-management-and-automation/) or directly at the new REST API interface for ONTAP that you can script around. While some may argue that it is not as elegant a solution as SnapDrive, it is absolutely more flexible and configurable.