Received: from libero.it (smtp-33.italiaonline.it [213.209.10.33]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 68D8E78011C for ; Wed, 19 Oct 2022 22:52:01 +0000 (UTC) Received: from [192.168.1.131] ([151.55.91.189]) by smtp-33.iol.local with ESMTPA id lHupoQvnSoFMSlHuqoqQhz; Thu, 20 Oct 2022 00:52:00 +0200 x-libjamoibt: 1601 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=libero.it; s=s2021; t=1666219920; bh=08M/eu053wbsdIaEbGza2teH7arQgjS5k+CDVTTNYAo=; h=From; b=XbLcCE3cdbLuVE2i74Vj8QHZcKB+7OO2rsNUYN/70JKe7HHKQVHV1PaAzQvH76jjr vcyiEBnyqxukO5YvrNEuQ2p1jafHUHCUfkQuxDUHGM2yzlC+FeiqzwzDhR8k2KKhdV 8UG86MxytZKZpM+toUgk7x3Mv59+UxGFZbPkPr7O2hRq/UjpPd3As9wE5I6f8J+iVv sQ411zipIG318Oc4G1sfbVPre8i9+BPgR+hwK+BHn5x16L3T4rZYB+G+J7/zoJaHVU l6gI5hDTwlU67OEvjcpy4i1Wc9IY3CFfO/SD4mLPyimY2Wpgou4PpCdsq8/MvSn1aN VLFAktDc2kJSg== X-CNFS-Analysis: v=2.4 cv=DZLSFthW c=1 sm=1 tr=0 ts=63507f90 cx=a_exe a=vVJjoVnE5M/wsSZpW9xJZA==:117 a=vVJjoVnE5M/wsSZpW9xJZA==:17 a=IkcTkHD0fZMA:10 a=YGqCIwXtwy7737WvJNAA:9 a=QEXdDO2ut3YA:10 Subject: Re: issue building a dynamic library and using it To: alice , alpine-user References: <52090166-eb5d-3a84-c2ab-eced6695e2a6@libero.it> From: Riccardo Mottola Message-ID: <49128a70-b1b1-a89a-e8cb-7986cea8faff@libero.it> Date: Thu, 20 Oct 2022 00:51:52 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:68.0) Gecko/20100101 SeaMonkey/2.53.14 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4xfEJkoTjsxVqSN379R354aR9EPAJAejBauSnnpoGpS9fXaItSzDSMup1dyMRFCmbc7uBaBm5SIIw4t/wie5lqiV8vOuZlsHMqmtKJv3Msr955UrsRrpdr KLjPm3RNWUharyPgf8mnc9zoZIMH9L27Ml3rnabL4hp76G/3YPKGwA/O7HySOTupiyZSmOROJi9m8fhuWeQvHCqtx6MfuKiZ6+9+1qx4WxI0a6THha5uELDL QRHN0xqhnXJX7t7BEWlhbQ== Hi, alice wrote: >> So... I am getting a static library even if I want a shared one, I >> suppose. Do I need some special magic? The gnustep build system is a >> little bit complicated, but supports linux & bsd well. > this entirely sounds like the gnustep build system doing something > wrong, so you have to figure out what that is. maybe it's just a > configure argument (--enable-shared --disable-static , etc) gnustep's make builds shared by default, at least on other linux systems. As you suggested, I "forced" a shared build issuing make shared=yes But it does not help. There are some quirks, for example, I explicitly need to configure with: --with-ffi-library=/usr/lib I'm not used to it: stuff in /usr/lib is usually found automatically. I wonder if this is a hint. Riccardo