How do I use libraries which use require or require_once

I am trying to use a library with numerous files in nested folders. These are linked up via multiple levels of require_once in the code. I keep getting errors of not being able to locate the files. Is there a need to change the statements in any way?

Not quite sure what you are doing, but the libraries needs to be accessible from the path the SC application is running in.