Page 1 of 1

libpthreads.so in SDK update missing?

Posted: Thu May 05, 2022 9:06 am
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

Re: libpthreads.so in SDK update missing?

Posted: Thu Jun 30, 2022 12:48 am
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.

Re: libpthreads.so in SDK update missing?

Posted: Thu Jun 30, 2022 1:55 pm
by Raziel
I see, any reason for that?

Thank you

Re: libpthreads.so in SDK update missing?

Posted: Thu Jun 30, 2022 9:04 pm
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.

Re: libpthreads.so in SDK update missing?

Posted: Sat Jul 02, 2022 2:11 pm
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