[Bug 257672] mail/vpopmail "ld: error: duplicate symbol: MYSQL_READ_DATABASE" Freebsd 13.0-Release-p3

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 20 Jan 2023 21:11:43 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257672

Joe <joe@cirkuit.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |joe@cirkuit.net

--- Comment #5 from Joe <joe@cirkuit.net> ---
This patch doesn't work for me. I know it has been a while but does anyone else
have any suggestions?

# uname -a
FreeBSD suppressed 13.1-RELEASE FreeBSD 13.1-RELEASE
releng/13.1-n250148-fc952ac2212 GENERIC amd64

make  all-recursive
Making all in cdb
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing 
-fstack-protector-strong -o vconvert vconvert.o libvpopmail.a 
-L/usr/local/lib/mysql  -lmysqlclient -lz -lm -lcrypt
ld: error: duplicate symbol: MYSQL_READ_SERVER
>>> defined at vconvert.c
>>>            vconvert.o:(MYSQL_READ_SERVER)
>>> defined at vauth.c
>>>            libvpopmail_a-vauth.o:(.bss+0x8) in archive libvpopmail.a

ld: error: duplicate symbol: MYSQL_READ_SOCKET
>>> defined at vconvert.c
>>>            vconvert.o:(MYSQL_READ_SOCKET)
>>> defined at vauth.c
>>>            libvpopmail_a-vauth.o:(.bss+0x10) in archive libvpopmail.a

ld: error: duplicate symbol: MYSQL_READ_PORT
>>> defined at vconvert.c
>>>            vconvert.o:(MYSQL_READ_PORT)
>>> defined at vauth.c
>>>            libvpopmail_a-vauth.o:(.bss+0x18) in archive libvpopmail.a

ld: error: duplicate symbol: MYSQL_READ_USER
>>> defined at vconvert.c
>>>            vconvert.o:(MYSQL_READ_USER)
>>> defined at vauth.c
>>>            libvpopmail_a-vauth.o:(.bss+0x20) in archive libvpopmail.a

ld: error: duplicate symbol: MYSQL_READ_PASSWD
>>> defined at vconvert.c
>>>            vconvert.o:(MYSQL_READ_PASSWD)
>>> defined at vauth.c
>>>            libvpopmail_a-vauth.o:(.bss+0x28) in archive libvpopmail.a

ld: error: duplicate symbol: MYSQL_READ_DATABASE
>>> defined at vconvert.c
>>>            vconvert.o:(MYSQL_READ_DATABASE)
>>> defined at vauth.c
>>>            libvpopmail_a-vauth.o:(.bss+0x30) in archive libvpopmail.a

ld: error: duplicate symbol: MYSQL_UPDATE_SERVER
>>> defined at vconvert.c
>>>            vconvert.o:(MYSQL_UPDATE_SERVER)
>>> defined at vauth.c
>>>            libvpopmail_a-vauth.o:(.bss+0x38) in archive libvpopmail.a

ld: error: duplicate symbol: MYSQL_UPDATE_SOCKET
>>> defined at vconvert.c
>>>            vconvert.o:(MYSQL_UPDATE_SOCKET)
>>> defined at vauth.c
>>>            libvpopmail_a-vauth.o:(.bss+0x60) in archive libvpopmail.a

ld: error: duplicate symbol: MYSQL_UPDATE_PORT
>>> defined at vconvert.c
>>>            vconvert.o:(MYSQL_UPDATE_PORT)
>>> defined at vauth.c
>>>            libvpopmail_a-vauth.o:(.bss+0x40) in archive libvpopmail.a

ld: error: duplicate symbol: MYSQL_UPDATE_USER
>>> defined at vconvert.c
>>>            vconvert.o:(MYSQL_UPDATE_USER)
>>> defined at vauth.c
>>>            libvpopmail_a-vauth.o:(.bss+0x48) in archive libvpopmail.a

ld: error: duplicate symbol: MYSQL_UPDATE_PASSWD
>>> defined at vconvert.c
>>>            vconvert.o:(MYSQL_UPDATE_PASSWD)
>>> defined at vauth.c
>>>            libvpopmail_a-vauth.o:(.bss+0x50) in archive libvpopmail.a

ld: error: duplicate symbol: MYSQL_UPDATE_DATABASE
>>> defined at vconvert.c
>>>            vconvert.o:(MYSQL_UPDATE_DATABASE)
>>> defined at vauth.c
>>>            libvpopmail_a-vauth.o:(.bss+0x58) in archive libvpopmail.a

ld: error: duplicate symbol: MYSQL_UPDATE_VPORT
>>> defined at vconvert.c
>>>            vconvert.o:(MYSQL_UPDATE_VPORT)
>>> defined at vauth.c
>>>            libvpopmail_a-vauth.o:(.bss+0x2224) in archive libvpopmail.a
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/mail/vpopmail/work/vpopmail-5.4.33
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/mail/vpopmail/work/vpopmail-5.4.33
*** Error code 1

Stop.
make: stopped in /usr/ports/mail/vpopmail/work/vpopmail-5.4.33

-- 
You are receiving this mail because:
You are the assignee for the bug.