[MacPorts] #34856: qt4-mac 4.8.2: ld: library not found for -ljpeg

MacPorts noreply at macports.org
Thu Jun 14 07:48:55 PDT 2012


#34856: qt4-mac 4.8.2: ld: library not found for -ljpeg
-------------------------------+--------------------------------------------
 Reporter:  iie4ehbka@…        |       Owner:  michaelld@…           
     Type:  defect             |      Status:  new                   
 Priority:  Normal             |   Milestone:                        
Component:  ports              |     Version:  2.1.1                 
 Keywords:                     |        Port:  qt4-mac               
-------------------------------+--------------------------------------------

Comment(by iie4ehbka@…):

 versions:
 {{{
 MBP81:~ ii343hbka$ uname -a
 Darwin MBP81.local 11.4.0 Darwin Kernel Version 11.4.0: Mon Apr  9
 19:32:15 PDT 2012; root:xnu-1699.26.8~1/RELEASE_X86_64 x86_64
 MBP81:~ ii343hbka$ xcodebuild -version
 Xcode 4.2.1
 Build version 4D502
 MBP81:~ ii343hbka$ port version
 Version: 2.1.1
 }}}

 and i'm sure about logs.
 i just saw an error and try to resolve the place where it occurred
 i saw error at 8649 line in logfile that i attach
 than i try to do it by myself and get that error with libjpeg linking

 Maybe Qt4 qjpeghandler.o somehow depends on libjpeg

 and as you can see to lines upper your log there is
 {{{
 :info:build rm -f libqjpeg.dylib
 :info:build /usr/bin/llvm-g++-4.2 -headerpad_max_install_names -arch
 x86_64 -arch i386 -Wl,-syslibroot,/Developer/SDKs/MacOSX10.7.sdk
 -single_module -dynamiclib -Xarch_x86_64 -mmacosx-version-min=10.7 -o
 libqjpeg.dylib .obj/release-shared/qjpeghandler.o .obj/release-
 shared/main.o    -ljpeg
 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt4-mac/qt4-mac/work
 /qt-everywhere-opensource-src-4.8.2/lib -lQtGui -lQtCore
 }}}
 so i think it's really Qt problem :(

-- 
Ticket URL: <https://trac.macports.org/ticket/34856#comment:7>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list