<div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno mar 24 ago 2021 alle ore 09:45 karthik krishna <<a href="mailto:karthikkris23@gmail.com">karthikkris23@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Hi,<div>trying to install opensmtpd and getting below error i have already installed the dependency libasr</div><div>so not sure why this is occurring?</div><div>Anyone able to assist?</div><div><br></div><div><div>/usr/bin/ld: ../../openbsd-compat/libopenbsd-compat.a(fparseln.o):(.bss+0x8): multiple definition of `BSDoptarg'; ../../smtpd/smtpd-aliases.o:(.bss+0x8): first defined h</div><div>collect2: error: ld returned 1 exit status</div><div>make[3]: *** [Makefile:740: smtpd] Error 1</div><div>make[3]: Leaving directory '/tmp/SBo/opensmtpd-6.6.4p1/mk/smtpd'</div><div>make[2]: *** [Makefile:371: all-recursive] Error 1</div><div>make[2]: Leaving directory '/tmp/SBo/opensmtpd-6.6.4p1/mk'</div><div>make[1]: *** [Makefile:418: all-recursive] Error 1</div><div>make[1]: Leaving directory '/tmp/SBo/opensmtpd-6.6.4p1'</div><div>make: *** [Makefile:350: all] Error 2</div></div></div></div></blockquote><div><br></div><div><div style="font-size:x-small" class="gmail_default">Hi karthik,</div><div style="font-size:x-small" class="gmail_default"><br></div><div style="font-size:x-small" class="gmail_default">please note that opensmtpd is not maintained anymore on SBo and will soon be removed: the version we have in the repo is, using Robby's words, "insecurely out of date".</div><div style="font-size:x-small" class="gmail_default"><br></div><div style="font-size:x-small" class="gmail_default">if you really want to build the version presently in the repo change this line in the SlackBuild<br></div><div style="font-size:x-small" class="gmail_default"><br></div><div style="font-size:x-small" class="gmail_default">CFLAGS="$SLKCFLAGS -D_DEFAULT_SOURCE" \</div><div style="font-size:x-small" class="gmail_default"><br></div><div style="font-size:x-small" class="gmail_default">with</div><div style="font-size:x-small" class="gmail_default"><br></div><div style="font-size:x-small" class="gmail_default">CFLAGS="$SLKCFLAGS -D_DEFAULT_SOURCE -fcommon" \</div><div style="font-size:x-small" class="gmail_default"><br></div><div style="font-size:x-small" class="gmail_default">but if you want to use it in production I suggest you to copy the script somewhere and try managing updating it yourself...<br></div><div style="font-size:x-small" class="gmail_default"><br></div><div style="font-size:x-small" class="gmail_default">Matteo<br></div></div></div></div>