pkgsrc-Users archive

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

Re: cannot dlopen non loadable libpthread error



On Tue, Feb 21, 2012 at 10:25:58PM +0530, Mayuresh wrote:
> On Tue, Feb 21, 2012 at 05:45:49PM +0100, Joerg Sonnenberger wrote:
> > On Tue, Feb 21, 2012 at 10:11:31PM +0530, Mayuresh wrote:
> > > I get the following error when building gobject-introspection:
> > > 
> > > ImportError: Cannot dlopen non-loadable /usr/lib/libpthread.so.1
> > > 
> > > Any leads on this?
> > 
> > Make sure the main program is linked with -lpthread.
> > 
> > Joerg
> 
> What is the best way to do that?

Besides, the error message seems to be coming from python which already
links pthread. (I assume in this context python is the "main" program.)

Traceback (most recent call last):
  File "./g-ir-scanner", line 44, in <module>
    from giscanner.scannermain import scanner_main
  File "./giscanner/scannermain.py", line 34, in <module>
    from giscanner.dumper import compile_introspection_binary
  File "./giscanner/dumper.py", line 28, in <module>
    from .gdumpparser import IntrospectionBinary
  File "./giscanner/gdumpparser.py", line 31, in <module>
    from .transformer import TransformerException
  File "./giscanner/transformer.py", line 27, in <module>
    from .girparser import GIRParser
  File "./giscanner/girparser.py", line 26, in <module>
    from .girwriter import COMPATIBLE_GIR_VERSION
  File "./giscanner/girwriter.py", line 25, in <module>
    from .xmlwriter import XMLWriter
  File "./giscanner/xmlwriter.py", line 74, in <module>
    from _giscanner import collect_attributes
  File "./giscanner/libtoolimporter.py", line 66, in load_module
    mod = imp.load_module(name, open(realpath), realpath, (extension,
'rb', 3))
ImportError: Cannot dlopen non-loadable /usr/lib/libpthread.so.1



Home | Main Index | Thread Index | Old Index