Home Man
Search
Today's Posts
Register

HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

Failed to "make" UNIXODBC

Tags
hp-ux, unixodbc

Login to Reply

 
Thread Tools Search this Thread
# 1  
Old 05-10-2017
HP Failed to "make" UNIXODBC

Hello, I am a newbie in dealing with UNIX and HP-UX. May I know how to solve this problem where the "unknown input file type" message appear when I try to install unixODBC onto my HP-UX 11.31 ia64?

Actually, I am trying to install MySQL Connector ODBC into the HP-UX server but it showed an error message.

This is the command that I used to install MySQL Connector ODBC:
Code:
#myodbc-installer -a -d -n "MySQL ODBC 5.1.8 Driver" -t "/z/install/mysql-connector-odbc-5.1.8-hpux11.31-ia64-64bit/lib/libmyodbc5.so"

And this is the error message that I got:
Code:
/usr/lib/hpux64/dld.so: Unable to find library 'libodbc.so.1'.
Killed

Then, I realized that I need to install unixODBC on the HP-UX in order for the MySQL Connector ODBC to work.

This is the command that I used to install unixODBC:
Code:
# ./configure
# make

which resulted in the error:

Code:
Making all in exe
/bin/sh ../libtool --tag=CC --mode=link cc -mt -o isql isql.o ../
DriverManager/libodbc.la ../extras/libodbcextraslc.la -lpthread
libtool: link: cc -mt -o .libs/isql isql.o ../DriverManager/.libs/libodbc.so ..
/extras/.libs/libodbcextraslc.a -lpthread -mt

ld: Unknown input file type: "../DriverManager/.libs/libodbc.so"
Fatal error.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.

The libodbc.so file is created in directory ../DriverManager/.libs/ after the # make command.

Can anyone help me on this issue? Do tell me if you need more information to better understand my problem. Thanks!



Moderator's Comments:
Failed to "make" UNIXODBC Please use CODE tags as required by forum rules!

Last edited by RudiC; 05-11-2017 at 01:43 AM.. Reason: Added CODE tags.
# 2  
Old 05-10-2017
Where did you get the depot files for ODBC? Or are you using some other source for the ODBC files you want to install?

The
Code:
./configure

command is derived from Linux and GNU. Which makes me wonder.
# 3  
Old 05-10-2017
HP

Quote:
Where did you get the depot files for ODBC?
I downloaded the file from this web page unixodbc.org. It is not a depot file.

Quote:
The
Code:
./configure

command is derived from Linux and GNU
I am not so sure on this because I'm still a newbie. I just followed the guide provided in the said web page to install the unixODBC. You can refer to the attachment. It is the guide provided by unixodbc.org that I refer to in installing the odbc.

Failed to "make" UNIXODBC-unixodbc-installation-png
Login to Reply

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Using "mailx" command to read "to" and "cc" email addreses from input file asjaiswal UNIX for Dummies Questions & Answers 2 10-11-2014 09:32 PM
"Estream construct failed" Error on Solaris i86pc vivek.goel.piet Solaris 2 09-16-2013 11:21 AM
Apache Hanging. "pkcs11_softtoken: Keystore access failed" gadonj18 UNIX for Dummies Questions & Answers 1 08-29-2011 08:13 AM
awk command to replace ";" with "|" and ""|" at diferent places in line of file shis100 Shell Programming and Scripting 7 03-16-2011 08:59 AM
Make scipt except from "Y","y" and "yes" to take [Enter] as being "yes" hakermania Shell Programming and Scripting 4 12-11-2010 09:24 AM
Removing "Failed none for" error messages from sshd logs files Mr_Webster Solaris 3 04-21-2010 11:18 AM
how could i make a program mixed with many "|", "<" and ">" strugglingman Programming 2 04-29-2006 08:11 AM
"./cofigure" and "make" turmoil gnerd UNIX for Dummies Questions & Answers 16 02-23-2004 03:53 PM


All times are GMT -4. The time now is 10:48 AM.

Unix & Linux Forums Content Copyright©1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password