# \#libz

**URL:** https://discussion.fedoraproject.org/tag/libz/749.md

[Latest](https://discussion.fedoraproject.org/latest.md) · [Categories](https://discussion.fedoraproject.org/categories.md) · [Tags](https://discussion.fedoraproject.org/tags.md)

---

## [Fedora 35 has library libz compiled without the -fPIC option](https://discussion.fedoraproject.org/t/fedora-35-has-library-libz-compiled-without-the-fpic-option/78115)

<div class="topic-metadata">

**Author:** [@paspro](https://discussion.fedoraproject.org/u/paspro)\
**Replies:** 2\
**Last updated:** [February 14, 2023, 7:24am UTC](https://discussion.fedoraproject.org/t/fedora-35-has-library-libz-compiled-without-the-fpic-option/78115 "2023-02-14T07:24:39Z")

</div>

I am trying to compile an application which links to the system’s libz library but the compilation process requires the use of the -fPIC option to create a position independent code. So, when the linker attempts to link all the components together it reports the following error: /usr/bin/ld: /usr/l…
