Subject: Re: bug#13550: problem with linking libpthread

From: Roumen Petrov <[email-masked]>
Date: Fri, 25 Jan 2013 23:44:58 +0200

Petr Hracek wrote:
> Hi Folks,
>
> I have received bug which seems to be relevant to libtool
> https://bugzilla.redhat.com/show_bug.cgi?id=661333
> []
>
> How can it be solved? 
Dunno.

> It seems to be a bug in libtool, right?
No. All is fine in my environment where most of packages are without 
vendor patches and linux distribution is different.

> Can it be a problem with ordering of lib flags in libtool?
May be you cannot use -rpath /lib in you build environment (1% 
probability).

Check libtool configuration for search path
$ libtool --config | grep _path

Note if you change compiler you must rebuild libtool.
Some projects force root library directory to be before user path in 
'library search path' and usual result is link failure.

Roumen