Skip to content

Conversation

@chris-allan
Copy link
Contributor

Follow on from #191 which sets a much earlier lowest common denominator that matches TileDB-Py.

In pursuing a manylinux2010 based build the openssl library lookups were
failing when building cURL; likely because of misuse of the
`--with-ssl` configure flag.  As currently structured the configure
generated cURL Makefile does not correctly add multilib paths to the
linker search paths due to pkgconfig metadata not being used.
Specifying `with-ssl` with a path creates this scenario.  If
openssl can find multilib [1] directories during the configure
phase of the build it will use them.  Currently, via cmake in
this repository, TileDB will be built in such a way that openssl
will be built after the `lib64` multilib directory has been created.

TileDB-Py, which also uses a manylinux2010 build, has these same
structural problems but includes Azure support by default.  This
changes the external dependency build order, openssl comes up first,
the `lib64` directoriy is missing `LIBDIR` is set to `lib` and the
rest of the build completes successfully.

Not wanting to hack on the TileDB build itself the easiest solution
was to add Azure support to TileDB-Java.  It also has the nice side
effect of including the support.

 1. https://github.com/openssl/openssl/blob/OpenSSL_1_1_0h/Configurations/unix-Makefile.tmpl#L147-L155
@gsvic gsvic self-requested a review September 17, 2020 12:11
@Shelnutt2 Shelnutt2 merged commit e83a31e into TileDB-Inc:master Sep 17, 2020
@Shelnutt2
Copy link
Member

@chris-allan thanks for the PR! We'll rebase #192 on this and then cut a new release for you to test out.

@chris-allan
Copy link
Contributor Author

Working off the snapshot [1] currently deployed by the build of master lib/libtiledb.so is missing somehow. I'll go back to the build and see what's happening there.

  1. https://oss.sonatype.org/index.html#view-repositories;snapshots~browsestorage~/io/tiledb/tiledb-java/0.3.3-SNAPSHOT/tiledb-java-0.3.3-20200917.125922-5.jar

@chris-allan
Copy link
Contributor Author

Fix for the above issue (I think) proposed as #195.

@chris-allan
Copy link
Contributor Author

Looking good:

$ uname -an
Linux ... 3.10.0-1127.13.1.el7.x86_64 #1 SMP Tue Jun 23 15:46:38 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
$ cat /etc/redhat-release
CentOS Linux release 7.8.2003 (Core)
$ java -cp tiledb-java-0.3.3-20200917.174703-7.jar examples.io.tiledb.java.api.TileDBVersion
TileDB v2.0.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants