Search Criteria
Package Details: caffe-cuda-git 1.0.r136.g9b8915401-3
Package Actions
Git Clone URL: | https://aur.archlinux.org/caffe-cuda-git.git (read-only, click to copy) |
---|---|
Package Base: | caffe-cuda-git |
Description: | A deep learning framework made with expression, speed, and modularity in mind (with cuda support, git version) |
Upstream URL: | https://caffe.berkeleyvision.org/ |
Licenses: | BSD |
Conflicts: | caffe |
Provides: | caffe, caffe-cuda, caffe-git |
Submitter: | dbermond |
Maintainer: | dbermond |
Last Packager: | dbermond |
Votes: | 0 |
Popularity: | 0.000000 |
First Submitted: | 2018-08-22 18:02 (UTC) |
Last Updated: | 2022-03-01 14:46 (UTC) |
Dependencies (52)
- boost-libs (boost171, boost-libs-git, boost174-libs, boost-libs_v180)
- cuda (cuda-11.0, cuda11.1)
- gflags (gflags-static, gflags-git)
- google-glog (google-glog-static, glog-git)
- hdf5 (hdf5-git, hdf5-openmpi)
- lapack (openblas-lapack-git, lapack-tmg, armpl, atlas-lapack, openblas-lapack-static, openblas-lapack, lapack-git)
- leveldb (leveldb-git)
- lmdb (lumosql, lmdb-git)
- nccl (nccl-git)
- openblas (openblas-lapack-git, openblas-git, openblas-cblas-git, openblas-lapack-static, openblas-lapack, libopenblas)
- opencv (opencv2, opencv-cuda)
- protobuf (protobuf-git)
- python (nogil-python, python36, python32, python39, python38, python37, python312, python310)
- python-numpy (python-numpy-git, python-numpy1.22, python-numpy-openblas, python-numpy-flame, python-numpy-mkl-bin, python-numpy-mkl)
- python-pandas
- boost (boost-git, boost174) (make)
- boost-libs (boost171, boost-libs-git, boost174-libs, boost-libs_v180) (make)
- cuda (cuda-11.0, cuda11.1) (make)
- doxygen (doxygen-git, doxygen-clang) (make)
- gflags (gflags-static, gflags-git) (make)
- Show 32 more dependencies...
Required by (3)
- multitask-network-cascades-dr-git (requires caffe)
- ncsdk (requires caffe)
- openpose (requires caffe)
Latest Comments
dbermond commented on 2018-10-03 17:47 (UTC)
@muffehazard Uninstall the any caffe package before building. It should work fine.
muffehazard commented on 2018-10-03 05:44 (UTC)
@dbermond I don't think libprotobuf was causing this, because the linker failed again when I tried to upgrade today. This time it said it can't find libcudart.so.9.2, libcublas.so.9.2 and libcurand.so.9.2, but again when I renamed libcaffe.so to libcaffe.so.old in /usr/lib the build completed without errors. Checking ldd /usr/lib/libcaffe.so after the build, it's now using 10.0 -versions of the aforementioned libraries. I still think that the build is trying to use the old .so from the system, which causes the build to fail if any of the packages providing any of the linked libraries have been upgraded. I don't know why but this seems to be the case and my workaround also seems to indicate this.
dbermond commented on 2018-09-29 01:08 (UTC)
Guys, this highly looks like an issue with your system. You should not have libprotobuf.so.16 installed because it's not on the official repositories. I wonder why this file is on your system. I do not have this file on my system.
Use
pacman -Qo /usr/lib/libprotobuf.so.16
to find what package owns it and remove this given package. If no package owns this file, you can delete libprotobuf.so.16. After this, reinstall protobuf and rebuild caffe-cuda-git.Package is building fine for me. I've have even updated the package to include nccl since it is now open source again and has landed on the official repositories.
muffehazard commented on 2018-09-26 05:31 (UTC)
Deleting or renaming /usr/lib/libcaffe.so before building resolved this for me, maybe there is an issue where the linker tries to use the old libcaffe.so from /usr/lib instead of the newly built libcaffe.so during build?
Ape commented on 2018-09-24 13:44 (UTC)
I also have this issue with libprotobuf 16 vs 17. I cannot find anything on my system that would provide the older version, but caffe still seems to want it.
dbermond commented on 2018-09-21 23:15 (UTC)
@elmuz I cannot reproduce your issue. Package is building fine for me. My libcaffe.so links against libprotobuf.so.17, which is the current protofub library on the official repositories.
It seems that your libcaffe.so is wrongly linking against libprotobuf.so.16. Try to find what whatever is providing it and remove it.
elmuz commented on 2018-09-18 12:58 (UTC) (edited on 2018-09-18 13:09 (UTC) by elmuz)
Hi I cannot build against libprotobuf. In fact I get warning: libprotobuf.so.16, needed by /usr/lib/libcaffe.so, not found (try using -rpath or -rpath-link). Problem is that I have version 17 instead of 16. Is there any workaround for that?