You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Marton Szasz (Jira)" <ji...@apache.org> on 2022/08/25 16:03:00 UTC

[jira] [Commented] (MINIFICPP-1926) libiodbc sometimes fails to compile

    [ https://issues.apache.org/jira/browse/MINIFICPP-1926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17584914#comment-17584914 ] 

Marton Szasz commented on MINIFICPP-1926:
-----------------------------------------

Maybe invalid, I had other issues with the same unclean build directory.

> libiodbc sometimes fails to compile
> -----------------------------------
>
>                 Key: MINIFICPP-1926
>                 URL: https://issues.apache.org/jira/browse/MINIFICPP-1926
>             Project: Apache NiFi MiNiFi C++
>          Issue Type: Bug
>            Reporter: Marton Szasz
>            Priority: Major
>
> I just got this error:
> {{/usr/bin/ld: thirdparty/iodbc-install//lib/libiodbc.a(odbc3.o): warning: relocation against `_iodbcdm_attr_connection_pooling' in read-only section `.text'}}
> {{/usr/bin/ld: thirdparty/iodbc-install//lib/libiodbc.a(catalog.o): relocation R_X86_64_PC32 against symbol `iodbcdm_global_lock' can not be used when making a shared object; recompile with -fPIC}}
> {{/usr/bin/ld: final link failed: bad value}}
> {{collect2: error: ld returned 1 exit status}}
> {{make[2]: *** [extensions/sql/CMakeFiles/minifi-sql.dir/build.make:317: bin/libminifi-sql.so] Error 1}}
> {{make[1]: *** [CMakeFiles/Makefile2:8076: extensions/sql/CMakeFiles/minifi-sql.dir/all] Error 2}}
> {{make[1]: *** Waiting for unfinished jobs....}}
> We probably need to compile everything with -fPIC. We already compile most things with this flag, but iodbc seems to be an exception.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)