To compose a list of functions for a minimal custom shared object needed for your application, you can use the following procedure:
Link your application with installed Intel MKL libraries to make sure the application builds.
Remove all Intel MKL libraries from the link line and start linking.
Unresolved symbols indicate Intel MKL functions that your application uses.
Include these functions in the list.
Each time your application starts using more Intel MKL functions, update the list to include the new functions.