Opened 11 years ago
Last modified 9 years ago
#48691 assigned defect
caffe: ld: library not found for -lopencv_imgcodecs
| Reported by: | jackbrucesimpson@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.3.3 |
| Keywords: | Cc: | ||
| Port: | caffe |
Description
When I try to install caffe with MacPorts on Yosemite (Mac) I keep getting this error once it reaches the build stage:
Error: org.macports.build for port caffe returned: command execution failed
Does anyone know how to successfully install Caffe with MacPorts?
Attachments (2)
Change History (6)
Changed 11 years ago by jackbrucesimpson@…
comment:1 follow-up: 2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
| Keywords: | caffe mac install yosemite machinelearning removed |
|---|---|
| Owner: | changed from macports-tickets@… to hum@… |
| Summary: | Caffe install fails → caffe: ld: library not found for -lopencv_imgcodecs |
Your log shows you're building version 20150624. The port was updated to version 20150717 a month ago. Can you please try running:
sudo port clean caffe sudo port selfupdate sudo port upgrade outdated sudo port install caffe
If caffe still fails to build, please attach the new main.log file.
comment:2 Changed 11 years ago by jackbrucesimpson@…
Thank-you so much for the help, I followed your advice and now get this error: "Error: Processing of port caffe failed". I've attached the new log file, thank-you so much for your help!
comment:3 Changed 10 years ago by kurthindenburg (Kurt Hindenburg)
| Owner: | changed from humem to macports-tickets@… |
|---|---|
| Status: | new → assigned |
Note: See
TracTickets for help on using
tickets.

log file