By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,668 Members | 1,419 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,668 IT Pros & Developers. It's quick & easy.

hp unix - dynamic linker does not resolve symbols as expected

P: 1

We have an odbc driver that we wrote. This is actually a shared object which implements a set of SQLxxx functions.
There is also another shared object that we did not write, which is the odbc driver manager. The odbc driver manager implements the same set of functions.
An application that invokes odbc calls (i.e. calls to SQLxxx functions) is dynamically linked to the odbc driver manager.
The odbc driver manager then maps these calls to our driver.

There is a case in which a function in the driver, let say SQLa, calls the function SQLb. We would expect SQLb to be taken from our driver. However, the dynamic linker insists to take SQLb from the odbc driver manager.

We have tried to link our driver with the -bSymbolic option but it didn't help.

Dec 26 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.