# Make shared library ".so" of Perl?

**URL:** <https://www.debian-fr.org/t/make-shared-library-so-of-perl/88585>\
**Category:** Programmation\
**Tags:** perl\
**Created:** [Juillet 31, 2023, 3:08 UTC](https://www.debian-fr.org/t/make-shared-library-so-of-perl/88585 "2023-07-31T15:08:23Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![anon36725218](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/a/8e8cbc/32.png) [@anon36725218](https://www.debian-fr.org/u/anon36725218)\
**Post date:** [Août 1, 2023, 10:54 UTC](https://www.debian-fr.org/t/make-shared-library-so-of-perl/88585/6 "2023-08-01T10:54:28Z")

</div>

J’essaie de recompiler Perl comme expliquer ici :

**Building a shared «&nbsp;libperl.so&nbsp;» Perl library** → [Install - Build and Installation guide for perl5.](https://www.cs.auckland.ac.nz/references/unix/perl/READMEs/INSTALL.html)

Vous pouvez choisir de construire un libperl partagé en

```
sh Configure -Duseshrplib ........

```

Et avant d’executer le «&nbsp;make&nbsp;» ajouter la variable d’environnement dans le répertoire courant de l’installation (des sources de Perl) :

```
LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH 

```

Je vous tiens au jus 🙂

---

_[View the full topic](https://www.debian-fr.org/t/make-shared-library-so-of-perl/88585)._
