macOS Big Sur: Compiling and linking on macOS Big Sur using cyrussasl-2.1.28 genrating .so plugin library files instead of dylib library files

[email protected] Fri, 13 Oct 2023 09:28:34 -0400
Newsgroups gmane.comp.security.cyrus.sasl
Message-ID <[email protected]>
--16972037141.adDe8ae.16175
Date: Fri, 13 Oct 2023 09:28:34 -0400
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hello Everyone,

I'm using the latest Cyrus SASL source version 2.1.28 found here (https://g=
ithub.com/cyrusimap/cyrus-sasl/releases) with name: cyrus-sasl-2.1.28.tar.g=
z file into macOS Big Sur (11.7.9) for compiling the code.=C2=A0 When I run=
 the following commands to compile the code:
cd cyrus-sasl-2.1.28
./configure
make
I found that the sasl2 library is found in "lib/.libs" folder as :
libsasl2.dylib -> libsasl2.3.dylib
libsasl2.la -> ../libsasl2.la
I found the .so files in plugins folder found in "plugins/.libs" as:
libcrammd5.3.so
libdigestmd5.3.so
libgssapiv2.3.so
libotp.3.so
libplain.3.so
libsasldb.3.so
libscram.3.so

As you can see the build is generating .so files instead of .dylib files fo=
r plugins, where as it is generating .dylib for libsasl2 library. Is there =
a way to change the configure script or Makefile.in or other build files in=
 plugins folder or elsewhere so it can generate .dylib libraries in plugins=
 instead of .so libraries on macOS platform?

Please help.

Regards
Sree
------------------------------------------
Cyrus: SASL
Permalink: https://cyrus.topicbox.com/groups/sasl/Tfbe4c4eac4242275-M6a171d=
0bcf4d29677e554a0c
Delivery options: https://cyrus.topicbox.com/groups/sasl/subscription

--16972037141.adDe8ae.16175
Date: Fri, 13 Oct 2023 09:28:34 -0400
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html>
<html><html><html><body><div>Hello Everyone,<br /></div><div><br /></div><d=
iv>I&#39;m using the latest Cyrus SASL source version 2.1.28 found here (<a=
 href=3D"https://github.com/cyrusimap/cyrus-sasl/releases">https://github.c=
om/cyrusimap/cyrus-sasl/releases</a>) with name: cyrus-sasl-2.1.28.tar.gz f=
ile into macOS Big Sur (11.7.9) for compiling the code.&nbsp; When I run th=
e following commands to compile the code:<br /></div><pre style=3D"margin:7=
px 0;border-radius:3px;border:1px solid #ccc;padding:7px 10px;background:#f=
6f6f6;font-family:menlo,consolas,monospace;font-size:90%;white-space:pre-wr=
ap;word-wrap:break-word;overflow-wrap:break-word;">cd cyrus-sasl-2.1.28
./configure
make<br /></pre><div><div><div>I found that the sasl2 library is found in &=
quot;lib/.libs&quot; folder as :<br /></div></div></div><pre style=3D"margi=
n:7px 0;border-radius:3px;border:1px solid #ccc;padding:7px 10px;background=
:#f6f6f6;font-family:menlo,consolas,monospace;font-size:90%;white-space:pre=
-wrap;word-wrap:break-word;overflow-wrap:break-word;">libsasl2.dylib -&gt; =
libsasl2.3.dylib
libsasl2.la -&gt; ../libsasl2.la<br /></pre><div>I found the .so files in p=
lugins folder found in &quot;plugins/.libs&quot; as:<br /></div><pre style=
=3D"margin:7px 0;border-radius:3px;border:1px solid #ccc;padding:7px 10px;b=
ackground:#f6f6f6;font-family:menlo,consolas,monospace;font-size:90%;white-=
space:pre-wrap;word-wrap:break-word;overflow-wrap:break-word;">libcrammd5.3=
.so
libdigestmd5.3.so
libgssapiv2.3.so
libotp.3.so
libplain.3.so
libsasldb.3.so
libscram.3.so<br /></pre><div><br /></div><div>As you can see the build is =
generating .so files instead of .dylib files for plugins, where as it is ge=
nerating .dylib for libsasl2 library. Is there a way to change the configur=
e script or Makefile.in or other build files in plugins folder or elsewhere=
 so it can generate .dylib libraries in plugins instead of .so libraries on=
 macOS platform?<br /></div><div><br /></div><div>Please help.<br /></div><=
div><br /></div><div>Regards<br /></div><div>Sree<br /></div><div id=3D"top=
icbox-footer" style=3D"margin:10px 0 0;border-top:1px solid #ddd;border-col=
or:rgba(0,0,0,.15);padding:7px 0;">

<strong><a href=3D"https://cyrus.topicbox.com/latest" style=3D"color:inheri=
t;text-decoration:none">Cyrus</a></strong>
  / SASL / see
<a href=3D"https://cyrus.topicbox.com/groups/sasl">discussions</a>
  +
<a href=3D"https://cyrus.topicbox.com/groups/sasl/members">participants</a>
  +
<a href=3D"https://cyrus.topicbox.com/groups/sasl/subscription">delivery&nb=
sp;options</a>
<a href=3D"https://cyrus.topicbox.com/groups/sasl/Tfbe4c4eac4242275-M6a171d=
0bcf4d29677e554a0c" style=3D"float:right">Permalink</a>
</div>
</body></html></html></html>=

--16972037141.adDe8ae.16175--