Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#62586 closed defect (fixed)

gmic @2.9.6_0+x11: ld: library not found for -lopencv_gapi.4.5.1

Reported by: MeNdMont (MeNdMont) Owned by: Schamschula (Marius Schamschula)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc:
Port: gmic

Description

failed when trying a

sudo port upgrade outdated 

Cleaned, didn't work. Uninstalled all,

--->  Configuring gmic
Warning: reinplace s|-lopencv_gapi.4.5.0|-L/opt/local/lib/opencv4 -lopencv_gapi.4.5.0|g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gmic/gmic/work/build/CMakeFiles/gmic.dir/link.txt
Warning: reinplace s|-lopencv_gapi.4.5.0|-L/opt/local/lib/opencv4 -lopencv_gapi.4.5.0|g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gmic/gmic/work/build/CMakeFiles/libgmic.dir/link.txt
--->  Building gmic
Error: Failed to build gmic: command execution failed

Attachments (1)

gmic_fail.txt (214.7 KB) - added by MeNdMont (MeNdMont) 4 years ago.
main.log

Download all attachments as: .zip

Change History (7)

Changed 4 years ago by MeNdMont (MeNdMont)

Attachment: gmic_fail.txt added

main.log

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

Cc: Schamschula removed
Owner: set to Schamschula
Status: newassigned

comment:2 Changed 4 years ago by Schamschula (Marius Schamschula)

Indeed, opencv4 was upgraded, without fixing gmic.

comment:3 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: gmic-2.9.6_0+x11.darwin_19.x86_64 fails to build on OS X 10.15.7gmic @2.9.6_0+x11: ld: library not found for -lopencv_gapi.4.5.1

comment:4 Changed 4 years ago by Schamschula (Marius Schamschula)

Resolution: fixed
Status: assignedclosed

In 2f61e21eb6c3abb8c5af9a6d53f0a9601d1a8e47/macports-ports (master):

gmic: fix library not found for -lopencv_gapi

Closes: #62586

comment:5 Changed 4 years ago by MeNdMont (MeNdMont)

Built this morning no problems!

comment:6 Changed 4 years ago by mascguy (Christopher Nielsen)

FYI, it looks like GMIC no longer enables OpenCV support by default, perhaps starting with 2.9.7.

I'm in the process of fixing that. Tracked by issue:62738

Note: See TracTickets for help on using tickets.