Re: Error trying to compile cone

Sam Varshavchik <[email protected]> Sun, 16 Mar 2025 20:28:48 -0400
Newsgroups gmane.mail.imap.courier.general
Message-ID <[email protected]>
anfibiosdeasturias-2--- via courier-users writes:

> std::char_traits<char>, std::allocator<char> > const&,  
> std::__cxx11::basic_string<char, std::char_traits<char>,  
> std::allocator<char> > const&)'
> /usr/bin/ld: mailtool: hidden symbol `_ZN7unicode8iconvertclEPKcm' isn't  
> defined

This is a link error with the libcourier-unicode. Since you're building cone  
from source, libcourier-unicode must be built and installed, from source,  
first.

Given that this is a link error, and not a compilation error, that suggests  
that you tried to build the current libcourier-unicode, from source, and  
cone correctly found its header files, however there's still an older  
libcourier-unicode version installed, most likely the older version that's  
packaged with Debian or Ubuntu. So:

Uninstall Debian/Ubuntu's libcourier-unicode and libcourier-unicode-dev  
packages.

Download, compile, and build the current version of libcourier-unicode:  
https://www.courier-mta.org/unicode/INSTALL.html

Install the newly-build libcourier-unicode and libcourier-unicode-dev  
packages.

Now proceed and build cone.

_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYKAB0WIQRupkKLJP96aW75pIOKYPgoojZS4gUCZ9dswAAKCRCKYPgoojZS
4rq+AQD2Hez1fHeW/yeVZpX+wK/eM+H/BsztZ71kMSiO9lQS6gEA53vmDDUlDlxF
inS7s1zeyqOsT2Mk+kSPJeDRwMGvCw4=
=zHJR
-----END PGP SIGNATURE-----