Skip to content

Instantly share code, notes, and snippets.

@vinhdizzo
Created March 2, 2013 17:14
Show Gist options
  • Save vinhdizzo/5072032 to your computer and use it in GitHub Desktop.
Save vinhdizzo/5072032 to your computer and use it in GitHub Desktop.
$ pwd
/Users/Vnguyen/Downloads/mysql-connector-odbc-5.1.12-src
$make
[ 7%] Built target myodbc3u
Linking C shared module ../lib/libmyodbc5.so
Undefined symbols for architecture x86_64:
"_dynstr_append", referenced from:
_build_where_clause in cursor.c.o
(maybe you meant: _dynstr_append_quoted_name)
"_dynstr_append_mem", referenced from:
_mysql_procedure_columns in catalog_no_i_s.c.o
_build_where_clause in cursor.c.o
_my_SQLSetPos in cursor.c.o
_batch_insert in cursor.c.o
_build_set_clause in cursor.c.o
_insert_pk_fields in cursor.c.o
_append_all_fields in cursor.c.o
...
"_dynstr_append_os_quoted", referenced from:
_mysql_procedure_columns in catalog_no_i_s.c.o
"_dynstr_free", referenced from:
_mysql_procedure_columns in catalog_no_i_s.c.o
_my_SQLSetPos in cursor.c.o
_do_my_pos_cursor in execute.c.o
"_dynstr_realloc", referenced from:
_dynstr_append_quoted_name in utility.c.o
"_init_dynamic_string", referenced from:
_mysql_procedure_columns in catalog_no_i_s.c.o
_my_SQLSetPos in cursor.c.o
_do_my_pos_cursor in execute.c.o
"_strfill", referenced from:
_str_to_ts in utility.c.o
_get_fractional_part in utility.c.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lib/libmyodbc5.so] Error 1
make[1]: *** [driver/CMakeFiles/myodbc5.dir/all] Error 2
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment