Re: Installation of ODBC driver in HP-UX (1967 Views)
Reply
Regular Advisor
Raoof
Posts: 86
Registered: ‎01-22-2011
Message 1 of 21 (2,210 Views)

Installation of ODBC driver in HP-UX

Hello Experts,

 

Good Day

 

Need help to install ODBC driver in hp-unix 11.31 to create db link from oracle database installed on unix to mysql database.

 

Will be really thankful if you could please provide me the procedure to follow for it.

 

Regards

Regular Advisor
Raoof
Posts: 86
Registered: ‎01-22-2011
Message 2 of 21 (2,207 Views)

Re: Installation of ODBC driver in HP-UX

Dear Experts,

 

Please do the needful, as am a newbie need the procedure to follow to install mysql odbc driver in hpunix 11.31

 

REgards 

Respected Contributor
Ken Grabowski
Posts: 263
Registered: ‎12-08-2003
Message 3 of 21 (2,195 Views)

Re: Installation of ODBC driver in HP-UX

ODBC is a MS-Windows protocol and by default is not available in UNIX.  Various vendors provide ODBC compatible drivers for UNIX. They are usually compatible with most ODBC features, but rarely 100%. To my knowledge, these are all software for purchase products. Last time I looked there were no free versions out there.

 

I would suggest you search the internet for "ODBC for HP-UX". You should get several vendor links that will lead you to a product to use.

Regular Advisor
Raoof
Posts: 86
Registered: ‎01-22-2011
Message 4 of 21 (2,175 Views)

Re: Installation of ODBC driver in HP-UX

Hi,

 

Thanks for the response.

 

I found drivers and the procedure to follow for the installation. I start doing installation, and was able to pass the first huddle  by executing the first commande ./configure --prefix="directory/path".

 

But after i tried for the second and third command i.e. make and make install it failed with the errors mentioned in the attached file for the refrence.

 

Please have a look towards the attached fine and advice.

 

Awaiting for the valuable advices from you all experts.

 

Regards

Acclaimed Contributor
Dennis Handly
Posts: 25,188
Registered: ‎03-06-2006
Message 5 of 21 (2,157 Views)

Re: Installation of ODBC driver in HP-UX

>ld: Unknown input file type: "../DriverManager/.libs/libodbc.so"

 

This is the wrong architecture.  What do these show:

uname -a

file ../DriverManager/.libs/libodbc.so

 

 

Respected Contributor
Ken Grabowski
Posts: 263
Registered: ‎12-08-2003
Message 6 of 21 (2,154 Views)

Re: Installation of ODBC driver in HP-UX

That's a Linux application that your trying to compile on HP-UX.  To do that you have to find all the supporting shared libraries and port them first. It's a long and involved process with no guarantee of success and definitely no support from anybody.  HP use to offer a Linux to HP-UX porting kit, but those are no longer offered.  Internet Express also use to include Linux development tools for HP-UX but those are also gone.  If this is for a production application you have or are trying to develop, I strongly suggest you look at the commercial products on the market. Their the only reasonably stable and supported options that I know of for ODBC on HP-UX.

Regular Advisor
Raoof
Posts: 86
Registered: ‎01-22-2011
Message 7 of 21 (2,139 Views)

Re: Installation of ODBC driver in HP-UX

I will be really thnkful to you all if you could please provide me the procedure to configure odbc setup in hpunix 11.31.

Regular Advisor
Raoof
Posts: 86
Registered: ‎01-22-2011
Message 8 of 21 (2,137 Views)

Re: Installation of ODBC driver in HP-UX

uname -a

 

HP-UX mcmsdbl1 B.11.31 U ia64

Regular Advisor
Raoof
Posts: 86
Registered: ‎01-22-2011
Message 9 of 21 (2,125 Views)

Re: Installation of ODBC driver in HP-UX

Please do the needful, need help to resolve this issue at earliest.

 

Regular Advisor
Raoof
Posts: 86
Registered: ‎01-22-2011
Message 10 of 21 (2,065 Views)

Re: Installation of ODBC driver in HP-UX

Hello experts,

 

Please help me out to resolve my issue, its really very urgent.

 

Thanks & Regards

Acclaimed Contributor
Dennis Handly
Posts: 25,188
Registered: ‎03-06-2006
Message 11 of 21 (2,057 Views)

Re: Installation of ODBC driver in HP-UX

[ Edited ]

>HP-UX mcmsdbl1 B.11.31 U ia64

 

Again, what does this show?

$ file ../DriverManager/.libs/libodbc.so

Regular Advisor
Raoof
Posts: 86
Registered: ‎01-22-2011
Message 12 of 21 (2,053 Views)

Re: Installation of ODBC driver in HP-UX

[ Edited ]

Hi Dennis,

 

Thanks for your concern. Please find attached the request file i.e. libodbc.so

 

 

Awaiting for your reply.

 

 

Regards

Acclaimed Contributor
Dennis Handly
Posts: 25,188
Registered: ‎03-06-2006
Message 13 of 21 (2,036 Views)

Re: Installation of ODBC driver in HP-UX

>Please find attached the request file i.e. libodbc.so

 

I didn't want the file, I wanted you to execute file(1) on that shlib to find the architecture..

Please delete your attachment.

Regular Advisor
Raoof
Posts: 86
Registered: ‎01-22-2011
Message 14 of 21 (2,028 Views)

Re: Installation of ODBC driver in HP-UX

Hi,

 

 

File cannot be open.

 

mcmsdbl1@root@/u01/app/unixODBC-2.3.1>#file ../DriverManager/.libs/libodbc.so
../DriverManager/.libs/libodbc.so: cannot open

 

 

Regards

Acclaimed Contributor
Dennis Handly
Posts: 25,188
Registered: ‎03-06-2006
Message 15 of 21 (2,006 Views)

Re: Installation of ODBC driver in HP-UX

>File cannot be open.

 

You have to be in the right directory.  Or use find(1) to find the file and then use file(1) on it.

Regular Advisor
Raoof
Posts: 86
Registered: ‎01-22-2011
Message 16 of 21 (1,995 Views)

Re: Installation of ODBC driver in HP-UX

Please find below the result.

 

mcmsdbl1@root@/u01/app/unixODBC-2.3.1/DriverManager/.libs>#file libodbc.so
libodbc.so: ELF-32 executable object file - IA64

 

 

Acclaimed Contributor
Dennis Handly
Posts: 25,188
Registered: ‎03-06-2006
Message 17 of 21 (1,991 Views)

Re: Installation of ODBC driver in HP-UX

>libodbc.so: ELF-32 executable object file - IA64

 

This looks fine for a 32 bit executable but NOT for a shlib.

Some how you or libtool isn't passing -b to ld.

Regular Advisor
Raoof
Posts: 86
Registered: ‎01-22-2011
Message 18 of 21 (1,987 Views)

Re: Installation of ODBC driver in HP-UX

So what will be the accurate steps i have to follow?

 

I will be really thankful if you could please help me to resolve this issue, its really very important and urgent too. As am a newbie to hp-ux so not much aware about the installation/configuration area.

 

Your help will be highly appreciated.

 

Thanks & Regards

Acclaimed Contributor
Dennis Handly
Posts: 25,188
Registered: ‎03-06-2006
Message 19 of 21 (1,983 Views)

Re: Installation of ODBC driver in HP-UX

>I will be really thankful if you could please help me to resolve this issue

 

Since I can't see what you have, not much I can do to help.

I would assume these foreign devil tools would just work.  The only problem might be if you use the bundled C compiler to link.  That driver will NOT create shlibs.

 

Do you have any warnings?

Regular Advisor
Raoof
Posts: 86
Registered: ‎01-22-2011
Message 20 of 21 (1,979 Views)

Re: Installation of ODBC driver in HP-UX

You can please review the attached file contains the error or warning messages on running make and makeinstall commands after running successfully ./configure command.

Acclaimed Contributor
Dennis Handly
Posts: 25,188
Registered: ‎03-06-2006
Message 21 of 21 (1,967 Views)

Re: Installation of ODBC driver in HP-UX

>You can please review the attached file contains the error or warning messages

 

This seems exactly the same as before.  Try a clean and see if any compiler/linker messages.

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.