# Problem installing freefem on Ubuntu 22.04.2

**URL:** <https://community.freefem.org/t/problem-installing-freefem-on-ubuntu-22-04-2/2542>\
**Category:** FreeFEM installation\
**Created:** [June 13, 2023, 6:09pm UTC](https://community.freefem.org/t/problem-installing-freefem-on-ubuntu-22-04-2/2542 "2023-06-13T18:09:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rirane](https://avatars.discourse-cdn.com/v4/letter/r/51bf81/32.png) [@rirane](https://community.freefem.org/u/rirane)\
**Post date:** [June 13, 2023, 6:09pm UTC](https://community.freefem.org/t/problem-installing-freefem-on-ubuntu-22-04-2/2542/1 "2023-06-13T18:09:25Z")

</div>

Hi, I followed the installation guide and tried to compile it. After running “make” I got this error messages:

collect2: error: ld returned 1 exit status

make[3]: \*\*\* [Makefile:572: cvmsh2] error 1

make[2]: \*\*\* [Makefile:552: all-recursive] error 1

make[1]: \*\*\* [Makefile:808: all-recursive] error 1

make: \*\*\* [Makefile:758: all] error 2

Does anybody have an idea how to solve it?

---

<div class="post-metadata">

**Author:** ![aszaboa](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/aszaboa/32/2918_2.png) [@aszaboa](https://community.freefem.org/u/aszaboa)\
**Post date:** [June 14, 2023, 5:48am UTC](https://community.freefem.org/t/problem-installing-freefem-on-ubuntu-22-04-2/2542/2 "2023-06-14T05:48:10Z")

</div>

This is the same as the issue mentioned in my previous post. [Compilation issue with superlu](https://community.freefem.org/t/compilation-issue-with-superlu/2532)

---

<div class="post-metadata">

**Author:** ![rirane](https://avatars.discourse-cdn.com/v4/letter/r/51bf81/32.png) [@rirane](https://community.freefem.org/u/rirane)\
**Post date:** [June 14, 2023, 7:22am UTC](https://community.freefem.org/t/problem-installing-freefem-on-ubuntu-22-04-2/2542/3 "2023-06-14T07:22:38Z")

</div>

Thank you for the fast answer. I reconfigured with --disable-superlu. But now I get these error codes:

collect2: error: ld returned 1 exit status

make[3]: \*\*\* [Makefile:568: bamg] error 1

make[2]: \*\*\* [Makefile:552: all-recursive] error 1

make[1]: \*\*\* [Makefile:808: all-recursive] error 1

make: \*\*\* [Makefile:758: all] error 2
