Welcome to WebmasterWorld Guest from 174.129.135.89

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Wrapper Shell Script

   
5:18 pm on Aug 3, 2008 (gmt 0)

10+ Year Member



I'm trying to install the dreaded HSBC CPI and the instructions say...

"Add the path to libCcCpiTools.so to the LD_LIBRARY_PATH environment variable (either by suitable file location, or direct addition). It may be necessary for a merchant to speak to their host regarding suitable location / installation of this file."

So I asked my host...

"Can you add the libCcCpiTools.so binary file to your server and add the path to libCcCpiTools.so to the LD_LIBRARY_PATH environment variable?"

His reply is...

"Regarding the LD_LIBRARY_PATH setting, we cannot alter this globally or install the shared library to a global location. However, you can create a wrapper shell script to set this then exec into the needed file. All that's needed after that is to post to the wrapper script."

I have no idea what he's talking about! Please can someone tell me how to create a wrapper shell script.

Pete

8:34 pm on Aug 3, 2008 (gmt 0)

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



This thread ranks #3 in Google for [wrapper shell script] and there are several sites in the top 20 that appear to explain what you need and what you need to do.

Post your best effort code back here, and we'll attempt to debug it.

9:37 pm on Aug 3, 2008 (gmt 0)

10+ Year Member



None of the search results made any sense to me (somone with no apache/server knowledge). Am I after a 'cgi wrapper script'?

Pete

[edited by: PeteM at 9:37 pm (utc) on Aug. 3, 2008]