Package Details: caffe-cuda-git 1.0.r132.g99bd99795-6

Git Clone URL: https://aur.archlinux.org/caffe-cuda-git.git (read-only)
Package Base: caffe-cuda-git
Description: A deep learning framework made with expression, speed, and modularity in mind (with cuda, git version)
Upstream URL: https://caffe.berkeleyvision.org/
Licenses: BSD
Conflicts: caffe
Provides: caffe, caffe-cuda
Submitter: dbermond
Maintainer: dbermond
Last Packager: dbermond
Votes: 0
Popularity: 0.000000
First Submitted: 2018-08-22 18:02
Last Updated: 2018-11-10 13:13

Latest Comments

dbermond commented on 2018-10-03 17:47

@muffehazard Uninstall the any caffe package before building. It should work fine.

muffehazard commented on 2018-10-03 05:44

@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

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

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

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

@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

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?