Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

editors/Sigil vs. binutils-2.23



Hi!

I'm confused by editors/Sigil breakage:

Linking CXX executable ../../bin/sigil
ld: /scratch/editors/Sigil/work/.buildlink/qt4/lib/libQtCore.so: undefined 
reference to symbol 'pthread_cancel'
ld: note: 'pthread_cancel' is defined in DSO /usr/lib/libpthread.so.1 so try 
adding it to the linker command line
/usr/lib/libpthread.so.1: could not read symbols: Invalid operation
*** Error code 1

The Sigil source code does not use pthread_cancel. QtCore itself is
linked against pthread:

# ldd /usr/pkg/qt4/lib/libQtCore.so                                             
                                                                                
                                                   
/usr/pkg/qt4/lib/libQtCore.so:
        -lz.1 => /usr/lib/libz.so.1
        -lgcc_s.1 => /usr/lib/libgcc_s.so.1
        -lc.12 => /usr/lib/libc.so.12
        -lstdc++.7 => /usr/lib/libstdc++.so.7
        -lm.0 => /usr/lib/libm.so.0
        -lpthread.1 => /usr/lib/libpthread.so.1

So where is the problem?
 Thomas


Home | Main Index | Thread Index | Old Index