# ld: library not found for -ld\_classic

**URL:** <https://fluka-forum.web.cern.ch/t/ld-library-not-found-for-ld-classic/7527>\
**Category:** Installation\
**Created:** [19 June 2025 06:50 UTC](https://fluka-forum.web.cern.ch/t/ld-library-not-found-for-ld-classic/7527 "2025-06-19T06:50:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thmehlho](https://fluka-forum.web.cern.ch/letter_avatar_proxy/v4/letter/t/5e9695/32.png) [@thmehlho](https://fluka-forum.web.cern.ch/u/thmehlho)\
**Post date:** [19 June 2025 06:50 UTC](https://fluka-forum.web.cern.ch/t/ld-library-not-found-for-ld-classic/7527/1 "2025-06-19T06:50:05Z")

</div>

I am trying to install the non-source version of Fluka on my MacBook Pro with Apple M2 Max processors. I get the following error messages - thanks for any guidance you can provide.

(base) mehlhorn@ppdmehlhornlap src % pwd  
/Users/mehlhorn/codes/fluka4-5.0/src  
(base) mehlhorn@ppdmehlhornlap src % make  
gfortran -o /Users/mehlhorn/codes/fluka4-5.0//bin/fluka -fuse-ld=bfd -ld\_classic -L/Users/mehlhorn/codes/fluka4-5.0//lib -lfluka -lgeometry -ldata -lmath -ltool -lstdc++ -lz -lpthread  
ld: library not found for -ld\_classic  
collect2: error: ld returned 1 exit status  
make: \*\*\* [/Users/mehlhorn/codes/fluka4-5.0//bin/fluka] Error 1

---

<div class="post-metadata">

**Author:** ![luillo](https://fluka-forum.web.cern.ch/letter_avatar_proxy/v4/letter/l/4bbf92/32.png) [@luillo](https://fluka-forum.web.cern.ch/u/luillo)\
**Post date:** [10 July 2025 13:14 UTC](https://fluka-forum.web.cern.ch/t/ld-library-not-found-for-ld-classic/7527/3 "2025-07-10T13:14:43Z")

</div>

Hi @thmehlho,

I’m really sorry I missed your old post. I assume it’s no longer an issue, given your more recent post.

If not, please let me know if you still have this problem.

Best,  
Luigi

---

<div class="post-metadata">

**Author:** ![horvathd](https://fluka-forum.web.cern.ch/user_avatar/fluka-forum.web.cern.ch/horvathd/32/10584_2.png) [@horvathd](https://fluka-forum.web.cern.ch/u/horvathd)\
**Post date:** [30 July 2025 06:41 UTC](https://fluka-forum.web.cern.ch/t/ld-library-not-found-for-ld-classic/7527/4 "2025-07-30T06:41:30Z")

</div>

Closed on 30 July 2025 06:41 UTC


