buildroot/package/erlang
Bernd Kuhls f33fcdf225 package/erlang: add optional dependency to unixodbc
Quote from erlang configure without unixodbc:

checking for odbc in standard locations... no
configure: WARNING: No odbc library found skipping odbc
configure: WARNING: "ODBC library - header check failed"
configure: WARNING: "ODBC library - link check failed"

Quote from erlang configure with unixodbc:

checking for odbc in standard locations... -L/home/buildroot/br3_couchdb/output/host/usr/i586-buildroot-linux-uclibc/sysroot/usr/lib
checking for SQLAllocHandle in -lodbc... yes

To check for unixodbc support used by erlang use readelf:

$ output/host/usr/bin/i586-buildroot-linux-uclibc-readelf -a output/target/usr/lib/erlang/lib/odbc-2.11.1/priv/bin/odbcserver | grep NEEDED
 0x00000001 (NEEDED)                     Shared library: [libodbc.so.2]
 0x00000001 (NEEDED)                     Shared library: [libc.so.0]

Tested using this minimal defconfig:

BR2_PACKAGE_ERLANG=y
BR2_PACKAGE_ERLANG_SMP=y
BR2_PACKAGE_UNIXODBC=y

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Tested-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-10-25 22:57:16 +02:00
..
0001-build-fix.patch package/erlang: fix detection of libatomic_ops 2015-01-04 21:26:07 +01:00
0002-erts-ethread-instruct-libatomic_ops-we-do-require-CA.patch package/erlang: fix detection of libatomic_ops 2015-01-04 21:26:07 +01:00
0003-erts-emulator-reorder-inclued-headers-paths.patch package/erlang: fix build issue with pcre package 2015-02-08 21:43:53 +01:00
Config.in erlang: enable compilation on mipsel 2016-07-01 00:44:36 +02:00
erlang.hash erlang: bump to version 18.3 2016-03-22 20:19:19 +01:00
erlang.mk package/erlang: add optional dependency to unixodbc 2016-10-25 22:57:16 +02:00