# Kibana 7.0.1 does not work with centos 8 base image

**URL:** <https://discuss.elastic.co/t/kibana-7-0-1-does-not-work-with-centos-8-base-image/219603>\
**Category:** Kibana\
**Created:** [February 17, 2020, 11:32am UTC](https://discuss.elastic.co/t/kibana-7-0-1-does-not-work-with-centos-8-base-image/219603 "2020-02-17T11:32:17Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![akshatsharma](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/akshatsharma/32/84179_2.png) [@akshatsharma](https://discuss.elastic.co/u/akshatsharma)\
**Post date:** [February 17, 2020, 11:32am UTC](https://discuss.elastic.co/t/kibana-7-0-1-does-not-work-with-centos-8-base-image/219603/1 "2020-02-17T11:32:17Z")

</div>

Hi,

I was using `kibana-oss 7.0.1` with `centos 7` as base image which was working fine.  
Now we are migrating to `centos 8` and I am able to build kibana image with centos 8. I am facing problem while runnnig this newly built kibana image where I am getting following error message:

```
/usr/share/kibana/bin/../node/bin/node: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

```

Could anyone please help me resolve this?

Best Regards,  
Akshat

---

<div class="post-metadata">

**Author:** ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)\
**Post date:** [February 18, 2020, 8:50pm UTC](https://discuss.elastic.co/t/kibana-7-0-1-does-not-work-with-centos-8-base-image/219603/2 "2020-02-18T20:50:02Z")

</div>

We only support 64bit architectures.

---

<div class="post-metadata">

**Author:** ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)\
**Post date:** [February 18, 2020, 8:51pm UTC](https://discuss.elastic.co/t/kibana-7-0-1-does-not-work-with-centos-8-base-image/219603/3 "2020-02-18T20:51:44Z")

</div>

Also curious why you're not just using our Docker images?

[https://www.docker.elastic.co/](https://www.docker.elastic.co/)

---

<div class="post-metadata">

**Author:** ![akshatsharma](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/akshatsharma/32/84179_2.png) [@akshatsharma](https://discuss.elastic.co/u/akshatsharma)\
**Post date:** [February 24, 2020, 5:34am UTC](https://discuss.elastic.co/t/kibana-7-0-1-does-not-work-with-centos-8-base-image/219603/4 "2020-02-24T05:34:56Z")

</div>

@tylersmalley  
Thank you for response.

> [@](#):
>
> We only support 64bit architectures.

What do you mean by this? Is the library `libstdc++.so.6` not 64 bit?

I am building kibana docker using kibana rpm for now.  
Just wanted to check if kibana 7.0.1 rpm or later versions or kibana support centos 8?

Best Regards,  
Akshat

---

<div class="post-metadata">

**Author:** ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)\
**Post date:** [February 25, 2020, 10:25pm UTC](https://discuss.elastic.co/t/kibana-7-0-1-does-not-work-with-centos-8-base-image/219603/5 "2020-02-25T22:25:36Z")

</div>

It's not officially supported since we are not currently QA'ing on CentOS 8, but I don't see anything preventing using it at the moment.

What is the baseimage you're using, and have you verified it's 64bit?

And do you mind sharing the reasoning for creating your own Kibana image from scratch?

---

<div class="post-metadata">

**Author:** ![akshatsharma](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/akshatsharma/32/84179_2.png) [@akshatsharma](https://discuss.elastic.co/u/akshatsharma)\
**Post date:** [March 4, 2020, 12:41pm UTC](https://discuss.elastic.co/t/kibana-7-0-1-does-not-work-with-centos-8-base-image/219603/6 "2020-03-04T12:41:22Z")

</div>

Hi @tylersmalley

> [@](#):
>
> And do you mind sharing the reasoning for creating your own Kibana image from scratch?

I currently don' have access to [https://www.docker.elastic.co/](https://www.docker.elastic.co/) so I am using my base image and installing kibana rpm on top of it to build my image.  
Also, I am using a lighter base image to build kibana docker. This is to reduce kibana image size.

I resolved the error by manully installing `libstdc++` package. Now I am able to build the image and it is runnig fine. Could you please verify if this approach of installing `libstdc++` manually is correct?

Best Regards,  
Akshat

---

<div class="post-metadata">

**Author:** ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)\
**Post date:** [March 4, 2020, 4:59pm UTC](https://discuss.elastic.co/t/kibana-7-0-1-does-not-work-with-centos-8-base-image/219603/7 "2020-03-04T16:59:10Z")

</div>

Looks like that should be fine.

---

<div class="post-metadata">

**Author:** ![akshatsharma](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/akshatsharma/32/84179_2.png) [@akshatsharma](https://discuss.elastic.co/u/akshatsharma)\
**Post date:** [March 5, 2020, 11:20am UTC](https://discuss.elastic.co/t/kibana-7-0-1-does-not-work-with-centos-8-base-image/219603/8 "2020-03-05T11:20:51Z")

</div>

Okay, great! Thanks a lot !

---

<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:** [April 2, 2020, 11:20am UTC](https://discuss.elastic.co/t/kibana-7-0-1-does-not-work-with-centos-8-base-image/219603/9 "2020-04-02T11:20:52Z")

</div>

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