Opened 14 years ago

Closed 11 years ago

#27835 closed defect (fixed)

avidemux: ld: framework not found -lCocoa

Reported by: icemac (Michael Howitz) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: KNIZEK.MILAN@…
Port: avidemux

Description

Tail of sudo port -v install avidemux: (I have the following gtk2 installed: @2.22.1_0+no_x11+quartz.)

[...]
Linking CXX shared library libADM_UIGtk.dylib
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_avidemux/work/build/avidemux/ADM_UIs/ADM_GTK/src && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/ADM_UIGtk.dir/link.txt --verbose=1
/usr/bin/g++-4.2  -pipe -O2 -arch x86_64  -O3 -DNDEBUG -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -dynamiclib -headerpad_max_install_names -L/opt/local/lib -arch x86_64 -o libADM_UIGtk.dylib -install_name /opt/local/lib/libADM_UIGtk.dylib CMakeFiles/ADM_UIGtk.dir/DIA_color.cpp.o CMakeFiles/ADM_UIGtk.dir/DIA_filesel.cpp.o CMakeFiles/ADM_UIGtk.dir/DIA_dialogFactory.cpp.o CMakeFiles/ADM_UIGtk.dir/FAC_bitrate.cpp.o CMakeFiles/ADM_UIGtk.dir/FAC_float.cpp.o CMakeFiles/ADM_UIGtk.dir/FAC_hex.cpp.o CMakeFiles/ADM_UIGtk.dir/FAC_menu.cpp.o CMakeFiles/ADM_UIGtk.dir/FAC_readOnlyText.cpp.o CMakeFiles/ADM_UIGtk.dir/FAC_bar.cpp.o CMakeFiles/ADM_UIGtk.dir/FAC_button.cpp.o CMakeFiles/ADM_UIGtk.dir/FAC_frame.cpp.o CMakeFiles/ADM_UIGtk.dir/FAC_integer.cpp.o CMakeFiles/ADM_UIGtk.dir/FAC_notch.cpp.o CMakeFiles/ADM_UIGtk.dir/FAC_toggle.cpp.o CMakeFiles/ADM_UIGtk.dir/FAC_threadCount.cpp.o CMakeFiles/ADM_UIGtk.dir/FAC_slider.cpp.o CMakeFiles/ADM_UIGtk.dir/FAC_matrix.cpp.o CMakeFiles/ADM_UIGtk.dir/FAC_configMenu.cpp.o CMakeFiles/ADM_UIGtk.dir/ADM_gladeSupport.cpp.o CMakeFiles/ADM_UIGtk.dir/choice.cpp.o CMakeFiles/ADM_UIGtk.dir/toolkit_dialog.cpp.o CMakeFiles/ADM_UIGtk.dir/toolkit.cpp.o CMakeFiles/ADM_UIGtk.dir/DIA_flyDialogGtk.cpp.o -framework -lCocoa -L/opt/local/lib -lgtk-quartz-2.0 -lgdk-quartz-2.0 -latk-1.0 -lpangocairo-1.0 -lgio-2.0 -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lpango-1.0 -lm -lcairo -lpixman-1 -lfontconfig -lexpat -lfreetype -lpng12 -lz -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl -liconv ../../../ADM_core/src/libADM_core.dylib ../../../ADM_coreUI/src/libADM_coreUI.dylib ../../../ADM_userInterfaces/ADM_render/libADM_render_gtk.dylib ../../../ADM_coreImage/src/libADM_coreImage.dylib ../../../ADM_coreUI/src/libADM_coreUI.dylib ../../../ADM_core/src/libADM_core.dylib -ldl -framework Carbon -Wl,-read_only_relocs,suppress ../../../ADM_libraries/ffmpeg/libswscale/libADM5swscale.0.dylib ../../../ADM_libraries/ffmpeg/libpostproc/libADM5postproc.51.dylib -framework Cocoa /opt/local/lib/libintl.dylib 
ld: framework not found -lCocoa
collect2: ld returned 1 exit status
make[2]: *** [avidemux/ADM_UIs/ADM_GTK/src/libADM_UIGtk.dylib] Error 1
make[1]: *** [avidemux/ADM_UIs/ADM_GTK/src/CMakeFiles/ADM_UIGtk.dir/all] Error 2
make: *** [all] Error 2
shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_avidemux/work/build" && /usr/bin/make -j4 all " returned error 2

Change History (6)

comment:1 Changed 13 years ago by KNIZEK.MILAN@…

Cc: KNIZEK.MILAN@… added

Cc Me!

comment:2 Changed 13 years ago by KNIZEK.MILAN@…

Same problem with gtk2 @2.24.4_0+no_x11+quartz

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

Summary: avidemux does not built on SnowLeopardavidemux: ld: framework not found -lCocoa

comment:4 Changed 13 years ago by jmroot (Joshua Root)

Does this still happen with the current versions? If so, can you please attach a complete log? Also show the output of:

pkg-config --libs gtk+-2.0

comment:5 Changed 13 years ago by icemac (Michael Howitz)

I migrated my Mac OS to Lion and there many compile failures occur, so the linking is not done.

comment:6 Changed 11 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: newclosed

Should be fixed by r110579.

Note: See TracTickets for help on using tickets.