[m-users.] Building the ODBC library fails

Volker Wysk post at volker-wysk.de
Sat Jan 15 19:28:34 AEDT 2022


Am Samstag, dem 15.01.2022 um 14:35 +1100 schrieb Julien Fischer:
> Using mmc --make to compile libodbc will not work unless you do
> something equivalent to what the Mmakefile does.  Since this all seems
> to be very system-dependent, I can't say exactly what will work on your
> system.  On mine (CentOS 7, unixODBC 2.3.1), the following did:
> 
>     $ mmc --cflag "-DMODBC_UNIX" --cflag "-DMODBC_MYSQL" -lodbc \
>         -lpthread -ldl --make libodb

Yes, this works. Installation works too (with "mmc ... libodbc.install").
Thanks!

My system is an Ubuntu 20.04, with UnixODBC 2.3.6.

Cheers, Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.mercurylang.org/archives/users/attachments/20220115/1f6a9038/attachment.sig>


More information about the users mailing list