[Bug 262464] databases/mariadb-connector-odbc: Undefined symbol "libiconv_open" with isql on INSERT, UPDATE or SELECT

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 10 Mar 2022 11:58:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262464

            Bug ID: 262464
           Summary: databases/mariadb-connector-odbc: Undefined symbol
                    "libiconv_open" with isql on INSERT, UPDATE or SELECT
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: brnrd@freebsd.org
          Reporter: james@elstone.net
          Assignee: brnrd@freebsd.org
             Flags: maintainer-feedback?(brnrd@freebsd.org)

When using databases/mariadb-connector-odbc and attempting to action any SQL
commands that return a non-zero result set causes the following error:

# /usr/local/bin/isql -v Database_ODBC_Name
+---------------------------------------+
| Connected!                            |
|                                       |
| sql-statement                         |
| help [tablename]                      |
| quit                                  |
|                                       |
+---------------------------------------+
SQL> insert into persons (id,name,surname,password) values
(1,'Jack','Jones','***');
ld-elf.so.1: /usr/local/lib/mariadb/libmaodbc.so: Undefined symbol
"libiconv_open"


CREATE and DROP do not cause the issue, or results that have 0 rows returned.

Fudged a fix locally to include the USES line from databases/mariadb106-server
seemed to work, but did have "WITH_LIBICONV_COMPAT=1" set in /etc/make.conf,
e.g.:

< USES=cmake:insource ssl
> USES=bison:build cmake:insource compiler:c++11-lib cpe iconv:translit libedit ncurses shebangfix ssl

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