libpthreads.so in SDK update missing?

Have a question about our Software Developer Kit? Ask them here.
Post Reply
User avatar
Raziel
Posts: 1170
Joined: Sat Jun 18, 2011 4:00 pm
Location: a dying planet

libpthreads.so in SDK update missing?

Post by Raziel »

Hi there,

i have a quick question since i stumbled over it today.

In SDK 53.34 there are only the static (.a) library version of libpthread (both clib2 and newlib) in the pthreads-53.12.lha package, but no .so variants.
There *is* however a libpthread.so in the AmigaOS4 FE update 2 install drawer (Content/Workbench/SObjs).

Was that an oversight, or is the SOBjs one not suited for use in the SDK?

Just checking, because i keep getting random crashes with libpthread.so (an older variant) from SDK.

Thank you
People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
User avatar
walkero
Site Admin
Posts: 62
Joined: Mon Dec 20, 2010 2:05 pm
Location: Athens/Dublin
Contact:

Re: libpthreads.so in SDK update missing?

Post by walkero »

@Raziel
I am sorry for the late reply. libtrhead.so is not coming with the SDK for some time now, but there should be a soft link under SDK:local/newlib/lib/libtrhead.so that points to SOBJS:libtrhead.so . If not, then you might need to create it manually.
If you develop or want to develop for AmigaOS 4.x, then join us at OS4Coding.net
User avatar
Raziel
Posts: 1170
Joined: Sat Jun 18, 2011 4:00 pm
Location: a dying planet

Re: libpthreads.so in SDK update missing?

Post by Raziel »

I see, any reason for that?

Thank you
People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
User avatar
walkero
Site Admin
Posts: 62
Joined: Mon Dec 20, 2010 2:05 pm
Location: Athens/Dublin
Contact:

Re: libpthreads.so in SDK update missing?

Post by walkero »

You ask why this is linked to an SOBJS item in the SDK? I found that this happens when cairo package is installed. That makes me think that this could be a requirement when the library is used in a program, and you need to link with the library.

Haven't checked since when this is happening, but this existed in previous versions of the SDK for a long time now.
If you develop or want to develop for AmigaOS 4.x, then join us at OS4Coding.net
User avatar
Raziel
Posts: 1170
Joined: Sat Jun 18, 2011 4:00 pm
Location: a dying planet

Re: libpthreads.so in SDK update missing?

Post by Raziel »

@walkero

I just wondered why there are physical copies of sobjs and then there are softlinks, both mixed together in sobjs:.

Never understood the reason.

I'm more for softlinks to point to one place where the sobjs gets updated...otherwise you are bound for trouble once obsolete versions gets in the way...or provide the mandatory sobjs for every app.

Thanks a lot for the hints
People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Post Reply