On Tue, Oct 28, 2025 at 06:07:43PM +0000, otto.cooper wrote:
> I see the problem with both version 2 and version 16.
>
> > doas pkg_add postfix
> quirks-7.147 signed on 2025-10-27T14:11:10Z
> Ambiguous: choose package for postfix
> a 0: <None>
> 1: postfix-3.5.25p0
> 2: postfix-3.10.1p3v0 <------------
> 3: postfix-3.5.25p0-ldap
> 4: postfix-3.10.1p3v0-ldap
> 5: postfix-3.5.25p0-sasl2-ldap
> 6: postfix-3.10.1p3v0-sasl2-ldap
> 7: postfix-3.5.25p0-mysql
> 8: postfix-3.10.1p3v0-mysql
> 9: postfix-3.5.25p0-sasl2-mysql
> 10: postfix-3.10.1p3v0-sasl2-mysql
> 11: postfix-3.5.25p0-pgsql
> 12: postfix-3.10.1p3v0-pgsql
> 13: postfix-3.5.25p0-sasl2-pgsql
> 14: postfix-3.10.1p3v0-sasl2-pgsql
> 15: postfix-3.5.25p0-sasl2
> 16: postfix-3.10.1p3v0-sasl2 <--------
>
> Besides, the warning is about libc++, which comes with the OS.
>
> Reading around I learned about recent changes made by OpenBSD to libc++ which
> may be the cause of the warning.
>
> On Tuesday, October 28th, 2025 at 5:32 PM, Otto Moerbeek <[email protected]>
> wrote:
>
> > On Tue, Oct 28, 2025 at 03:35:56PM +0000, otto.cooper wrote:
> >
> > > I just installed postfix, so it should have installed the libc it
> > > requires?
> >
> >
> > Ok, then I don't know immediately, but as there are a lof of versions
> > available, please give more details.
> >
> > > -------- Original Message --------
> > > On Tuesday, 10/28/25 at 08:12 Otto Moerbeek [email protected] wrote:
> > > On Tue, Oct 28, 2025 at 06:50:46AM +0000, otto.cooper wrote:
> > >
> > > > > postfix:/usr/lib/libc++.so.12.0: undefined symbol '__stderr'
> > >
> > > You didn't upgrade your packages properly.
> > >
> > > -Otto
The postfix package itself is not linked against libc++
$ ldd /usr/local/sbin/postfix
/usr/local/sbin/postfix:
Start End Type Open Ref GrpRef Name
000009ff61b5d000 000009ff61b99000 exe 2 0 0
/usr/local/sbin/postfix
00000a019d31c000 00000a019d4ea000 rlib 0 1 0
/usr/local/lib/libsqlite3.so.37.34
00000a01dcd84000 00000a01dcde5000 rlib 0 1 0
/usr/local/lib/libpcre2-8.so.0.7
00000a025ee27000 00000a025ee34000 rlib 0 2 0
/usr/lib/libpthread.so.28.0
00000a01abd3e000 00000a01abe44000 rlib 0 1 0
/usr/lib/libc.so.102.0
00000a016c00a000 00000a016c03b000 rlib 0 1 0
/usr/lib/libm.so.10.1
00000a022098f000 00000a02209ad000 rlib 0 1 0
/usr/lib/libz.so.7.1
00000a018d6b5000 00000a018d6b5000 ld.so 0 1 0
/usr/libexec/ld.so
I don't know postfix, but does you config load some plugin or something similar?
-Otto