# PBS 20.0.1 Within 32-bit Docker container

**URL:** <https://community.openpbs.org/t/pbs-20-0-1-within-32-bit-docker-container/2473>\
**Category:** Users/Site Administrators\
**Created:** [February 5, 2021, 2:19pm UTC](https://community.openpbs.org/t/pbs-20-0-1-within-32-bit-docker-container/2473 "2021-02-05T14:19:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tardis89](https://avatars.discourse-cdn.com/v4/letter/t/c67d28/32.png) [@tardis89](https://community.openpbs.org/u/tardis89)\
**Post date:** [February 5, 2021, 2:19pm UTC](https://community.openpbs.org/t/pbs-20-0-1-within-32-bit-docker-container/2473/1 "2021-02-05T14:19:03Z")

</div>

I have successfully built and configured openpbs 20.0.1 server, execution and client all within Ubuntu 18 environments. However, we also utilize 32-bit Ubuntu 12.04 and 32-bit Ubuntu 14.04.6 Docker containers that we would like to call openpbs from within the container. Is there a way to get openpbs built in 32-bit mode? I have tried building it and Python is throwing errors complaining about expat when I run the configure script.

The output and error is below:

checking for python3 platform… linux  
checking for python3 script directory… {prefix}/lib/python3.6/site-packages checking for python3 extension module directory... {exec\_prefix}/lib/python3.6/site-packages  
checking for expat… configure: error: expat shared object library not found.

---

<div class="post-metadata">

**Author:** ![vstumpf](https://avatars.discourse-cdn.com/v4/letter/v/dbc845/32.png) [@vstumpf](https://community.openpbs.org/u/vstumpf)\
**Post date:** [February 8, 2021, 7:14pm UTC](https://community.openpbs.org/t/pbs-20-0-1-within-32-bit-docker-container/2473/2 "2021-02-08T19:14:59Z")

</div>

Is expat installed? You can specify a path to expat with `--with-expat=DIR` as an argument to configure.

---

<div class="post-metadata">

**Author:** ![tardis89](https://avatars.discourse-cdn.com/v4/letter/t/c67d28/32.png) [@tardis89](https://community.openpbs.org/u/tardis89)\
**Post date:** [February 15, 2021, 1:32pm UTC](https://community.openpbs.org/t/pbs-20-0-1-within-32-bit-docker-container/2473/3 "2021-02-15T13:32:46Z")

</div>

That was one of many problems that I had. I was building it within a docker 14.04 x86 container and I had to modify some of the ./configure script in order for it to build since the libraries were in a different location than the script was looking.

---

<div class="post-metadata">

**Author:** ![Chase](https://avatars.discourse-cdn.com/v4/letter/c/76d3ee/32.png) [@Chase](https://community.openpbs.org/u/Chase)\
**Post date:** [June 18, 2021, 2:57am UTC](https://community.openpbs.org/t/pbs-20-0-1-within-32-bit-docker-container/2473/4 "2021-06-18T02:57:05Z")

</div>

> [@tardis89](#):
>
> However, we also utilize 32-bit Ubuntu 12.04 and 32-bit Ubuntu 14.04.6 Docker containers that we would like to call openpbs from within the container.

I’m in the same situation. Did you have any success building pbs in your docker containers? I’ve gotten a little farther than what you described. One of my co-workers once managed to get openpbs to build in the docker container but we can’t get it to build again.
