The linker is going to look for the library by name. In the case of the OCI api, the name is libclntsh.so.10.1. So if that is not in the path used by your OS to dynamically link libraries, then it's not going to work. You'll get a message to the effect that it couldn't find the required libraries. The 11g client has a different name (probably libclntsh.so.11.1). For this reason you can not use the 11g client with a 7.5 server. You may be able to rename libclntsh.so.11.1 to libclntsh.so.10.1, or create a symlink, but if you run into problems as a result you are going to be out of luck getting any help; it's untested, undocumented, and no one is going to have the right information to put it all together, at least not in a way that will do you any good.
When C code is compiled, you have to pass arguments to the linker. These arguments drive the linking process and the resulting binary uses the information collected during linking to know what to look for when executed. http://www.cprogramming.com/compilingandlinking.html <http://www.cprogramming.com/compilingandlinking.html> http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html On Tue, Jan 25, 2011 at 3:27 PM, LJ LongWing <[email protected]> wrote: > ** > > Mark, > > I can’t speak to if it will work under other configurations as others have > stated, but I believe the compatibility matrix states the client version > that the executable was compiled against, and is the only ‘supported’ > version. > > > > *From:* Action Request System discussion list(ARSList) [mailto: > [email protected]] *On Behalf Of *Brittain, Mark > *Sent:* Tuesday, January 25, 2011 1:44 PM > > *To:* [email protected] > *Subject:* Oracle Client Question > > > > ** > > Hi All > > > > I am building a 7.5 server on Linux with Oracle 11g. The compatibility > matrix states that only the Oracle 10gR2 client can be used. None higher or > lower. Is that true? This does not make sense to my DBA and I don’t have a > good explanation for him. Anyone know why this is? Has anyone successfully > used the 11g client with the 11g server? > > > > Thanks > > Mark > > > > ____________________________________________ > Mark Brittain > Remedy Developer > *NaviSite > *[email protected] > (315) 453-2912 x5335 (Office) > (315) 317.2897 (Cell) > > > > > > > > * ________________________________ * > > This e-mail is the property of NaviSite, Inc. It is intended only for the > person or entity to which it is addressed and may contain information that > is privileged, confidential, or otherwise protected from disclosure. > Distribution or copying of this e-mail, or the information contained herein, > to anyone other than the intended recipient is prohibited. > > _attend WWRUG11 www.wwrug.com ARSlist: "Where the Answers Are"_ > _attend WWRUG11 www.wwrug.com ARSlist: "Where the Answers Are"_ > _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: "Where the Answers Are"

