In this tutorial we will verify the libraries installed in our production environment, in case the generation of PDF does not work

1- We go to the folder of our project deployed ../prod/third/wkhtmltopdf/linux-amd64

![](http://34.207.224.239:3000/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBbTFPIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--9c298be5cdee3634dc1844cec087842eba6fbf31/image.png)

2- We open the terminal inside that address.

![](http://34.207.224.239:3000/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBbTVPIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--e9cdc7c5659788aa369512608748d7f0df4056a5/image%20(1).png)

3- Enter the following command ldd wkhtmltopdf-amd64 where we will get the list of all the installed libraries.

![](http://34.207.224.239:3000/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBbTlPIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--0dc6f420c0ed411df060b9a7f2329d65a1ecc277/image%20(2).png)