Changing the location a module is loaded from without changing the default path
I'm trying to get my Epson SP7600 printer working correctly, it will not print from gimp with "custom" print sizes (24"x16"), giving a failure in ghostscript, using the default Lenny gutenprint and ghostscript releases. I've downloaded and installed the latest gutenprint version (5.2.6) but it appears that the 5.0 version is what gimp is using...
x@y:~$ whereis gutenprint
gutenprint: /usr/lib/gutenprint /usr/lib64/gutenprint /usr/local/lib/gutenprint /usr/share/gutenprint
The version I want to access is in the 3rd path, /usr/local/lib/gutenprint, the others are the 5.0 version. I'd prefer not having to change the path variable and I don't want to have to rename any of the paths as it will complicate upgrades, as I understand it there's a means to tell the system to find the gutenprint executable in a specific place and that seems the least "dangerous" method to me. Could someone guide me as to how this can be done? If the gutenprint change doesn't solve the issue I'll also be upgrading ghostscript and will need to do the same for it, if neither upgrade fixes the problem I'll be able to report the issue without having to hear the usual "are you using the latest versions?" question.