# Please distribute libjffi-1.2.so for s390x

**URL:** <https://discuss.elastic.co/t/please-distribute-libjffi-1-2-so-for-s390x/102304>\
**Category:** Logstash\
**Created:** [September 29, 2017, 7:32pm UTC](https://discuss.elastic.co/t/please-distribute-libjffi-1-2-so-for-s390x/102304 "2017-09-29T19:32:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![benjsmi](https://avatars.discourse-cdn.com/v4/letter/b/9fc29f/32.png) [@benjsmi](https://discuss.elastic.co/u/benjsmi)\
**Post date:** [September 29, 2017, 7:32pm UTC](https://discuss.elastic.co/t/please-distribute-libjffi-1-2-so-for-s390x/102304/1 "2017-09-29T19:32:47Z")

</div>

When I download the latest stable Logstash from [here](https://www.elastic.co/downloads/logstash), which at the time of writing is v5.6.2, I see a structure of folders that has me perplexed. There is a compiled shared object binary called `libjffi` that is required to run Logstash. I am trying to run Logstash on the s390x architecture.

Seen here:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/0/d/0dc1ae4fb51c1e165844b27614b38325e7633b97.png)

Typically, what people [have done](https://github.com/linux-on-ibm-z/docs/wiki/Building-Logstash) is download the libjffi source and just compiled it dutifully on s390x to get libjffi-1.2.so.

Back when I first encountered this situation, I looked for days and days, scouring the internet for a place where I could Just **download** libjffi-1.2.so. I found it for x86\_64 and several other common architectures in Debian's repositories as well as Ubuntus package repositories, but I couldn't find it for s390x. So I understood why it wasn't included in the Logstash build.

**NOW** however, I can see it available right [here](https://packages.ubuntu.com/xenial/s390x/libjffi-jni/filelist). And indeed, when I do `apt-get install libjffi-jni` on my s390x server, I get a shared object file I can put into the vendor directory shown above and everything works OK.

My question/request is: could we not have this included in the build, given that you can now just grab it from an Ubuntu repository? If there's some other reason why it can't be done, I'd love to hear it--maybe I can help!

Thanks!  
Ben

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [September 29, 2017, 8:35pm UTC](https://discuss.elastic.co/t/please-distribute-libjffi-1-2-so-for-s390x/102304/2 "2017-09-29T20:35:03Z")

</div>

> [@benjsmi](#):
>
> s390x server

What is this exactly?

---

<div class="post-metadata">

**Author:** ![benjsmi](https://avatars.discourse-cdn.com/v4/letter/b/9fc29f/32.png) [@benjsmi](https://discuss.elastic.co/u/benjsmi)\
**Post date:** [October 2, 2017, 1:51pm UTC](https://discuss.elastic.co/t/please-distribute-libjffi-1-2-so-for-s390x/102304/3 "2017-10-02T13:51:53Z")

</div>

[https://wiki.ubuntu.com/S390X](https://wiki.ubuntu.com/S390X)

s390x is IBM System Z. Ubuntu at least definitely distributes binaries/packages for this platform. [https://packages.ubuntu.com/xenial/s390x/libjffi-jni/download](https://packages.ubuntu.com/xenial/s390x/libjffi-jni/download)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 30, 2017, 1:52pm UTC](https://discuss.elastic.co/t/please-distribute-libjffi-1-2-so-for-s390x/102304/4 "2017-10-30T13:52:31Z")

</div>

Closed on October 30, 2017, 1:52pm UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
