Opened 9 years ago

Last modified 7 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)

main.log (241.5 KB) - added by jackbrucesimpson@… 9 years ago.
log file
main.2.log (248.0 KB) - added by jackbrucesimpson@… 9 years ago.
second log

Download all attachments as: .zip

Change History (6)

Changed 9 years ago by jackbrucesimpson@…

Attachment: main.log added

log file

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: caffe mac install yosemite machinelearning removed
Owner: changed from macports-tickets@… to hum@…
Summary: Caffe install failscaffe: 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.

Changed 9 years ago by jackbrucesimpson@…

Attachment: main.2.log added

second log

comment:2 in reply to:  1 Changed 9 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 8 years ago by kurthindenburg (Kurt Hindenburg)

Owner: changed from humem to macports-tickets@…
Status: newassigned

comment:4 Changed 7 years ago by mf2k (Frank Schima)

Is this still a problem with version 20170817?

Note: See TracTickets for help on using tickets.