Failed to "make" UNIXODBC


 
Thread Tools Search this Thread
Operating Systems HP-UX Failed to "make" UNIXODBC
# 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:
Mod Comment Please use CODE tags as required by forum rules!

Last edited by RudiC; 05-11-2017 at 02:43 AM.. Reason: Added CODE tags.
# 2  
Old 05-11-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-11-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-installationpng
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

Apache 2.4 directory cannot display "Last modified" "Size" "Description"

Hi 2 all, i have had AIX 7.2 :/# /usr/IBMAHS/bin/apachectl -v Server version: Apache/2.4.12 (Unix) Server built: May 25 2015 04:58:27 :/#:/# /usr/IBMAHS/bin/apachectl -M Loaded Modules: core_module (static) so_module (static) http_module (static) mpm_worker_module (static) ... (3 Replies)
Discussion started by: penchev
3 Replies

2. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies

3. Shell Programming and Scripting

Issue with rsync: failed to set times on "/tmp/.": Not owner (1)

Hi, Here is my source host and folder details. $ hostname source-host $ id uid=600000208(src-user) gid=64688(src-user) groups=64688(src-user) $ ls -ltrd /web/Trn_File/data/ drwxrwxrwx 3 src-user src-user 4096 Feb 7 15:27 /web/Trn_File/data/ $ ls -ltrd /web/Trn_File/data/* drwxrwxrwx 8... (1 Reply)
Discussion started by: mohtashims
1 Replies

4. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

5. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

6. Shell Programming and Scripting

Make scipt except from "Y","y" and "yes" to take [Enter] as being "yes"

This is the script: #!/bin/sh if ; then rm -rf /usr/share/WallpaperChanger; fi if ; then rm -rf /usr/bin/wallch; fi; if ; then rm -rf /usr/share/applications/wallch.desktop; fi if ; then rm -rf /usr/share/doc/wallch; fi if ; then rm -rf /usr/share/man/man1/wallch.1.gz; fi echo "Delete... (4 Replies)
Discussion started by: hakermania
4 Replies

7. UNIX for Dummies Questions & Answers

Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`"

Hi Friends, Can any of you explain me about the below line of code? mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'` Im not able to understand, what exactly it is doing :confused: Any help would be useful for me. Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies

8. Programming

how could i make a program mixed with many "|", "<" and ">"

I have written following code to do: ls -l | wc -w, it works: but when there are not only a single "|", if there are more such as: ls -l | sort -r | sort | sort -r, This program does not work, i want to know how could i deal with it when there are more "|", another situation is that, if it mixes... (2 Replies)
Discussion started by: strugglingman
2 Replies

9. UNIX for Dummies Questions & Answers

"./cofigure" and "make" turmoil

I am a Unix newbie and I downloaded some X11 programs. I have gcc, but I cannot compile the files. I NEED HELP!!!! :confused: (16 Replies)
Discussion started by: gnerd
16 Replies
Login or Register to Ask a Question