Opened 13 years ago

Closed 13 years ago

#27874 closed defect (duplicate)

qt4-mac @4.7.1 fails to build No such file or directory libQtNetwork.4.dylib

Reported by: skurylo+macports@… Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: qt4-mac

Description

After applying the patch in #23284, I now receive the error:

/usr/bin/g++-4.0 -lcrypto -ldbus-1 -ljpeg -llcms -lsqlite3 -lssl -lz -arch i386 -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -single_module -dynamiclib -o libqwebview.dylib .obj/release-shared/qwebview_plugin.o .obj/release-shared/moc_qwebview_plugin.o .obj/release-shared/qrc_qwebview_plugin.o    -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-everywhere-opensource-src-4.7.1/lib -lQtWebKit -lQtDesigner -lQtScript -lQtXml -lQtGui -lQtCore  
ld: warning can't open dynamic library: /Developer/SDKs/MacOSX10.4u.sdk/opt/local/lib/libQtNetwork.4.dylib referenced from: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-everywhere-opensource-src-4.7.1/lib/libQtWebKit.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2)

Its try to find /Developer/SDKs/MacOSX10.4u.sdk/opt/local/lib/libQtNetwork.4.dylib

The file is in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-everywhere-opensource-src-4.7.1/lib/libQtNetwork.4.dylib

I'm using 10.4

Thanks.

Attachments (2)

main.log.gz (25.2 KB) - added by skurylo+macports@… 13 years ago.
Full build log
qt4-mac.patch (4.3 KB) - added by skurylo+macports@… 13 years ago.

Download all attachments as: .zip

Change History (6)

Changed 13 years ago by skurylo+macports@…

Attachment: main.log.gz added

Full build log

comment:1 Changed 13 years ago by skurylo+macports@…

I t ook your patch from #23284 and changed the names to

Based on your patch from #23284 I made a qcnetwork = QtNetwork$${QT_LIBINFIX} version. The build then progresses but misses the next file:

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-everywhere-opensource-src-4.7.1/lib/libQtWebKit.dylib

I could do this a few more times, but I don't know if there is a better place to get them all earlier in the build.

comment:2 in reply to:  1 Changed 13 years ago by skurylo+macports@…

Sorry, half edited message there. Ignore that first line.

I went ahead and did it a few more times and the build finished. I'll attached the patch.

Changed 13 years ago by skurylo+macports@…

Attachment: qt4-mac.patch added

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

Owner: changed from macports-tickets@… to michaelld@…
Port: qt4-mac added

Please remember to fill in the Port field and cc the maintainer.

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

Resolution: duplicate
Status: newclosed

The other ticket is still open, so just post any problems with the proposed patch there.

Note: See TracTickets for help on using tickets.