airockchip / rknn-toolkit2

Other
1k stars 104 forks source link

librockchip_mpp.so.0的两个符号链接是无效的 #65

Open RadxaYuntian opened 5 months ago

RadxaYuntian commented 5 months ago

https://github.com/airockchip/rknn-toolkit2/blob/master/rknpu2/examples/3rdparty/mpp/Linux/aarch64/librockchip_mpp.so https://github.com/airockchip/rknn-toolkit2/blob/master/rknpu2/examples/3rdparty/mpp/Linux/aarch64/librockchip_mpp.so.1

zpcore commented 5 months ago

The file content is actually uploaded into the gitrepo but been considered as a link when you clone it locally. I guess they messed up with those files somehow. You can still wget them like:

wget https://github.com/airockchip/rknn-toolkit2/raw/master/rknpu2/examples/3rdparty/mpp/Linux/aarch64/librockchip_mpp.so
RadxaYuntian commented 5 months ago

They are just broken symlinks, and should be replaced as such. It's not about whether we can download it, and for us specifically it breaks packaging.

❯ curl -s https://github.com/airockchip/rknn-toolkit2/raw/master/rknpu2/examples/3rdparty/mpp/Linux/aarch64/librockchip_mpp.so | sha512sum 
cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e  -

~ 
❯ curl -s https://github.com/airockchip/rknn-toolkit2/raw/master/rknpu2/examples/3rdparty/mpp/Linux/aarch64/librockchip_mpp.so.0 | sha512sum 
cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e  -

~ 
❯ curl -s https://github.com/airockchip/rknn-toolkit2/raw/master/rknpu2/examples/3rdparty/mpp/Linux/aarch64/librockchip_mpp.so.1 | sha512sum 
cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e  -
zpcore commented 5 months ago

Thanks, just created a PR to fix the link: https://github.com/airockchip/rknn-toolkit2/pull/74

zpcore commented 5 months ago

Thanks for the clarification. Just noticed that those two links are pointing to the same file.