Skip to content
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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

O2Graphics
Copy link

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"

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"
@O2Graphics
Copy link
Author

Also, while installing "mariadb-connector-odbc", I got this warning:
ldconfig: warning: /usr/local/lib/mariadbconnector-odbc: No such file or directory

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.

@O2Graphics O2Graphics changed the title Fix a few compilation problem Fix a few compilation problems Apr 17, 2017
@O2Graphics
Copy link
Author

Up, @Sp1l ? :-)

@O2Graphics
Copy link
Author

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.
Will later test with MariaDB 10.2.x on FreeBSD 11.1.

@O2Graphics
Copy link
Author

O2Graphics commented Aug 1, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants