-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix a few compilation problems #1
base: master
Are you sure you want to change the base?
Conversation
First: it was trying to download from "http://[url]/mariadb/-connector-odbc-2.0.14/source/mariadb-connector-odbc-2.0.14-ga-src.tar.gz" instead of "http://[url]/mariadb/connector-odbc-2.0.14/source/mariadb-connector-odbc-2.0.14-ga-src.tar.gz" (dash before "connector…") Second: I don't know where the error comes from, but it needed "mariadbconnector-c" instead of "mariadb-connector-c" for its dependencies. In logs: "===> mariadb-connector-odbc-2.0.14 depends on package: mariadb-connector-c>=2.3.0 - not found ===> Installing existing package /packages/All/mariadbconnector-c-2.3.1_1.txz"
Fix a few compilation problem
Also, while installing "mariadb-connector-odbc", I got this warning: The package install "/usr/local/libdata/ldconfig/mariadb-connector-odbc", so the Makefile should probably be changed to correct this warning. But I don't know how. |
Up, @Sp1l ? :-) |
Well, I've just updated to be compatible with mariadb-connector-c 3.0.2 from official ports. Works perfectly well with MariaDB 10.1.25 + unixODBC 2.3.4 + asterisk13 13.17.0 on FreeBSD 11.0. |
I've just added OpenSSL/LibreSSL as a depency, or else the command "isql -v MySQL" was throwing the error: "/usr/local/lib/libmaodbc.so: Undefined symbol "CRYPTO_get_id_callback"". Tested with libressl-devel 2.6.0 on FreeBSD 11.1. Associated FreeBSD bug report: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218645 |
First: it was trying to download from "http://[url]/mariadb/-connector-odbc-2.0.14/source/mariadb-connector-odbc-2.0.14-ga-src.tar.gz" instead of "http://[url]/mariadb/connector-odbc-2.0.14/source/mariadb-connector-odbc-2.0.14-ga-src.tar.gz" (dash before "connector…")
Second: I don't know where the error comes from, but it needed "mariadbconnector-c" instead of "mariadb-connector-c" for its dependencies. In logs:
"===> mariadb-connector-odbc-2.0.14 depends on package: mariadb-connector-c>=2.3.0 - not found
===> Installing existing package /packages/All/mariadbconnector-c-2.3.1_1.txz"