Unix/Linux Go Back    


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

Failed to "make" UNIXODBC

HP-UX


Tags
hp-ux, unixodbc

Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 05-10-2017   -   Original Discussion by MissX
MissX MissX is offline
Registered User
 
Join Date: May 2017
Last Activity: 14 June 2017, 10:48 PM EDT
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
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 02:43 AM.. Reason: Added CODE tags.
Sponsored Links
    #2  
Old Unix and Linux 05-11-2017   -   Original Discussion by MissX
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
 
Join Date: Feb 2004
Last Activity: 22 November 2017, 2:26 PM EST
Location: NM
Posts: 11,240
Thanks: 571
Thanked 1,117 Times in 1,031 Posts
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.
Sponsored Links
    #3  
Old Unix and Linux 05-11-2017   -   Original Discussion by MissX
MissX MissX is offline
Registered User
 
Join Date: May 2017
Last Activity: 14 June 2017, 10:48 PM EDT
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
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
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux 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 10:32 PM
awk command to replace ";" with "|" and ""|" at diferent places in line of file shis100 Shell Programming and Scripting 7 03-16-2011 09: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 10:24 AM
how could i make a program mixed with many "|", "<" and ">" strugglingman Programming 2 04-29-2006 09:11 AM
"./cofigure" and "make" turmoil gnerd UNIX for Dummies Questions & Answers 16 02-23-2004 04:53 PM



All times are GMT -4. The time now is 11:53 PM.