get_libraries_ls function

Get libraries list