microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
22.18k stars 6.16k forks source link

[opencv4] Python bindings installed into wrong dir #37138

Open Neumann-A opened 4 months ago

Neumann-A commented 4 months ago

CI tells me:

-- Adjusted RPATH of '/mnt/vcpkg-ci/p/opencv4_x64-linux/debug/lib/python3.10/site-packages/cv2/python-3.10/cv2d.cpython-310-x86_64-linux-gnu.so' (From '' -> To '$ORIGIN:$ORIGIN/../../../..')
-- Adjusted RPATH of '/mnt/vcpkg-ci/p/opencv4_x64-linux/lib/python3.10/site-packages/cv2/python-3.10/cv2.cpython-310-x86_64-linux-gnu.so' (From '' -> To '$ORIGIN:$ORIGIN/../../../..')
-- Performing post-build validation
Stored binaries in 1 destinations in 3.3 min.

lib/python3.10/site-packages is the wrong directory. Should be lib/python3.11/site-packages

MonicaLiu0311 commented 4 months ago

@vicroms @BillyONeal Please take a look at this issue.