Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Oct 2019 01:18:36 +0200 (CEST)
From:      =?utf-8?Q?Pawe=C5=82?= Tyll <p@75.pl>
To:        erlang@FreeBSD.org
Subject:   Building from port with ODBC support enabled fails.
Message-ID:  <696664250.5542.1571008716343.JavaMail.zimbra@ofca.me>

next in thread | raw e-mail | index | archive | help
Hello!

Attempt to install erlang with ODBC support from ports results in following already reported error:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237490

Building with ODBC support disabled succeeds.

FreeBSD 12.0-RELEASE-p10 GENERIC  amd64

Kind regards.


/usr/bin/ld: error: undefined symbol: SQLAllocHandle
>>> referenced by odbcserver.c
>>>               ../priv/obj/amd64-portbld-freebsd12.0/odbcserver.o:(handle_db_request)

/usr/bin/ld: error: undefined symbol: SQLSetEnvAttr
>>> referenced by odbcserver.c
>>>               ../priv/obj/amd64-portbld-freebsd12.0/odbcserver.o:(handle_db_request)

/usr/bin/ld: error: undefined symbol: SQLAllocHandle
>>> referenced by odbcserver.c
>>>               ../priv/obj/amd64-portbld-freebsd12.0/odbcserver.o:(handle_db_request)

/usr/bin/ld: error: undefined symbol: SQLSetConnectAttr
>>> referenced by odbcserver.c
>>>               ../priv/obj/amd64-portbld-freebsd12.0/odbcserver.o:(handle_db_request)

/usr/bin/ld: error: undefined symbol: SQLSetConnectAttr
>>> referenced by odbcserver.c
>>>               ../priv/obj/amd64-portbld-freebsd12.0/odbcserver.o:(handle_db_request)

/usr/bin/ld: error: undefined symbol: SQLSetConnectAttr
>>> referenced by odbcserver.c
>>>               ../priv/obj/amd64-portbld-freebsd12.0/odbcserver.o:(handle_db_request)

/usr/bin/ld: error: undefined symbol: SQLDriverConnect
>>> referenced by odbcserver.c
>>>               ../priv/obj/amd64-portbld-freebsd12.0/odbcserver.o:(handle_db_request)

/usr/bin/ld: error: undefined symbol: SQLFreeHandle
>>> referenced by odbcserver.c
>>>               ../priv/obj/amd64-portbld-freebsd12.0/odbcserver.o:(handle_db_request)

/usr/bin/ld: error: undefined symbol: SQLFreeHandle
>>> referenced by odbcserver.c
>>>               ../priv/obj/amd64-portbld-freebsd12.0/odbcserver.o:(handle_db_request)

/usr/bin/ld: error: undefined symbol: SQLFreeHandle
>>> referenced by odbcserver.c
>>>               ../priv/obj/amd64-portbld-freebsd12.0/odbcserver.o:(handle_db_request)

/usr/bin/ld: error: undefined symbol: SQLAllocHandle
>>> referenced by odbcserver.c
>>>               ../priv/obj/amd64-portbld-freebsd12.0/odbcserver.o:(handle_db_request)

/usr/bin/ld: error: undefined symbol: SQLExecDirect
>>> referenced by odbcserver.c
>>>               ../priv/obj/amd64-portbld-freebsd12.0/odbcserver.o:(handle_db_request)

/usr/bin/ld: error: undefined symbol: SQLFreeHandle
>>> referenced by odbcserver.c
>>>               ../priv/obj/amd64-portbld-freebsd12.0/odbcserver.o:(handle_db_request)

/usr/bin/ld: error: undefined symbol: SQLAllocHandle
>>> referenced by odbcserver.c
>>>               ../priv/obj/amd64-portbld-freebsd12.0/odbcserver.o:(handle_db_request)

/usr/bin/ld: error: undefined symbol: SQLPrepare
>>> referenced by odbcserver.c
>>>               ../priv/obj/amd64-portbld-freebsd12.0/odbcserver.o:(handle_db_request)

/usr/bin/ld: error: undefined symbol: SQLFreeHandle
>>> referenced by odbcserver.c
>>>               ../priv/obj/amd64-portbld-freebsd12.0/odbcserver.o:(handle_db_request)

/usr/bin/ld: error: undefined symbol: SQLFreeHandle
>>> referenced by odbcserver.c
>>>               ../priv/obj/amd64-portbld-freebsd12.0/odbcserver.o:(handle_db_request)

/usr/bin/ld: error: undefined symbol: SQLDisconnect
>>> referenced by odbcserver.c
>>>               ../priv/obj/amd64-portbld-freebsd12.0/odbcserver.o:(handle_db_request)

/usr/bin/ld: error: undefined symbol: SQLFreeHandle
>>> referenced by odbcserver.c
>>>               ../priv/obj/amd64-portbld-freebsd12.0/odbcserver.o:(handle_db_request)

/usr/bin/ld: error: undefined symbol: SQLFreeHandle
>>> referenced by odbcserver.c
>>>               ../priv/obj/amd64-portbld-freebsd12.0/odbcserver.o:(handle_db_request)

/usr/bin/ld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)
cc: error: linker command failed with exit code 1 (use -v to see invocation)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?696664250.5542.1571008716343.JavaMail.zimbra>