# EOS Alma9 libjemalloc

**URL:** <https://eos-community.web.cern.ch/t/eos-alma9-libjemalloc/1118>\
**Category:** Site Administrators\
**Created:** [January 16, 2025, 8:55am UTC](https://eos-community.web.cern.ch/t/eos-alma9-libjemalloc/1118 "2025-01-16T08:55:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Silviu\_Onofrei](https://eos-community.web.cern.ch/user_avatar/eos-community.web.cern.ch/silviu_onofrei/32/259_2.png) [@Silviu\_Onofrei](https://eos-community.web.cern.ch/u/Silviu_Onofrei)\
**Post date:** [January 16, 2025, 8:55am UTC](https://eos-community.web.cern.ch/t/eos-alma9-libjemalloc/1118/1 "2025-01-16T08:55:06Z")

</div>

Hello everyone,

We are currently testing the upgrade from CentOS7 to Alma9 on our EOS test instance. Everything looks ok beside an issue with the libjemalloc

In our configuration we have

```auto

# Preload jemalloc
LD_PRELOAD=/usr/lib64/libjemalloc.so.1

```

But in Alma9 the jemalloc is 5.x series and we have /usr/lib64/libjemalloc.so.2

```auto

Jan 13 16:58:48 eos-fst-test-003.cidsn.jrc.it sh[273588]: ERROR: ld.so: object '/usr/lib64/libjemalloc.so.1' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Jan 13 16:58:48 eos-fst-test-003.cidsn.jrc.it sh[273587]: ERROR: ld.so: object '/usr/lib64/libjemalloc.so.1' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Jan 13 16:58:48 eos-fst-test-003.cidsn.jrc.it sh[273586]: ERROR: ld.so: object '/usr/lib64/libjemalloc.so.1' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Jan 13 16:58:48 eos-fst-test-003.cidsn.jrc.it sh[273585]: ERROR: ld.so: object '/usr/lib64/libjemalloc.so.1' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Jan 13 16:58:48 eos-fst-test-003.cidsn.jrc.it sh[273584]: ERROR: ld.so: object '/usr/lib64/libjemalloc.so.1' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Jan 13 16:58:48 eos-fst-test-003.cidsn.jrc.it sh[273583]: ERROR: ld.so: object '/usr/lib64/libjemalloc.so.1' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Jan 13 16:58:48 eos-fst-test-003.cidsn.jrc.it sh[273582]: ERROR: ld.so: object '/usr/lib64/libjemalloc.so.1' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Jan 13 16:58:48 eos-fst-test-003.cidsn.jrc.it sh[273581]: ERROR: ld.so: object '/usr/lib64/libjemalloc.so.1' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.

```

We’ve changed the config to use /usr/lib64/libjemalloc.so.2 and everything looks ok but we want to double check with you if this is safe .

Many thanks  
Silviu

---

<div class="post-metadata">

**Author:** ![esindril](https://eos-community.web.cern.ch/user_avatar/eos-community.web.cern.ch/esindril/32/9_2.png) [@esindril](https://eos-community.web.cern.ch/u/esindril)\
**Post date:** [January 16, 2025, 9:14am UTC](https://eos-community.web.cern.ch/t/eos-alma9-libjemalloc/1118/2 "2025-01-16T09:14:02Z")

</div>

Hi Silviu,

Yes, that’s the correct thing to do for Alama9.

Cheers,  
Elvin

---

<div class="post-metadata">

**Author:** ![asevcenc](https://eos-community.web.cern.ch/user_avatar/eos-community.web.cern.ch/asevcenc/32/64_2.png) [@asevcenc](https://eos-community.web.cern.ch/u/asevcenc)\
**Post date:** [January 16, 2025, 9:23am UTC](https://eos-community.web.cern.ch/t/eos-alma9-libjemalloc/1118/3 "2025-01-16T09:23:10Z")

</div>

Hi! We are using `LD_PRELOAD=/usr/lib64/libjemalloc.so` as it is valid on both platforms and points to the actual valid libs

---

<div class="post-metadata">

**Author:** ![Silviu\_Onofrei](https://eos-community.web.cern.ch/user_avatar/eos-community.web.cern.ch/silviu_onofrei/32/259_2.png) [@Silviu\_Onofrei](https://eos-community.web.cern.ch/u/Silviu_Onofrei)\
**Post date:** [January 16, 2025, 10:06am UTC](https://eos-community.web.cern.ch/t/eos-alma9-libjemalloc/1118/4 "2025-01-16T10:06:47Z")

</div>

Hi Elvin, Adrian

Many thanks for the quick response.

Cheers  
Silviu
