Face Recognition fine with CPU, failing on GPU compile missing symbol

Face Recognition fine with CPU, failing on GPU compile missing token

“First we try to open the models… php: symbol lookup error: /usr/lib/php/20210902/pdlib.so: undefined symbol: _ZN4dlib4cuda17tensor_descriptorC1Ev”

I’m attempting to use an nVidia P1000 Quadro in a Dell T410 PowerEdge.
Dlib compiles fine, with no errors and passes its tests.
Pdlib compiles, “make test” errors with

FAIL Testing CnnFaceDetection constructor with model that do not exist [tests/cnn_face_detection_ctor_model_not_found_error.phpt]

This was the latest attempt to use the P1000 for Face Recognition. I attempted to use an earlier nVidia driver, and the 11 Version of CUDA, but the initial apt package put in the 12.x version, which also errored out with the “undefined symbol” error.

Just getting the compile complete took a long time to get correct.

I’m close to abandoning the effort to get GPU Face Recognition going in Nextcloud.

Thanks for looking,
–Joe.

Dell T410 PowerEdge
128Gb Memory
3Tb Hard Drives
Ubuntu 20.04
Driver Version: 535.54.03
CUDA Version: 12.2
PHP 8.1
Nextcloud Hub 3 (25.0.7)
nginx web engine