On Thu, May 19, 2011 at 3:30 PM, Reto Schneider
<[email protected]> wrote:
> On 05/19/2011 05:03 PM, Stuart Henderson wrote:
>> glib2 is now built with threads enabled so anything directly or indirectly
>> pulling this in (in this case via gtk+2) must either also be built with 
>> threads,
>> or must be run with LD_PRELOAD=/usr/lib/libpthread.so
>
> Sorry for my ignorance, but what exactly is the reason that it does not load 
> its dependencies on its
> own? I think I should not have to care about the dependencies of gvc/glib2, 
> instead those libs
> should be linked to them and the system should load it.
>
> Is there something OpenBSD specific or did I miss something?

On OpenBSD, libraries do not generally depend on other libraries.

One reason for this is that it ensures your link lines are complete,
so everything will also work when statically linking for example.

Reply via email to