[Qt-interest] QHelpEngine error: library not found for -lQtCLucene

Thiago Macieira thiago at kde.org
Mon Jan 4 12:43:31 CET 2010


Please reply to the mailing list, not me.

Em Segunda-feira 4. Janeiro 2010, às 12.05.43, você escreveu:
> This is the xcodebuild output:
> 
> Ld
> /Users/xxx/svn/trunk/src/build/Release/balanceblocks.app/Contents/MacOS/bal
> anceblocks normal i386
>      cd /Users/xxx/svn/trunk/src
>      setenv MACOSX_DEPLOYMENT_TARGET 10.3
>      /Developer/usr/bin/g++-4.0 -arch i386 -isysroot
> /Developer/SDKs/MacOSX10.5.sdk -L/Users/xxx/svn/trunk/src/build/Release
> -L/Developer/SDKs/MacOSX10.5.sdk/Library/Frameworks
> -L/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks
> -F/Users/xxx/svn/trunk/src/build/Release -filelist
> /Users/xxx/svn/trunk/src/tmp/obj/balanceblocks.build/Release/balanceblocks.
> build/Objects-normal/i386/balanceblocks.LinkFileList
>  -mmacosx-version-min=10.3 -headerpad_max_install_names
> -L/Library/Frameworks -F/Library/Frameworks -lQtCLucene -lz -lm
> -framework IOBluetooth -framework OpenThreads -framework osg -framework
> osgViewer -framework osgText -framework osgGA -framework osgDB
> -framework osgUtil -framework osgParticle -framework QtHelp -framework
> QtWebKit -framework phonon -framework QtDBus -framework QtNetwork
> -framework SystemConfiguration -framework QtSvg -framework QtSql
> -framework QtXml -framework QtOpenGL -framework QtGui -framework Carbon
> -framework AppKit -framework QtCore -framework ApplicationServices
> -framework OpenGL -framework AGL -o
> /Users/xxx/svn/trunk/src/build/Release/balanceblocks.app/Contents/MacOS/bal
> anceblocks ld: library not found for -lQtCLucene
> collect2: ld returned 1 exit status
> ** BUILD FAILED **
> 
> The libQtCLucene isn't anywhere on my system, but when we remove the
> dependency from the makefile, it works anyway. Maybe this is the way we
> have to solve it.

Yes, it shouldn't be in the command-line. That's the weird part: QtHelp's .pro 
file has QtCLucene listed as LIBS_PRIVATE, meaning it should not appear in your 
application's link command-line. Yet it's there.

Can you paste the contents of libQtHelp.prl?

Also, libQtCLucene is somewhere on your system. Where, I don't know, but it is 
surely there.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100104/5b54addc/attachment.bin 


More information about the Qt-interest-old mailing list