On 2024/03/03 16:42:55 -0800, Andi Vajda <[email protected]> wrote:
>
> On Sun, 3 Mar 2024, Omar Polo wrote:
>
> > ouch! Don't know much of how pkgsrc works, but this seems strange. Can
> > you make sure the users were created? `grep smtp /etc/passwd' should be
> > enough.
>
> Yes, both users exist. I created them with id 1012 and 1013 and they work
> fine with 7.3.0p2 built from a source download (ie, not from pkgsrc).
> Here is the part of my /etc/passwd file with these two users:
> _smtpd:*:1012:1003:SMTP Daemon:/var/empty:/sbin/nologin
> _smtpq:*:1013:1004:SMTPD Queue:/var/empty:/sbin/nologin
Then I'm afraid I don't have a clue.
> > Can you try passing explicitly CFLAGS and LDFLAGS instead of --with-libssl?
> >
> > ./configure CFLAGS='-I/home/vajda/libressl-3.8.2/local/ -I/usr/pkg' \
Sorry, I made a typo. It should be
./configure CFLAGS='-I/home/vajda/libressl-3.8.2/local/include/
-I/usr/pkg/include'
I missed the /include at the end of both -I args.
If it still doesn't work, can you please include the `config.log' file?
Feel free to send it off-list.
> > LDFLAGS='-L/home/vajda/libressl-3.8.2/local/lib
> > -Wl,-rpath,/home/vajda/libressl-3.8.2/local/lib -L/usr/pkg/lib' \
> > --prefix=`pwd`/local \
> > --with-path-queue=/var/spool/smtpd \
> > --with-path-empty=/var/empty \
> > --with-path-mbox=`pwd`/local/var/mbox \
> > --with-path-socket=/var/run \
> > --with-path-pidfile=/var/run
>
> I tried that now and configure still fails with the same error:
> checking whether LibreSSL's headers match the library... no
> configure: error: Your LibreSSL headers do not match your library.
>
> Andi..
Thanks,
Omar Polo