Configure Python to use the SNAP-Python (snappy) interface on Linux

I am trying to configure Python to use SNAP-python interface but keep getting this error when I test Snappy:

from snappy import ProductIO
SEVERE: org.esa.s2tbx.dataio.gdal.activator.GDALDistributionInstaller: The environment variable LD_LIBRARY_PATH is not set. It must contain the current folder ‘.’.
INFO: org.esa.snap.core.gpf.operators.tooladapter.ToolAdapterIO: Initializing external tool adapters

Does anyone have a workaround for this, I’m not sure what current folder it is talking about.

Thanks in advance