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 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? After checking configure script, I tried
something like this:

LIBS="$LIBS -lpthread" make

However it did not solve the problem.
Mayuresh


Home | Main Index | Thread Index | Old Index