Il giorno mar 24 ago 2021 alle ore 09:45 karthik krishna < [email protected]> ha scritto:
> Hi, > trying to install opensmtpd and getting below error i have already > installed the dependency libasr > so not sure why this is occurring? > Anyone able to assist? > > /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 > collect2: error: ld returned 1 exit status > make[3]: *** [Makefile:740: smtpd] Error 1 > make[3]: Leaving directory '/tmp/SBo/opensmtpd-6.6.4p1/mk/smtpd' > make[2]: *** [Makefile:371: all-recursive] Error 1 > make[2]: Leaving directory '/tmp/SBo/opensmtpd-6.6.4p1/mk' > make[1]: *** [Makefile:418: all-recursive] Error 1 > make[1]: Leaving directory '/tmp/SBo/opensmtpd-6.6.4p1' > make: *** [Makefile:350: all] Error 2 > Hi karthik, 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". if you really want to build the version presently in the repo change this line in the SlackBuild CFLAGS="$SLKCFLAGS -D_DEFAULT_SOURCE" \ with CFLAGS="$SLKCFLAGS -D_DEFAULT_SOURCE -fcommon" \ but if you want to use it in production I suggest you to copy the script somewhere and try managing updating it yourself... Matteo
_______________________________________________ SlackBuilds-users mailing list [email protected] https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/ FAQ - https://slackbuilds.org/faq/
