Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#27612 closed defect (duplicate)

phonon: library not found for -lphonon

Reported by: bjoern.ricks@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: phonon qt4 kde Cc:
Port: phonon

Description (last modified by ryandesign (Ryan Carsten Schmidt))

The following ports are currently installed:
  qt4-mac @4.6.3_6+mysql (active)

I am not sure if qt4.7 is required for the phonon port but currently I am not able to update my qt version and I wan't to compile some KDE software and therefore phonon is a requirement.

/usr/bin/g++-4.2 -headerpad_max_install_names -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -single_module -dynamiclib -o libphonon_qt7.dylib quicktimevideoplayer.o backendheader.o medianodevideopart.o medianodeevent.o audiooutput.o backendinfo.o audiosplitter.o audioeffects.o quicktimestreamreader.o medianode.o backend.o mediaobject.o mediaobjectaudionode.o audiomixer.o quicktimeaudioplayer.o videoframe.o quicktimemetadata.o audiodevice.o audioconnection.o audiograph.o audionode.o videowidget.o  -F/opt/local/libexec/qt4-mac/lib -L/opt/local/libexec/qt4-mac/lib -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_phonon/work/phonon-4.4.2/build/lib -lphonon -Xarch_x86_64 -framework QuickTime -framework AppKit -framework AudioUnit -framework AudioToolbox -framework CoreAudio -framework QuartzCore -framework QTKit -framework QtOpenGL -L/opt/local/libexec/qt4-mac/lib -F/opt/local/libexec/qt4-mac/lib -framework QtGui -framework QtCore -framework OpenGL -framework AGL  
ld: library not found for -lphonon
collect2: ld returned 1 exit status
make[3]: *** [../../../build/plugins/phonon_backend/libphonon_qt7.dylib] Error 1
make[2]: *** [sub-qt7-all] Error 2
make[1]: *** [sub-phonon-all] Error 2
make: *** [sub-plugins-all-ordered] Error 2
shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_phonon/work/phonon-4.4.2" && /usr/bin/make -j2 all " returned error 2
Error: Target org.macports.build returned: shell command failed (see log for details)

Change History (2)

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

Description: modified (diff)
Resolution: duplicate
Status: newclosed
Summary: build of phonon failsphonon: library not found for -lphonon

Please use WikiFormatting so your posts are legible, and please search for existing tickets before filing a new one. This is a duplicate of #27526.

comment:2 Changed 14 years ago by michaelld (Michael Dickens)

Responding to the OP: The Phonon port is meant to be used with the latest qt4-mac port. Environment and CMake variables are set pointing Qt to ${prefix}/include and ${prefix}/lib for everyone. qt4-mac 4.6 series was installed into ${prefix}/libexec/qt4-mac, which in general will not be found by CMake -- except through the QMake variables assuming qt4_select is installed and set to link in qt4-mac. Let's tackle your other ticket (#27611) first, and I think that this one will then resolve itself.

Note: See TracTickets for help on using tickets.