12-08-2005
In your ODBC ini, try setting the path to "/usr/lib/libmyodbc3-3.51.06.sl" rather than "/usr/local/lib/libmyodbc3.sl".
Also, shouldn't your thread be posted in the HP-UX forum rather than here?
10 More Discussions You Might Find Interesting
1. HP-UX
I'm trying to install the unixODBC in HP-UX 11.11 (64 bits), but when executing the ./configure I got the following results:
root@server:/usr/local/unixODBC-2.2.11# ./configure
checking for a BSD-compatible install... /opt/imake/bin/install -c
checking whether build environment is sane... yes... (2 Replies)
Discussion started by: paulexpert
2 Replies
2. Shell Programming and Scripting
Dear Friends,
I am running a script which runs a select query from a sybase table and outputs the result (1 row) into a .txt file in unix. When I run the script manually it behaves normally. However it doesnt run in crontab.
#!/usr/bin/ksh
. /opt/ivb/config/set_env
... (1 Reply)
Discussion started by: santoshpayal
1 Replies
3. Programming
how to store a date into file?
and how we can access date from the file?
---------- Post updated at 06:09 AM ---------- Previous update was at 06:08 AM ----------
how we can store date in file? (1 Reply)
Discussion started by: causalmodi777
1 Replies
4. UNIX and Linux Applications
Hi all!!
I have a nerve-wracking concept (probably for me!!) which is not understood. My crontab entry looks this way.
33 09 22 3 * /home/myexp.sh "Bgp4 ALL" >/dev/null 2>&1
But cron gets started occasionally. Sometimes it does. Sometimes it does not. And sometimes it hangs in the middle (I... (1 Reply)
Discussion started by: dhivyasuresh
1 Replies
5. Shell Programming and Scripting
i have been working on this for a about 12 hours today say's end of file un expected any idea's
using the bourne shell and its driving me nuts worked fine in bash but prof says make it work in bourne and good luck worth 13%
any help would be awesome
#!/bin/sh
trap "rm mnt2/source/tmp/* 2>... (1 Reply)
Discussion started by: mrhiab
1 Replies
6. Shell Programming and Scripting
this my source file
************* fixed ***************
Begin
equipmentId : d9
processor : fox
number : bhhhhhh
Variable # 1:
Id : 100
Type : 9
nType : s
gType : 5f
mType : 4
LField : England
DataField : london
Length ... (6 Replies)
Discussion started by: teefa
6 Replies
7. HP-UX
HP UX 10.20
I have a directory "/var/spool/sw" which is supposed to be a "Depot" directory. Turns out it is not and when using the swreg command "swreg -l /var/spool/sw" I get errors in part ERROR for option "-l /var/spool/sw" keyword or it's value may be incorrect or the keyword does not apply... (3 Replies)
Discussion started by: Randydog
3 Replies
8. UNIX for Beginners Questions & Answers
How to find a word in a directory which contains many files?
i just want to count how many such words are present in all the files?
This is the code which i tried for a single file
echo "Enter the file name:"
read file
echo "Enter the word to search:"
read word
if
then
echo "The count... (4 Replies)
Discussion started by: Meeran Rizvi
4 Replies
9. Shell Programming and Scripting
Ubuntu, Bash 4.3.48
Hi,
I have this input file:
a1:b2:c30:g4:h12:j7
and I want this output file:
a1=g4:b2=h12:c30=j7
I can do it this with this code:
awk -F':' '{print $1"="$4":"$2"="$5":"$3"="$6"}' INPUT > OUTPUTIn this case I have 6 columns, I calculate manually the half number of... (6 Replies)
Discussion started by: echo manolis
6 Replies
10. UNIX for Beginners Questions & Answers
i have problems with using solaries 8 . code and commands for extracting files from CD ? especially extracting file.jar from package and batch (1 Reply)
Discussion started by: moh_abaloo
1 Replies
LEARN ABOUT CENTOS
odbc_config
odbc_config(1) UnixODBC manual pages odbc_config(1)
NAME
odbc_config - get compile options for compiling unixODBC client
SYNOPSIS
odbc_config [--prefix] [--exec-prefix] [--include-prefix] [--lib-prefix] [--bin-prefix] [--version] [--libs] [--static-libs] [--libtool-
libs] [--cflags] [--odbcversion] [--odbcini] [--odbcinstini] [--header] [--ulen]
DESCRIPTION
odbc_config provides built-in options, specified at build time of the unixODBC suite, which are useful for building unixODBC clients and
similar programs.
OPTIONS
--prefix
Prefix for architecture-independent file tree.
--exec-prefix
Prefix for architecture-dependent file tree.
--include-prefix
Directory with C header files for unixODBC.
--lib-prefix
Directory with object code (.so) libraries.
--bin-prefix
Location of user executables.
--version
unixODBC version.
--libs Compiler flags for linking dynamic libraries.
--static-libs
Absolute file name of static unixODBC library.
--libtool-libs
Absolute file name of libtool unixODBC library.
--cflags
Compiler flags to find include files and critical compiler flags and defines used when compiling the libodbc library.
--odbcversion
Version of the ODBC specification used by the unixODBC.
--odbcini
Absolute file name of the system-wide DSN configuration file odbc.ini.
--odbcinstini
Absolute file name of the driver configuration file odbcinst.ini.
--header
Definitions of used C preprocessor constants. It is suitable to be piped into C header file.
--ulen Compiler flag for defining SIZEOF_SQLULEN.
SEE ALSO
odbcinst.ini(5), odbc.ini(5)
AUTHORS
The authors of unixODBC are Peter Harvey <pharvey@codebydesign.com> and Nick Gorham <nick@easysoft.com>. For the full list of contributors
see the AUTHORS file.
COPYRIGHT
unixODBC is licensed under the GNU Lesser General Public License. For details about the license, see the COPYING file.
version 2.3.1 Thu 13 Feb 2014 odbc_config(1)