New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #19162 (closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

qt4-mac 4.5.0 on Tiger: can't open dynamic library: /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon

Reported by: remifontan@… Owned by: michaelld@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: tiger Cc: clubjuggler@…, mcalhoun@…, ryandesign@…
Port: qt4-mac

Description (last modified by macsforever2000@…) (diff)

I get those errors when I compile qt4-mac

# port list qt4-mac
qt4-mac                        @4.5.0          aqua/qt4-mac
# port -d install qt4-mac
...

/usr/bin/g++-4.0 -headerpad_max_install_names -o ../../../../bin/Assistant.app/Contents/MacOS/Assistant .obj/debug-shared/fontpanel.o .obj/debug-shared/helpviewer.o .obj/debug-shared/main.o .obj/debug-shared/mainwindow.o .obj/debug-shared/indexwindow.o .obj/debug-shared/topicchooser.o .obj/debug-shared/contentwindow.o .obj/debug-shared/searchwidget.o .obj/debug-shared/preferencesdialog.o .obj/debug-shared/filternamedialog.o .obj/debug-shared/centralwidget.o .obj/debug-shared/installdialog.o .obj/debug-shared/bookmarkmanager.o .obj/debug-shared/remotecontrol.o .obj/debug-shared/cmdlineparser.o .obj/debug-shared/aboutdialog.o .obj/debug-shared/qtdocinstaller.o .obj/debug-shared/moc_fontpanel.o .obj/debug-shared/moc_helpviewer.o .obj/debug-shared/moc_mainwindow.o .obj/debug-shared/moc_indexwindow.o .obj/debug-shared/moc_topicchooser.o .obj/debug-shared/moc_contentwindow.o .obj/debug-shared/moc_searchwidget.o .obj/debug-shared/moc_preferencesdialog.o .obj/debug-shared/moc_filternamedialog.o .obj/debug-shared/moc_centralwidget.o .obj/debug-shared/moc_installdialog.o .obj/debug-shared/moc_bookmarkmanager.o .obj/debug-shared/moc_remotecontrol.o .obj/debug-shared/moc_aboutdialog.o .obj/debug-shared/moc_qtdocinstaller.o .obj/debug-shared/qrc_assistant.o .obj/debug-shared/qrc_assistant_images.o   -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.5.0/lib -L/opt/local/lib -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.5.0/lib -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.5.0/plugins/sqldrivers -framework QtHelp -lQtCLucene -L/opt/local/lib -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.5.0/lib -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.5.0/lib -framework QtWebKit -framework QtSql -framework QtXml -framework QtGui -framework Carbon -framework AppKit -framework QtNetwork -framework QtCore -lz -lm -framework ApplicationServices
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: warning can't open dynamic library: /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon referenced from: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.5.0/lib/QtWebKit.framework/QtWebKit (checking for undefined symbols may be affected) (No such file or directory, errno = 2)
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: warning can't open dynamic library: /opt/local/libexec/qt4-mac/lib/QtDBus.framework/Versions/4/QtDBus referenced from: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.5.0/lib/QtWebKit.framework/QtWebKit (checking for undefined symbols may be affected) (No such file or directory, errno = 2)
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols:
Phonon::createPath(Phonon::MediaNode*, Phonon::MediaNode*)referenced from QtWebKit expected to be defined in /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
Phonon::AudioOutput::setMuted(bool) referenced from QtWebKit expected to be defined in /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
Phonon::AudioOutput::setVolume(double)referenced from QtWebKit expected to be defined in /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
Phonon::AudioOutput::AudioOutput(QObject*)referenced from QtWebKit expected to be defined in /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
Phonon::MediaObject::setCurrentSource(Phonon::MediaSource const&)referenced from QtWebKit expected to be defined in /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
Phonon::MediaObject::play()     referenced from QtWebKit expected to be defined in /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
Phonon::MediaObject::seek(long long)referenced from QtWebKit expected to be defined in /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
Phonon::MediaObject::pause()     referenced from QtWebKit expected to be defined in /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
Phonon::MediaObject::MediaObject(QObject*)referenced from QtWebKit expected to be defined in /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
Phonon::MediaSource::MediaSource(QUrl const&)referenced from QtWebKit expected to be defined in /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
Phonon::MediaSource::~MediaSource()referenced from QtWebKit expected to be defined in /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
Phonon::VideoWidget::VideoWidget(QWidget*)referenced from QtWebKit expected to be defined in /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
Phonon::Path::~Path()referenced from QtWebKit expected to be defined in /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
Phonon::MediaObject::isSeekable() const referenced from QtWebKit expected to be defined in /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
Phonon::MediaObject::currentTime() const referenced from QtWebKit expected to be defined in /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
Phonon::MediaObject::state() constreferenced from QtWebKit expected to be defined in /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
Phonon::MediaObject::hasVideo() constreferenced from QtWebKit expected to be defined in /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
Phonon::MediaObject::errorType() constreferenced from QtWebKit expected to be defined in /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
Phonon::MediaObject::totalTime() constreferenced from QtWebKit expected to be defined in /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
collect2: ld returned 1 exit status
make[4]: *** [../../../../bin/Assistant.app/Contents/MacOS/Assistant] Error 1
make[3]: *** [sub-assistant-make_default-ordered] Error 2
make[2]: *** [sub-tools-make_default-ordered] Error 2
make[1]: *** [sub-assistant-make_default-ordered] Error 2
make: *** [sub-tools-make_default-ordered] Error 2
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.5.0" && make first " returned error 2
Command output: cd assistant/ && make -f Makefile 
/usr/bin/g++-4.0 -headerpad_max_install_names -o ../../../../bin/Assistant.app/Contents/MacOS/Assistant .obj/debug-shared/fontpanel.o .obj/debug-shared/helpviewer.o .obj/debug-shared/main.o .obj/debug-shared/mainwindow.o .obj/debug-shared/indexwindow.o .obj/debug-shared/topicchooser.o .obj/debug-shared/contentwindow.o .obj/debug-shared/searchwidget.o .obj/debug-shared/preferencesdialog.o .obj/debug-shared/filternamedialog.o .obj/debug-shared/centralwidget.o .obj/debug-shared/installdialog.o .obj/debug-shared/bookmarkmanager.o .obj/debug-shared/remotecontrol.o .obj/debug-shared/cmdlineparser.o .obj/debug-shared/aboutdialog.o .obj/debug-shared/qtdocinstaller.o .obj/debug-shared/moc_fontpanel.o .obj/debug-shared/moc_helpviewer.o .obj/debug-shared/moc_mainwindow.o .obj/debug-shared/moc_indexwindow.o .obj/debug-shared/moc_topicchooser.o .obj/debug-shared/moc_contentwindow.o .obj/debug-shared/moc_searchwidget.o .obj/debug-shared/moc_preferencesdialog.o .obj/debug-shared/moc_filternamedialog.o .obj/debug-shared/moc_centralwidget.o .obj/debug-shared/moc_installdialog.o .obj/debug-shared/moc_bookmarkmanager.o .obj/debug-shared/moc_remotecontrol.o .obj/debug-shared/moc_aboutdialog.o .obj/debug-shared/moc_qtdocinstaller.o .obj/debug-shared/qrc_assistant.o .obj/debug-shared/qrc_assistant_images.o   -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.5.0/lib -L/opt/local/lib -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.5.0/lib -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.5.0/plugins/sqldrivers -framework QtHelp -lQtCLucene -L/opt/local/lib -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.5.0/lib -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.5.0/lib -framework QtWebKit -framework QtSql -framework QtXml -framework QtGui -framework Carbon -framework AppKit -framework QtNetwork -framework QtCore -lz -lm -framework ApplicationServices
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: warning can't open dynamic library: /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon referenced from: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.5.0/lib/QtWebKit.framework/QtWebKit (checking for undefined symbols may be affected) (No such file or directory, errno = 2)
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: warning can't open dynamic library: /opt/local/libexec/qt4-mac/lib/QtDBus.framework/Versions/4/QtDBus referenced from: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.5.0/lib/QtWebKit.framework/QtWebKit (checking for undefined symbols may be affected) (No such file or directory, errno = 2)
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols:
Phonon::createPath(Phonon::MediaNode*, Phonon::MediaNode*)referenced from QtWebKit expected to be defined in /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
Phonon::AudioOutput::setMuted(bool) referenced from QtWebKit expected to be defined in /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
Phonon::AudioOutput::setVolume(double)referenced from QtWebKit expected to be defined in /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
Phonon::AudioOutput::AudioOutput(QObject*)referenced from QtWebKit expected to be defined in /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
Phonon::MediaObject::setCurrentSource(Phonon::MediaSource const&)referenced from QtWebKit expected to be defined in /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
Phonon::MediaObject::play()     referenced from QtWebKit expected to be defined in /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
Phonon::MediaObject::seek(long long)referenced from QtWebKit expected to be defined in /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
Phonon::MediaObject::pause()     referenced from QtWebKit expected to be defined in /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
Phonon::MediaObject::MediaObject(QObject*)referenced from QtWebKit expected to be defined in /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
Phonon::MediaSource::MediaSource(QUrl const&)referenced from QtWebKit expected to be defined in /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
Phonon::MediaSource::~MediaSource()referenced from QtWebKit expected to be defined in /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
Phonon::VideoWidget::VideoWidget(QWidget*)referenced from QtWebKit expected to be defined in /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
Phonon::Path::~Path()referenced from QtWebKit expected to be defined in /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
Phonon::MediaObject::isSeekable() const referenced from QtWebKit expected to be defined in /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
Phonon::MediaObject::currentTime() const referenced from QtWebKit expected to be defined in /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
Phonon::MediaObject::state() constreferenced from QtWebKit expected to be defined in /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
Phonon::MediaObject::hasVideo() constreferenced from QtWebKit expected to be defined in /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
Phonon::MediaObject::errorType() constreferenced from QtWebKit expected to be defined in /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
Phonon::MediaObject::totalTime() constreferenced from QtWebKit expected to be defined in /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon
collect2: ld returned 1 exit status
make[4]: *** [../../../../bin/Assistant.app/Contents/MacOS/Assistant] Error 1
make[3]: *** [sub-assistant-make_default-ordered] Error 2
make[2]: *** [sub-tools-make_default-ordered] Error 2
make[1]: *** [sub-assistant-make_default-ordered] Error 2
make: *** [sub-tools-make_default-ordered] Error 2

I've seen that other people go that error previously and that it got fixed, no idea why it's still happening to me.

Attachments

output.log.tar.bz2 (137.7 KB) - added by remifontan@… 4 years ago.
compilation log

Change History

comment:1 Changed 4 years ago by macsforever2000@…

  • Cc clubjuggler@… added
  • Owner changed from macports-tickets@… to erickt@…
  • Port set to qt4-mac
  • Description modified (diff)

comment:2 Changed 4 years ago by mcalhoun@…

  • Cc mcalhoun@… added

Cc Me!

comment:3 in reply to: ↑ description Changed 4 years ago by mcalhoun@…

Replying to remifontan@…:

I've seen that other people go that error previously and that it got fixed, no idea why it's still happening to me.

Where was this error previously reported?

comment:4 Changed 4 years ago by remifontan@…

I found a similar case here : http://osdir.com/ml/lib.qt.general/2008-05/msg00304.html however i wasn't trying anything as static...

another similar error there : http://www.qtsoftware.com/developer/task-tracker/index_html?id=225604&method=entry

comment:5 Changed 4 years ago by mcalhoun@…

Unfortunately, I do not have a 10.4 machine to work with, so you may have to bear with me to track down the problem.

Just to rule out the usual suspects:

  • You're running the latest XCode for 10.4?
  • You're running the latest MacPorts (port selfupdate)?
  • All you MacPorts packages are up to date (port upgrade outdated)?

If the answers to all these questions are yes, could you please attach the output of:

port clean qt4-mac; port -d install qt4-mac > output.log

From the output provided earlier, I do not see any obvious errors, so maybe the extra information
will help.

Changed 4 years ago by remifontan@…

compilation log

comment:6 Changed 4 years ago by remifontan@…

I've the latest version of macport, updated all my ports, compiled qt4-mac again and still the same errors. see attached log for more details.

cheers

comment:7 Changed 4 years ago by mcalhoun@…

I am sorry, but I can not seem to find what the error could be.
I will try to find out if anyone has gotten qt4-mac working on 10.4.

comment:8 Changed 4 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

comment:9 Changed 3 years ago by ryandesign@…

  • Keywords tiger added
  • Cc ryandesign@… added
  • Summary changed from cannot compilte Qt4-mac on OS X 10.4 to qt4-mac 4.5.0 on Tiger: can't open dynamic library: /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon

The attachment shows the errors can't open dynamic library: /opt/local/libexec/qt4-mac/lib/phonon.framework/Versions/4/phonon and can't open dynamic library: /opt/local/libexec/qt4-mac/lib/QtDBus.framework/Versions/4/QtDBus; this is understandable since those files don't exist since they've just been built and haven't been installed yet. The "similar" cases cited above do not appear to be the same problem.

The log attached here is for qt4-mac 4.5.0; I believe the same error, updated for 4.6.2, is reported in #23284.

comment:10 Changed 3 years ago by michaelld@…

Is this issue still relevant as of r72571 with qt4-mac being at 4.7.0?

comment:11 Changed 3 years ago by michaelld@…

  • Status changed from new to assigned
  • Owner changed from erickt@… to michaelld@…

comment:12 Changed 3 years ago by michaelld@…

  • Status changed from assigned to closed
  • Resolution set to fixed

This issue should be fixed with the bump to 4.7.1, in r73343, if not before. So, I'm closing this ticket in the belief that it is fixed -- I don't have a 10.4 box on which to do testing. Please do reopen if the issue of this ticket is not addressed for you.

Note: See TracTickets for help on using tickets.