List all shared libraries loaded by the process

> cat /proc/PROC_ID/maps | sed 's/\s\s*/ /g' | cut -f6 -d' ' | grep '\.so' | sort -u

or

> lsof -p PROC_ID | grep "\.so" | sed 's/\s\s*/ /g' | cut -f9 -d' ' | sort -u