Page tree
Skip to end of metadata
Go to start of metadata

A) linux version
B) downloaded latest unixODBC
C) using WSCP copied c:\tmp\unixODBC-2.3.6.tar.gz . . . to . . . /ii/unixODBC/unixODBC-2.3.6.tar_gz
D) using tar unzipped and extracted files . . . to . . . /ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6
E) make clean . . . and . . . make distclean
F) set and confirm 32bit environment variables
G) yum group install 'Development Tools'
H) yum install glibc-devel.i686 libgcc.i686 libstdc++-devel.i686
I) execute configure with the following arguments . . . --prefix=/sy/x/odbc32 --enable-gui=no --enable-drivers=no
J) edit libtool to add in -m32 argument to force 32bit compiling
K) make clean
L) execute make
M) make the . . . etc . . . subdirectory under /sy/x/odbc32
N) execute install
O) show a listing off all files installed now in /sy/x/odbc32
P) change the ownership of /sy/x/odbc32/* to the syuid userid
Q) show version with odbc32/bin/isql and odbcinst
R) miscellaneous items related to SAP Sybase ECDA 15.7sp5


A) linux version

********************************************************************************
tcsh:uid@<host>:/> alias ver
uname -a;uname -r;lsb_release -i -r;cat /etc/redhat-release;echo `rpm -q --queryformat '%{VERSION}' redhat-release-server`;echo `rpm -q --queryformat '%{RELEASE}' redhat-release-server`
********************************************************************************
tcsh:uid@<host>:/> ver
Linux <host> 3.10.0-693.2.1.el7.x86_64 #1 SMP Fri Aug 11 04:58:43 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux3.10.0-693.2.1.el7.x86_64
Distributor ID: RedHatEnterpriseServer
Release: 7.4
Red Hat Enterprise Linux Server release 7.4 (Maipo)
7.4
18.el7
tcsh:uid@<host>:/>
********************************************************************************


B) downloaded latest unixODBC

from . . .
ftp://ftp.unixodbc.org/pub/unixODBC/unixODBC-2.3.6.tar.gz
to . . . c:\tmp\unixODBC-2.3.6.tar.gz


C) using WSCP copied c:\tmp\unixODBC-2.3.6.tar.gz . . . to . . . /ii/unixODBC/unixODBC-2.3.6.tar_gz


D) using tar unzipped and extracted files . . . to . . . /ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6

**************************************************************************
tcsh:uid@<host>"/> ls -al /ii/unixODBC/unixODBC-2.3.6.tar_gz/unixODBC-2.3.6.tar.gz
-rw-r--r--. 1 uid uid 1661914 Mar 22 13:21 /ii/unixODBC/unixODBC-2.3.6.tar_gz/unixODBC-2.3.6.tar.gz
tcsh:uid@<host>"/> mkdir /ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd
tcsh:uid@<host>"/> cd /ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd> tar xvf ../unixODBC-2.3.6.tar.gz
unixODBC-2.3.6/
unixODBC-2.3.6/depcomp
unixODBC-2.3.6/exe/
unixODBC-2.3.6/exe/isql.c
unixODBC-2.3.6/exe/COPYING
unixODBC-2.3.6/exe/dltest.c
* * * removed 914 similar lines for readability * * *
unixODBC-2.3.6/DriverManager/DriverManager.exp
unixODBC-2.3.6/DriverManager/SQLAllocEnv.c
unixODBC-2.3.6/DriverManager/SQLDescribeParam.c
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd>
**************************************************************************

 

E) make clean . . . and . . . make distclean

**************************************************************************
tcsh:uid@<host>"/> cd /ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6> make clean
make: *** No rule to make target `clean'. Stop.
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6> make distclean
make: *** No rule to make target `distclean'. Stop.
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6>
**************************************************************************

 

F) set and confirm 32bit environment variables

**************************************************************************
tcsh:uid@<host>"/> setenv CFLAGS -m32
tcsh:uid@<host>"/> setenv LDFLAGS -m32
tcsh:uid@<host>"/> setenv CXXFLAGS -m32
tcsh:uid@<host>"/> echo $CFLAGS
-m32
tcsh:uid@<host>"/> echo $LDFLAGS
-m32
tcsh:uid@<host>"/> echo $CXXFLAGS
-m32
tcsh:uid@<host>"/>
**************************************************************************

 

G) yum group install 'Development Tools'

**************************************************************************
tcsh:uid@<host>"/> yum group install 'Development Tools'
Loaded plugins: langpacks, product-id, rhnplugin, search-disabled-repos
This system is receiving updates from RHN Classic or Red Hat Satellite.
There is no installed groups file.
Maybe run: yum groups mark convert (see man yum)
rhel-x86_64-server-7 | 1.5 kB 00:00:00
rhel-x86_64-server-ha-7 | 1.5 kB 00:00:00
rhel-x86_64-server-optional-7 | 1.5 kB 00:00:00
rhel-x86_64-server-rh-common-7 | 1.3 kB 00:00:00
rhel-x86_64-server-rs-7 | 1.5 kB 00:00:00
rhel-x86_64-server-sap-7 | 1.5 kB 00:00:00
rhn-tools-rhel-x86_64-server-7 | 1.3 kB 00:00:00
Resolving Dependencies
--> Running transaction check
---> Package autoconf.noarch 0:2.69-11.el7 will be installed
---> Package automake.noarch 0:1.13.4-3.el7 will be installed
--> Processing Dependency: perl(TAP::Parser) for package: automake-1.13.4-3.el7.noarch
--> Processing Dependency: perl(Thread::Queue) for package: automake-1.13.4-3.el7.noarch
* * * removed 94 similar lines for readability * * *
--> Processing Dependency: libefivar.so.1(libefivar.so.0)(64bit) for package: mokutil-12-1.el7.x86_64
--> Processing Dependency: libefivar.so.1(LIBEFIVAR_0.24)(64bit) for package: mokutil-12-1.el7.x86_64
--> Processing Dependency: libefivar.so.1()(64bit) for package: mokutil-12-1.el7.x86_64
---> Package systemtap-runtime.x86_64 0:3.1-3.el7 will be updated
---> Package systemtap-runtime.x86_64 0:3.1-5.el7_4 will be an update
--> Running transaction check
---> Package efivar-libs.x86_64 0:31-4.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==========================================================================================================
Package Arch Version Repository Size
==========================================================================================================
Installing for group install "Development Tools":
autoconf noarch 2.69-11.el7 rhel-x86_64-server-7 701 k
* * * removed 21 similar lines for readability * * *
systemtap x86_64 3.1-5.el7_4 rhel-x86_64-server-7 144 k
Installing for dependencies:
dwz x86_64 0.11-3.el7 rhel-x86_64-server-7 99 k
* * * removed 17 similar lines for readability * * *
systemtap-devel x86_64 3.1-5.el7_4 rhel-x86_64-server-7 2.0 M
Updating for dependencies:
cpp x86_64 4.8.5-16.el7_4.2 rhel-x86_64-server-7 5.9 M
* * * removed 6 similar lines for readability * * *
systemtap-runtime x86_64 3.1-5.el7_4 rhel-x86_64-server-7 394 k

Transaction Summary
==========================================================================================================
Install 23 Packages (+19 Dependent packages)
Upgrade ( 8 Dependent packages)

Total size: 62 M
Total download size: 62 M
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for rhel-x86_64-server-7
(1/49): autoconf-2.69-11.el7.noarch.rpm | 701 kB 00:00:00
* * * removed 47 similar lines for readability * * *
(49/49): systemtap-devel-3.1-5.el7_4.x86_64.rpm
----------------------------------------------------------------------------------------------------------
Total
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
** Found 11 pre-existing rpmdb problem(s), 'yum check' output follows:
xorg-x11-drv-intel-2.99.917-22.20151206.el7.i686 has missing requires of libX11-xcb.so.1
* * * removed 9 similar lines for readability * * *
xorg-x11-drv-intel-2.99.917-22.20151206.el7.i686 has missing requires of libxcb.so.1
Updating : libgcc-4.8.5-16.el7_4.2.x86_64
Updating : libstdc++-4.8.5-16.el7_4.2.x86_64
Installing : libquadmath-4.8.5-16.el7_4.2.x86_64
* * * removed 112 similar lines for readability * * *
Verifying : cpp-4.8.5-16.el7.x86_64

Installed:
autoconf.noarch 0:2.69-11.el7 automake.noarch 0:1.13.4-3.el7
bison.x86_64 0:3.0.4-1.el7 byacc.x86_64 0:1.9.20130304-3.el7
cscope.x86_64 0:15.8-10.el7 diffstat.x86_64 0:1.57-4.el7
doxygen.x86_64 1:1.8.5-3.el7 flex.x86_64 0:2.5.37-3.el7
gcc-c++.x86_64 0:4.8.5-16.el7_4.2 gcc-gfortran.x86_64 0:4.8.5-16.el7
indent.x86_64 0:2.2.11-13.el7 intltool.noarch 0:0.50.2-7.el7
libtool.x86_64 0:2.4.2-22.el7_3 patchutils.x86_64 0:0.3.3-4.el7
rcs.x86_64 0:5.9.0-5.el7 rpm-build.x86_64 0:4.11.3-25.el7
rpm-sign.x86_64 0:4.11.3-25.el7 subversion.x86_64 0:1.7.14-11.el7_4
swig.x86_64 0:2.0.10-5.el7 systemtap.x86_64 0:3.1-5.el7_4

Dependency Installed:
dwz.x86_64 0:0.11-3.el7 efivar-libs.x86_64 0:31-4.el7
gettext-common-devel.noarch 0:0.19.8.1-2.el7 gettext-devel.x86_64 0:0.19.8.1-2.el
libquadmath.x86_64 0:4.8.5-16.el7_4.2 libquadmath-devel.x86_64 0:4.8.5-16.el7_4.2
libstdc++-devel.x86_64 0:4.8.5-16.el7_4.2 mokutil.x86_64 0:12-1.el7
perl-Git.noarch 0:1.8.3.1-12.el7_4 perl-TermReadKey.x86_64 0:2.30-20.el7
perl-Test-Harness.noarch 0:3.28-3.el7 perl-Thread-Queue.noarch 0:3.02-2.el
perl-srpm-macros.noarch 0:1-8.el7 subversion-libs.x86_64 0:1.7.14-11.el7_4
systemtap-client.x86_64 0:3.1-5.el7_4 systemtap-devel.x86_64 0:3.1-5.el7_4

Dependency Updated:
cpp.x86_64 0:4.8.5-16.el7_4.2 gcc.x86_64 0:4.8.5-16.el7_4.2
libgcc.i686 0:4.8.5-16.el7_4.2 libgcc.x86_64 0:4.8.5-16.el7_4.2
libgomp.x86_64 0:4.8.5-16. libstdc++.x86_64 0:4.8.5-16.el7_4.2
systemtap-runtime.x86_64 0:3.1-5.el7_4

Complete!
tcsh:uid@<host>"/>
**************************************************************************

 

H) yum install glibc-devel.i686 libgcc.i686 libstdc++-devel.i686

**************************************************************************
tcsh:uid@<host>"/> yum install glibc-devel.i686 libgcc.i686 libstdc++-devel.i686
Loaded plugins: langpacks, product-id, rhnplugin, search-disabled-repos
This system is receiving updates from RHN Classic or Red Hat Satellite.
Package libgcc-4.8.5-16.el7_4.2.i686 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package glibc-devel.i686 0:2.17-196.el7_4.2 will be installed
--> Processing Dependency: glibc-headers = 2.17-196.el7_4.2 for package: glibc-devel-2.17-196.el7_4.2.i686
--> Processing Dependency: glibc = 2.17-196.el7_4.2 for package: glibc-devel-2.17-196.el7_4.2.i686
---> Package libstdc++-devel.i686 0:4.8.5-16.el7_4.2 will be installed
--> Running transaction check
---> Package glibc.i686 0:2.17-196.el7 will be updated
--> Processing Dependency: glibc = 2.17-196.el7 for package: glibc-common-2.17-196.el7.x86_64
--> Processing Dependency: glibc = 2.17-196.el7 for package: glibc-devel-2.17-196.el7.x86_64
---> Package glibc.x86_64 0:2.17-196.el7 will be updated
---> Package glibc.i686 0:2.17-196.el7_4.2 will be an update
---> Package glibc.x86_64 0:2.17-196.el7_4.2 will be an update
---> Package glibc-headers.x86_64 0:2.17-196.el7 will be updated
---> Package glibc-headers.x86_64 0:2.17-196.el7_4.2 will be an update
--> Running transaction check
---> Package glibc-common.x86_64 0:2.17-196.el7 will be updated
---> Package glibc-common.x86_64 0:2.17-196.el7_4.2 will be an update
---> Package glibc-devel.x86_64 0:2.17-196.el7 will be updated
---> Package glibc-devel.x86_64 0:2.17-196.el7_4.2 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================
Package Arch Version Repository Size
======================================================================================
Installing:
glibc-devel i686 2.17-196.el7_4.2 rhel-x86_64-server-7 1.1 M
libstdc++-devel i686 4.8.5-16.el7_4.2 rhel-x86_64-server-7 1.5 M
Updating for dependencies:
glibc i686 2.17-196.el7_4.2 rhel-x86_64-server-7 4.2 M
glibc x86_64 2.17-196.el7_4.2 rhel-x86_64-server-7 3.6 M
glibc-common x86_64 2.17-196.el7_4.2 rhel-x86_64-server-7 11 M
glibc-devel x86_64 2.17-196.el7_4.2 rhel-x86_64-server-7 1.1 M
glibc-headers x86_64 2.17-196.el7_4.2 rhel-x86_64-server-7 676 k

Transaction Summary
======================================================================================
Install 2 Packages
Upgrade ( 5 Dependent packages)

Total size: 24 M
Total download size: 2.6 M
Is this ok [y/d/N]: y
Downloading packages:
(1/2): glibc-devel-2.17-196.el7_4.2.i686.rpm | 1.1 MB 00:00:01
(2/2): libstdc++-devel-4.8.5-16.el7_4.2.i686.rpm | 1.5 MB 00:00:01
-----------------------------------------------------------------------------------
Total 611 kB/s | 2.6 MB 00:00:04
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : glibc-2.17-196.el7_4.2.x86_64 1/12
Updating : glibc-common-2.17-196.el7_4.2.x86_64 2/12
Updating : glibc-headers-2.17-196.el7_4.2.x86_64 3/12
Updating : glibc-devel-2.17-196.el7_4.2.x86_64 4/12
Installing : libstdc++-devel-4.8.5-16.el7_4.2.i686 5/12
Updating : glibc-2.17-196.el7_4.2.i686 6/12
Installing : glibc-devel-2.17-196.el7_4.2.i686 7/12
Cleanup : glibc-devel-2.17-196.el7.x86_64 8/12
Cleanup : glibc-2.17-196.el7 9/12
Cleanup : glibc-headers-2.17-196.el7.x86_64 10/12
Cleanup : glibc-common-2.17-196.el7.x86_64 11/12
Cleanup : glibc-2.17-196.el7 12/12
Verifying : glibc-devel-2.17-196.el7_4.2.x86_64 1/12
Verifying : glibc-devel-2.17-196.el7_4.2.i686 2/12
Verifying : glibc-headers-2.17-196.el7_4.2.x86_64 3/12
Verifying : glibc-2.17-196.el7_4.2.i686 4/12
Verifying : glibc-common-2.17-196.el7_4.2.x86_64 5/12
Verifying : libstdc++-devel-4.8.5-16.el7_4.2.i686 6/12
Verifying : glibc-2.17-196.el7_4.2.x86_64 7/12
Verifying : glibc-common-2.17-196.el7.x86_64 8/12
Verifying : glibc-2.17-196.el7.i686 9/12
Verifying : glibc-headers-2.17-196.el7.x86_64 10/12
Verifying : glibc-devel-2.17-196.el7.x86_64 11/12
Verifying : glibc-2.17-196.el7.x86_64 12/12

Installed:
glibc-devel.i686 0:2.17-196.el7_4.2 libstdc++-devel.i686 0:4.8.5-16.el7_4.2

Dependency Updated:
glibc.i686 0:2.17-196.el7_4.2 glibc.x86_64 0:2.17-196.el7_4.2
glibc-common.x86_64 0:2.17-196.el7_4.2 glibc-devel.x86_64 0:2.17-196.el7_4.2
glibc-headers.x86_64 0:2.17-196.el7_4.2

Complete!
tcsh:uid@<host>"/>
**************************************************************************

 

I) execute configure with the following arguments . . . --prefix=/sy/x/odbc32 --enable-gui=no --enable-drivers=no

**************************************************************************
tcsh:uid@<host>"/> cd /
tcsh:uid@<host>"/> cls
tcsh:uid@<host>"/> cd /ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6> setenv CFLAGS -m32
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6> setenv LDFLAGS -m32
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6> setenv CXXFLAGS -m32
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6> echo $CFLAGS
-m32
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6> echo $LDFLAGS
-m32
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6> echo $CXXFLAGS
-m32
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6> ./configure --prefix=/sy/x/odbc32 --enable-gui=no --enable-drivers=no
checking for a BSD-compatible install... /bin/install -c
* * * removed 237 similar lines for readability * * *
checking for strchr... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
* * * removed 43 similar lines for readability * * *
config.status: executing libtool commands
=== configuring in libltdl (/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6/libltdl)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/sy/x/odbc32' '--enable-gui=no' '--enable-drivers=no' 'CFLAGS=-m32' 'LDFLAGS=-m32' '--enable-ltdl-convenience' --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /bin/install -c
* * * removed 112 similar lines for readability * * *
checking for strlcpy... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
checking are we setting library version ... no
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6>
**************************************************************************

 

J) edit libtool to add in -m32 argument to force 32bit compiling

**************************************************************************
tcsh:uid@<host>"/> cd /
tcsh:uid@<host>"/> cls
tcsh:uid@<host>"/> cd /ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6> mv ./libtool ./libtool__orig
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6> cp ./libtool__orig ./libtool
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6> vi ./libtool
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6> diff ./libtool ./libtool__orig
363c363
< archive_cmds="\$CC -shared -m32 \$pic_flag \$libobjs \$deplibs \$compiler_flags \$wl-soname \$wl\$soname -o \$lib"
---
> archive_cmds="\$CC -shared \$pic_flag \$libobjs \$deplibs \$compiler_flags \$wl-soname \$wl\$soname -o \$lib"
367c367
< \$CC -shared -m32 \$pic_flag \$libobjs \$deplibs \$compiler_flags \$wl-soname \$wl\$soname \$wl-version-script \$wl\$output_objdir/\$libname.ver -o \$lib"
---
> \$CC -shared \$pic_flag \$libobjs \$deplibs \$compiler_flags \$wl-soname \$wl\$soname \$wl-version-script \$wl\$output_objdir/\$libname.ver -o \$lib"
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6>
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6>
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6>
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6>
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6>
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6>
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6>
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6>
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6>
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6>
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6> cat ./libtool | grep m32
LTCFLAGS="-m32 -pthread"
archive_cmds="\$CC -shared -m32 \$pic_flag \$libobjs \$deplibs \$compiler_flags \$wl-soname \$wl\$soname -o \$lib"
\$CC -shared -m32 \$pic_flag \$libobjs \$deplibs \$compiler_flags \$wl-soname \$wl\$soname \$wl-version-script \$wl\$output_objdir/\$libname.ver -o \$lib"
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6>
**************************************************************************


K) make clean

**************************************************************************
tcsh:uid@<host>"/> cd /
tcsh:uid@<host>"/> cls
tcsh:uid@<host>"/> cd /ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6> setenv CFLAGS -m32
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6> setenv LDFLAGS -m32
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6> setenv CXXFLAGS -m32
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6> echo $CFLAGS
-m32
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6> echo $LDFLAGS
-m32
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6> echo $CXXFLAGS
-m32
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6> make clean
Making clean in extras
make[1]: Entering directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6/extras'
rm -rf .libs _libs
test -z "libodbcextraslc.la" || rm -f libodbcextraslc.la
rm -f ./so_locations
rm -f *.o
rm -f *.lo
make[1]: Leaving directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6/extras'
* * * removed 133 similar lines for readability * * *
make[1]: Leaving directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6/samples'
make[1]: Entering directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6'
rm -rf .libs _libs
rm -f *.lo
make[1]: Leaving directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6'
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6>
**************************************************************************


L) execute make

**************************************************************************
tcsh:uid@<host>"/> cd /
tcsh:uid@<host>"/> cls
tcsh:uid@<host>"/> cd /ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6> setenv CFLAGS -m32
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6> setenv LDFLAGS -m32
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6> setenv CXXFLAGS -m32
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6> echo $CFLAGS
-m32
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6> echo $LDFLAGS
-m32
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6> echo $CXXFLAGS
-m32
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6> make
make all-recursive
make[1]: Entering directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6'
Making all in extras
make[2]: Entering directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6/extras'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -m32 -pthread -MT strcasecmp.lo -MD -MP -MF .deps/strcasecmp.Tpo -c -o strcasecmp.lo strcasecmp.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -m32 -pthread -MT strcasecmp.lo -MD -MP -MF .deps/strcasecmp.Tpo -c strcasecmp.c -fPIC -DPIC -o .libs/strcasecmp.o
mv -f .deps/strcasecmp.Tpo .deps/strcasecmp.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -m32 -pthread -MT snprintf.lo -MD -MP -MF .deps/snprintf.Tpo -c -o snprintf.lo snprintf.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -m32 -pthread -MT snprintf.lo -MD -MP -MF .deps/snprintf.Tpo -c snprintf.c -fPIC -DPIC -o .libs/snprintf.o
mv -f .deps/snprintf.Tpo .deps/snprintf.Plo
/bin/sh ../libtool --tag=CC --mode=link gcc -m32 -pthread -no-undefined -m32 -o libodbcextraslc.la strcasecmp.lo snprintf.lo -lpthread
libtool: link: ar cru .libs/libodbcextraslc.a .libs/strcasecmp.o .libs/snprintf.o
libtool: link: ranlib .libs/libodbcextraslc.a
libtool: link: ( cd ".libs" && rm -f "libodbcextraslc.la" && ln -s "../libodbcextraslc.la" "libodbcextraslc.la" )
make[2]: Leaving directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6/extras'
* * * removed 236 similar lines for readability * * *
Making all in libltdl
make[2]: Entering directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6/libltdl'
make all-am
make[3]: Entering directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6/libltdl'
CC loaders/dlopen.lo
CCLD dlopen.la
CC loaders/libltdlc_la-preopen.lo
CC libltdlc_la-lt__alloc.lo
CC libltdlc_la-lt_dlloader.lo
CC libltdlc_la-lt_error.lo
CC libltdlc_la-ltdl.lo
CC libltdlc_la-slist.lo
CC lt__strl.lo
CCLD libltdlc.la
make[3]: Leaving directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6/libltdl'
make[2]: Leaving directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6/libltdl'
* * * removed 790 similar lines for readability * * *
Making all in samples
make[2]: Entering directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6/samples'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6/samples'
make[2]: Entering directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6'
make[2]: Leaving directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6'
make[1]: Leaving directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6'
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6>
**************************************************************************


M) make the . . . etc . . . subdirectory under /sy/x/odbc32

**************************************************************************
tcsh:uid@<host>"/> /bin/mkdir -p "/sy/x/odbc32/etc"
tcsh:uid@<host>"/>
**************************************************************************


N) execute install

**************************************************************************
tcsh:uid@<host>"/> cd /
tcsh:uid@<host>"/> cls
tcsh:uid@<host>"/> cd /ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6> setenv CFLAGS -m32
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6> setenv LDFLAGS -m32
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6> setenv CXXFLAGS -m32
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6> echo $CFLAGS
-m32
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6> echo $LDFLAGS
-m32
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6> echo $CXXFLAGS
-m32
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6> make install
Making install in extras
make[1]: Entering directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6/extras'
make[2]: Entering directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6/extras'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6/extras'
make[1]: Leaving directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6/extras'
* * * removed 29 similar lines for readability * * *
Making install in odbcinst
make[1]: Entering directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6/odbcinst'
make[2]: Entering directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6/odbcinst'
/bin/mkdir -p '/sy/x/odbc32/lib'
/bin/sh ../libtool --mode=install /bin/install -c libodbcinst.la '/sy/x/odbc32/lib'
libtool: install: /bin/install -c .libs/libodbcinst.so.2.0.0 /sy/x/odbc32/lib/libodbcinst.so.2.0.0
libtool: install: (cd /sy/x/odbc32/lib && { ln -s -f libodbcinst.so.2.0.0 libodbcinst.so.2 || { rm -f libodbcinst.so.2 && ln -s libodbcinst.so.2.0.0 libodbcinst.so.2; }; })
libtool: install: (cd /sy/x/odbc32/lib && { ln -s -f libodbcinst.so.2.0.0 libodbcinst.so || { rm -f libodbcinst.so && ln -s libodbcinst.so.2.0.0 libodbcinst.so; }; })
libtool: install: /bin/install -c .libs/libodbcinst.lai /sy/x/odbc32/lib/libodbcinst.la
libtool: finish: PATH=".:/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/ucb:/uid/bin:/usr/global/opt/gnu/bin:/usr/global/opt/bin:/usr/atria/bin:/usr/lib64/qt-3.3/bin:/usr/global/o pt/SUNWspro6.2/bin:/sbin" ldconfig -n /sy/x/odbc32/lib
----------------------------------------------------------------------
Libraries have been installed in:
/sy/x/odbc32/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the 'LD_RUN_PATH' environment variable
during linking
- use the '-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6/odbcinst'
make[1]: Leaving directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6/odbcinst'
Making install in DriverManager
make[1]: Entering directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6/DriverManager'
make[2]: Entering directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6/DriverManager'
/bin/mkdir -p '/sy/x/odbc32/lib'
/bin/sh ../libtool --mode=install /bin/install -c libodbc.la '/sy/x/odbc32/lib'
libtool: install: /bin/install -c .libs/libodbc.so.2.0.0 /sy/x/odbc32/lib/libodbc.so.2.0.0
libtool: install: (cd /sy/x/odbc32/lib && { ln -s -f libodbc.so.2.0.0 libodbc.so.2 || { rm -f libodbc.so.2 && ln -s libodbc.so.2.0.0 libodbc.so.2; }; })
libtool: install: (cd /sy/x/odbc32/lib && { ln -s -f libodbc.so.2.0.0 libodbc.so || { rm -f libodbc.so && ln -s libodbc.so.2.0.0 libodbc.so; }; })
libtool: install: /bin/install -c .libs/libodbc.lai /sy/x/odbc32/lib/libodbc.la
libtool: finish: PATH=".:/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/ucb:/uid/bin:/usr/global/opt/gnu/bin:/usr/global/opt/bin:/usr/atria/bin:/usr/lib64/qt-3.3/bin:/usr/global/o pt/SUNWspro6.2/bin:/sbin" ldconfig -n /sy/x/odbc32/lib
----------------------------------------------------------------------
Libraries have been installed in:
/sy/x/odbc32/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the 'LD_RUN_PATH' environment variable
during linking
- use the '-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6/DriverManager'
make[1]: Leaving directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6/DriverManager'
Making install in exe
make[1]: Entering directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6/exe'
make[2]: Entering directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6/exe'
/bin/mkdir -p '/sy/x/odbc32/bin'
/bin/sh ../libtool --mode=install /bin/install -c isql dltest odbcinst iusql odbc_config slencheck '/sy/x/odbc32/bin'
libtool: install: /bin/install -c .libs/isql /sy/x/odbc32/bin/isql
libtool: install: /bin/install -c dltest /sy/x/odbc32/bin/dltest
libtool: install: /bin/install -c .libs/odbcinst /sy/x/odbc32/bin/odbcinst
libtool: install: /bin/install -c .libs/iusql /sy/x/odbc32/bin/iusql
libtool: install: /bin/install -c odbc_config /sy/x/odbc32/bin/odbc_config
libtool: install: /bin/install -c .libs/slencheck /sy/x/odbc32/bin/slencheck
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6/exe'
make[1]: Leaving directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6/exe'
Making install in cur
make[1]: Entering directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6/cur'
make[2]: Entering directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6/cur'
/bin/mkdir -p '/sy/x/odbc32/lib'
/bin/sh ../libtool --mode=install /bin/install -c libodbccr.la '/sy/x/odbc32/lib'
libtool: warning: relinking 'libodbccr.la'
libtool: install: (cd /ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6/cur; /bin/sh "/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6/libtool" --tag CC --mode=relink gcc -m32 -pthread -no-undefined -version-info 2:0:0 -export-symbols ./cur.exp -export-dynamic ../DriverManager/libodbc.la -m32 -o libodbccr.la -rpath /sy/x/odbc32/lib SQLAllocHandle.lo SQ LAllocHandleStd.lo SQLAllocStmt.lo SQLBindCol.lo SQLBindParam.lo SQLBindParameter.lo SQLCancel.lo SQLCloseCursor.lo SQLColAttribute.lo SQLColAttributes.lo SQLColumnPrivileges.lo SQLCo lumns.lo SQLConnect.lo SQLCopyDesc.lo SQLDescribeCol.lo SQLDescribeParam.lo SQLEndTran.lo SQLError.lo SQLExecDirect.lo SQLExecute.lo SQLExtendedFetch.lo SQLFetch.lo SQLFetchScroll.lo SQLForeignKeys.lo SQLFreeHandle.lo SQLFreeStmt.lo SQLGetConnectAttr.lo SQLGetConnectOption.lo SQLGetCursorName.lo SQLGetData.lo SQLGetDescField.lo SQLGetDescRec.lo SQLGetDiagRec.lo SQ LGetDiagField.lo SQLGetInfo.lo SQLGetStmtAttr.lo SQLGetStmtOption.lo SQLGetTypeInfo.lo SQLMoreResults.lo SQLNativeSql.lo SQLNumParams.lo SQLNumResultCols.lo SQLParamData.lo SQLParamOp tions.lo SQLPrepare.lo SQLPrimaryKeys.lo SQLProcedureColumns.lo SQLProcedures.lo SQLPutData.lo SQLRowCount.lo SQLSetConnectAttr.lo SQLSetConnectOption.lo SQLSetCursorName.lo SQLSetDes cRec.lo SQLSetDescField.lo SQLSetParam.lo SQLSetPos.lo SQLSetScrollOptions.lo SQLSetStmtAttr.lo SQLSetStmtOption.lo SQLSpecialColumns.lo SQLStatistics.lo SQLTablePrivileges.lo SQLTabl es.lo SQLTransact.lo -lpthread )
libtool: relink: echo "{ global:" > .libs/libodbccr.ver
libtool: relink: cat ./cur.exp | sed -e "s/\(.*\)/\1;/" >> .libs/libodbccr.ver
libtool: relink: echo "local: *; };" >> .libs/libodbccr.ver
libtool: relink: gcc -shared -m32 -fPIC -DPIC .libs/SQLAllocHandle.o .libs/SQLAllocHandleStd.o .libs/SQLAllocStmt.o .libs/SQLBindCol.o .libs/SQLBindParam.o .libs/SQLBindParameter.o .libs/SQLCancel.o .libs/SQLCloseCursor.o .libs/SQLColAttribute.o .libs/SQLColAttributes.o .libs/SQLColumnPrivileges.o .libs/SQLColumns.o .libs/SQLConnect.o .libs/SQLCopyDesc.o .libs/ SQLDescribeCol.o .libs/SQLDescribeParam.o .libs/SQLEndTran.o .libs/SQLError.o .libs/SQLExecDirect.o .libs/SQLExecute.o .libs/SQLExtendedFetch.o .libs/SQLFetch.o .libs/SQLFetchScroll.o .libs/SQLForeignKeys.o .libs/SQLFreeHandle.o .libs/SQLFreeStmt.o .libs/SQLGetConnectAttr.o .libs/SQLGetConnectOption.o .libs/SQLGetCursorName.o .libs/SQLGetData.o .libs/SQLGetDescFie ld.o .libs/SQLGetDescRec.o .libs/SQLGetDiagRec.o .libs/SQLGetDiagField.o .libs/SQLGetInfo.o .libs/SQLGetStmtAttr.o .libs/SQLGetStmtOption.o .libs/SQLGetTypeInfo.o .libs/SQLMoreResults .o .libs/SQLNativeSql.o .libs/SQLNumParams.o .libs/SQLNumResultCols.o .libs/SQLParamData.o .libs/SQLParamOptions.o .libs/SQLPrepare.o .libs/SQLPrimaryKeys.o .libs/SQLProcedureColumns. o .libs/SQLProcedures.o .libs/SQLPutData.o .libs/SQLRowCount.o .libs/SQLSetConnectAttr.o .libs/SQLSetConnectOption.o .libs/SQLSetCursorName.o .libs/SQLSetDescRec.o .libs/SQLSetDescFie ld.o .libs/SQLSetParam.o .libs/SQLSetPos.o .libs/SQLSetScrollOptions.o .libs/SQLSetStmtAttr.o .libs/SQLSetStmtOption.o .libs/SQLSpecialColumns.o .libs/SQLStatistics.o .libs/SQLTablePr ivileges.o .libs/SQLTables.o .libs/SQLTransact.o -Wl,-rpath -Wl,/sy/x/odbc32/lib -L/sy/x/odbc32/lib -lodbc -ldl -lpthread -m32 -pthread -m32 -pthread -Wl,-soname -Wl,libodbccr.so .2 -Wl,-version-script -Wl,.libs/libodbccr.ver -o .libs/libodbccr.so.2.0.0
libtool: install: /bin/install -c .libs/libodbccr.so.2.0.0T /sy/x/odbc32/lib/libodbccr.so.2.0.0
libtool: install: (cd /sy/x/odbc32/lib && { ln -s -f libodbccr.so.2.0.0 libodbccr.so.2 || { rm -f libodbccr.so.2 && ln -s libodbccr.so.2.0.0 libodbccr.so.2; }; })
libtool: install: (cd /sy/x/odbc32/lib && { ln -s -f libodbccr.so.2.0.0 libodbccr.so || { rm -f libodbccr.so && ln -s libodbccr.so.2.0.0 libodbccr.so; }; })
libtool: install: /bin/install -c .libs/libodbccr.lai /sy/x/odbc32/lib/libodbccr.la
libtool: finish: PATH=".:/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/ucb:/uid/bin:/usr/global/opt/gnu/bin:/usr/global/opt/bin:/usr/atria/bin:/usr/lib64/qt-3.3/bin:/usr/global/o pt/SUNWspro6.2/bin:/sbin" ldconfig -n /sy/x/odbc32/lib
----------------------------------------------------------------------
Libraries have been installed in:
/sy/x/odbc32/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the 'LD_RUN_PATH' environment variable
during linking
- use the '-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6/cur'
make[1]: Leaving directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6/cur'
Making install in DRVConfig
make[1]: Entering directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6/DRVConfig'
make[2]: Entering directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6/DRVConfig'
make[3]: Entering directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6/DRVConfig'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6/DRVConfig'
make[2]: Leaving directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6/DRVConfig'
make[1]: Leaving directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6/DRVConfig'
* * * removed 75 similar lines for readability * * *
Making install in samples
make[1]: Entering directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6/samples'
make[2]: Entering directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6/samples'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6/samples'
make[1]: Leaving directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6/samples'
make[1]: Entering directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6'
make[2]: Entering directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6'
make[2]: Nothing to be done for `install-exec-am'.
/bin/mkdir -p '/sy/x/odbc32/lib/pkgconfig'
/bin/install -c -m 644 cur/odbccr.pc DriverManager/odbc.pc odbcinst/odbcinst.pc '/sy/x/odbc32/lib/pkgconfig'
touch /sy/x/odbc32/etc/odbcinst.ini
touch /sy/x/odbc32/etc/odbc.ini
mkdir -p /sy/x/odbc32/etc/ODBCDataSources
cp unixodbc_conf.h /sy/x/odbc32/include/unixodbc_conf.h
make[2]: Leaving directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6'
make[1]: Leaving directory `/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6'
tcsh:uid@<host>"/ii/unixODBC/unixODBC-2.3.6.tar_gz/uzpd/unixODBC-2.3.6>
**************************************************************************

 

O) show a listing off all files installed now in /sy/x/odbc32

**************************************************************************
tcsh:uid@<host>"/> ls -alR /sy/x/odbc32
/sy/x/odbc32:
total 4
drwxrwxr-x. 7 syuid syuid 67 Mar 22 14:31 .
drwxrwxr-x. 3 syuid syuid 20 Mar 22 13:53 ..
drwxrwxr-x. 2 uid uid 97 Mar 22 14:40 bin
drwxrwxr-x. 3 uid uid 65 Mar 22 14:40 etc
drwxrwxr-x. 2 uid uid 210 Mar 22 14:40 include
drwxrwxr-x. 3 uid uid 4096 Mar 22 14:40 lib
drwxrwxr-x. 3 uid uid 17 Mar 22 14:31 share

/sy/x/odbc32/bin:
total 164
drwxrwxr-x. 2 uid uid 97 Mar 22 14:40 .
drwxrwxr-x. 7 syuid syuid 67 Mar 22 14:31 ..
-rwxr-xr-x. 1 uid uid 47064 Mar 22 14:40 dltest
-rwxr-xr-x. 1 uid uid 34988 Mar 22 14:40 isql
-rwxr-xr-x. 1 uid uid 25996 Mar 22 14:40 iusql
-rwxr-xr-x. 1 uid uid 11708 Mar 22 14:40 odbc_config
-rwxr-xr-x. 1 uid uid 26796 Mar 22 14:40 odbcinst
-rwxr-xr-x. 1 uid uid 11908 Mar 22 14:40 slencheck

/sy/x/odbc32/etc:
total 0
drwxrwxr-x. 3 uid uid 65 Mar 22 14:40 .
drwxrwxr-x. 7 syuid syuid 67 Mar 22 14:31 ..
drwxrwxr-x. 2 uid uid 6 Mar 22 14:31 ODBCDataSources
-rw-rw-r--. 1 uid uid 0 Mar 22 14:40 odbc.ini
-rw-rw-r--. 1 uid uid 0 Mar 22 14:40 odbcinst.ini

/sy/x/odbc32/etc/ODBCDataSources:
total 0
drwxrwxr-x. 2 uid uid 6 Mar 22 14:31 .
drwxrwxr-x. 3 uid uid 65 Mar 22 14:40 ..

/sy/x/odbc32/include:
total 212
drwxrwxr-x. 2 uid uid 210 Mar 22 14:40 .
drwxrwxr-x. 7 syuid syuid 67 Mar 22 14:31 ..
-rw-r--r--. 1 uid uid 6198 Mar 22 14:40 autotest.h
-rw-r--r--. 1 uid uid 10947 Mar 22 14:40 odbcinstext.h
-rw-r--r--. 1 uid uid 18278 Mar 22 14:40 odbcinst.h
-rw-r--r--. 1 uid uid 83254 Mar 22 14:40 sqlext.h
-rw-r--r--. 1 uid uid 32379 Mar 22 14:40 sql.h
-rw-r--r--. 1 uid uid 6983 Mar 22 14:40 sqlspi.h
-rw-r--r--. 1 uid uid 11325 Mar 22 14:40 sqltypes.h
-rw-r--r--. 1 uid uid 21666 Mar 22 14:40 sqlucode.h
-rw-rw-r--. 1 uid uid 982 Mar 22 14:40 unixodbc_conf.h
-rw-r--r--. 1 uid uid 2301 Mar 22 14:40 uodbc_extras.h
-rw-r--r--. 1 uid uid 2590 Mar 22 14:40 uodbc_stats.h

/sy/x/odbc32/lib:
total 796
drwxrwxr-x. 3 uid uid 4096 Mar 22 14:40 .
drwxrwxr-x. 7 syuid syuid 67 Mar 22 14:31 ..
-rwxr-xr-x. 1 uid uid 973 Mar 22 14:40 libodbccr.la
lrwxrwxrwx. 1 uid uid 18 Mar 22 14:40 libodbccr.so -> libodbccr.so.2.0.0
lrwxrwxrwx. 1 uid uid 18 Mar 22 14:40 libodbccr.so.2 -> libodbccr.so.2.0.0
-rwxr-xr-x. 1 uid uid 48832 Mar 22 14:40 libodbccr.so.2.0.0
-rwxr-xr-x. 1 uid uid 957 Mar 22 14:39 libodbcinst.la
lrwxrwxrwx. 1 uid uid 20 Mar 22 14:39 libodbcinst.so -> libodbcinst.so.2.0.0
lrwxrwxrwx. 1 uid uid 20 Mar 22 14:39 libodbcinst.so.2 -> libodbcinst.so.2.0.0
-rwxr-xr-x. 1 uid uid 120392 Mar 22 14:39 libodbcinst.so.2.0.0
-rwxr-xr-x. 1 uid uid 933 Mar 22 14:40 libodbc.la
lrwxrwxrwx. 1 uid uid 16 Mar 22 14:40 libodbc.so -> libodbc.so.2.0.0
lrwxrwxrwx. 1 uid uid 16 Mar 22 14:40 libodbc.so.2 -> libodbc.so.2.0.0
-rwxr-xr-x. 1 uid uid 624208 Mar 22 14:40 libodbc.so.2.0.0
drwxrwxr-x. 2 uid uid 57 Mar 22 14:40 pkgconfig

/sy/x/odbc32/lib/pkgconfig:
total 16
drwxrwxr-x. 2 uid uid 57 Mar 22 14:40 .
drwxrwxr-x. 3 uid uid 4096 Mar 22 14:40 ..
-rw-r--r--. 1 uid uid 261 Mar 22 14:40 odbccr.pc
-rw-r--r--. 1 uid uid 263 Mar 22 14:40 odbcinst.pc
-rw-r--r--. 1 uid uid 480 Mar 22 14:40 odbc.pc

/sy/x/odbc32/share:
total 0
drwxrwxr-x. 3 uid uid 17 Mar 22 14:31 .
drwxrwxr-x. 7 syuid syuid 67 Mar 22 14:31 ..
drwxrwxr-x. 5 uid uid 42 Mar 22 14:31 man

/sy/x/odbc32/share/man:
total 0
drwxrwxr-x. 5 uid uid 42 Mar 22 14:31 .
drwxrwxr-x. 3 uid uid 17 Mar 22 14:31 ..
drwxrwxr-x. 2 uid uid 90 Mar 22 14:40 man1
drwxrwxr-x. 2 uid uid 46 Mar 22 14:40 man5
drwxrwxr-x. 2 uid uid 24 Mar 22 14:40 man7

/sy/x/odbc32/share/man/man1:
total 20
drwxrwxr-x. 2 uid uid 90 Mar 22 14:40 .
drwxrwxr-x. 5 uid uid 42 Mar 22 14:31 ..
-rw-r--r--. 1 uid uid 912 Mar 22 14:40 dltest.1
-rw-r--r--. 1 uid uid 3313 Mar 22 14:40 isql.1
-rw-r--r--. 1 uid uid 16 Mar 22 14:40 iusql.1
-rw-r--r--. 1 uid uid 2172 Mar 22 14:40 odbc_config.1
-rw-r--r--. 1 uid uid 2690 Mar 22 14:40 odbcinst.1

/sy/x/odbc32/share/man/man5:
total 8
drwxrwxr-x. 2 uid uid 46 Mar 22 14:40 .
drwxrwxr-x. 5 uid uid 42 Mar 22 14:31 ..
-rw-r--r--. 1 uid uid 747 Mar 22 14:40 odbc.ini.5
-rw-r--r--. 1 uid uid 2239 Mar 22 14:40 odbcinst.ini.5

/sy/x/odbc32/share/man/man7:
total 4
drwxrwxr-x. 2 uid uid 24 Mar 22 14:40 .
drwxrwxr-x. 5 uid uid 42 Mar 22 14:31 ..
-rw-r--r--. 1 uid uid 1683 Mar 22 14:40 unixODBC.7
tcsh:uid@<host>"/>
**************************************************************************


P) change the ownership of /sy/x/odbc32/* to the syuid userid


******************************************************************************
tcsh:uid@<host>"/> chown -R syuid:syuid /sy
tcsh:uid@<host>"/>
******************************************************************************


Q) show version with odbc32/bin/isql and odbcinst

******************************************************************************
cd /sy/x/odbc32
find . -name "isql"
ls -al /sy/x/odbc32/bin/isql
/sy/x/odbc32/bin/isql --version
******************************************************************************

******************************************************************************
tcsh:uid@<host>"/sy/x/odbc32> find . -name "isql"
./bin/isql
tcsh:uid@<host>"/> ls -al /sy/x/odbc32/bin/isql
-rwxr-xr-x. 1 syuid syuid 34988 Mar 22 14:40 /sy/x/odbc32/bin/isql
tcsh:uid@<host>"/> /sy/x/odbc32/bin/isql --version
unixODBC 2.3.6
tcsh:uid@<host>"/>
******************************************************************************


******************************************************************************
ls -al /sy/x/odbc32/bin/odbcinst
/sy/x/odbc32/bin/odbcinst --version
******************************************************************************

******************************************************************************
tcsh:uid@<host>"/> ls -al /sy/x/odbc32/bin/odbcinst
-rwxr-xr-x. 1 syuid syuid 26796 Mar 22 14:40 /sy/x/odbc32/bin/odbcinst
tcsh:uid@<host>"/> /sy/x/odbc32/bin/odbcinst --version
unixODBC 2.3.6
tcsh:uid@<host>"/>
******************************************************************************

R) miscellaneous items related to SAP Sybase ECDA 15.7sp5

**************************************************************************
even though SAP Sybase ECDA 15.7sp5 ships with the following odbc driver manager . . .
/sy/e3x157sp02/DC-15_0/drv_mgr/unixODBC-2.2.14
/sy/e3x157sp02/DC-15_0/lib

the new driver mgr with unixODBC-2.3.6 will now be used
/sy/x/odbc32/lib
/sy/x/odbc32/lib/libodbc.so.2.0.0
**************************************************************************

**************************************************************************
cd /sy/e3x157sp5
cat ./se__ecda__2.3.6
**************************************************************************

**************************************************************************
tcsh:uid@<host>:/sy/e3x157sp5> cat ./se__ecda__2.3.6
#!/bin/csh
setenv SYBASE /sy/e3x157sp5
setenv SYBASE_ECON DC-15_0
setenv SYBASE_OCS OCS-15_0
setenv DCSRVNM e3x157sp5bw

setenv SYBASE_SYSAM {$SYBASE}/SYSAM-2_0
setenv LM_LICENSE_FILE {$SYBASE_SYSAM}/licenses/keyserver.wdf.global.corp.sap.lic

setenv SYBCSI_PROVIDER_DIR {$SYBASE}/{$SYBASE_ECON}/connectivity/{$SYBASE}_OCS/lib3p

# SFON00645259A.amer.global.corp.sap 10.6.16.106
setenv DISPLAY 10.6.16.106:0.0

limit maxproc
limit descriptors
echo "umask = `umask`"
limit maxproc 16384
limit descriptors 65536
umask 022
limit maxproc
limit descriptors
echo "umask = `umask`"

setenv ODBCINI /sy/x/odbc32/etc/odbc.ini
setenv ODBCINI_PATH /sy/x/odbc32/etc/odbc.ini
setenv ODBCSYSINI /sy/x/odbc32/etc
setenv DB2CLIINIPATH /sy/x/odbc32/etc
 
setenv ORACLE_OWNER oracle
setenv ORACLE_BASE /sy/x/odbc32_drvr/or_122010
setenv ORACLE_HOME $ORACLE_BASE/hm

setenv ORACLE_SID ork

setenv PATH ${ORACLE_BASE}:
setenv PATH {$PATH}/sy/x/odbc32/bin:
setenv PATH {$PATH}/sy/x/odbc32_drvr/freetds_1.00.83/bin:
setenv PATH {$PATH}$ORACLE_HOME/bin:
setenv PATH {$PATH}{$SYBASE}/DC-15_0/bin:
setenv PATH {$PATH}{$SYBASE}/{$SYBASE_ECON}/connectivity/OCS-15_0/bin:
setenv PATH {$PATH}/sy/x/odbc32/bin:
setenv PATH {$PATH}/sy/x/odbc32_drvr/db2_105fp8/cli/bin:
setenv PATH {$PATH}/sy/x/sdk32v16/DataAccess/bin:
setenv PATH {$PATH}.:
setenv PATH {$PATH}/bin:
setenv PATH {$PATH}/usr/bin:
setenv PATH {$PATH}/usr/local/bin:
setenv PATH {$PATH}/usr/sbin:

setenv LD_LIBRARY_PATH /sy/x/odbc32/lib:
setenv LD_LIBRARY_PATH {$LD_LIBRARY_PATH}{$SYBASE}/{$SYBASE_ECON}/lib:
setenv LD_LIBRARY_PATH {$LD_LIBRARY_PATH}{$SYBASE}/{$SYBASE_ECON}/connectivity/OCS-15_0/lib:
setenv LD_LIBRARY_PATH {$LD_LIBRARY_PATH}{$SYBASE}/{$SYBASE_ECON}/connectivity/OCS-15_0/lib3p:
setenv LD_LIBRARY_PATH {$LD_LIBRARY_PATH}{$SYBASE}/{$SYBASE_ECON}/lib:
setenv LD_LIBRARY_PATH {$LD_LIBRARY_PATH}/sy/x/odbc32_drvr/freetds_1.00.83/lib:
setenv LD_LIBRARY_PATH {$LD_LIBRARY_PATH}/sy/x/odbc32_drvr/db2_105fp8/cli/lib:
setenv LD_LIBRARY_PATH {$LD_LIBRARY_PATH}$ORACLE_HOME/lib:
setenv LD_LIBRARY_PATH {$LD_LIBRARY_PATH}/sy/x/sdk32v16/DataAccess/ODBC/lib:
setenv LD_LIBRARY_PATH {$LD_LIBRARY_PATH}/usr/lib:

setenv SHLIB_PATH ''
setenv LIBPATH ''

echo '$DCSRVNM='{$DCSRVNM}

setenv DIR_TIMESTAMP `eval date +%Y_%m_%d__%T`

if (! -d {$SYBASE}/{$SYBASE_ECON}/servers/{$DCSRVNM}/log/archived_logs) then
mkdir {$SYBASE}/{$SYBASE_ECON}/servers/{$DCSRVNM}/log/archived_logs
endif

if (! -d {$SYBASE}/{$SYBASE_ECON}/servers/{$DCSRVNM}/log/archived_logs/{$DIR_TIMESTAMP}) then
mkdir {$SYBASE}/{$SYBASE_ECON}/servers/{$DCSRVNM}/log/archived_logs/{$DIR_TIMESTAMP}
endif

setenv SYBASE_ORIG {$SYBASE}
setenv SYBASE_ECON_ORIG {$SYBASE_ECON}

setenv SYBASE_ECON ..
setenv SYBASE {$SYBASE}/{$SYBASE_ECON_ORIG}/connectivity

setenv SYBASE_SYSAM_ORIG {$SYBASE}_ORIG/SYSAM-2_0
setenv SYBASE_SYSAM ../../SYSAM-2_0
echo '{$SYBASE_SYSAM}='{$SYBASE_SYSAM}

cd {$SYBASE}/{$SYBASE_ECON}/bin

tcsh:uid@<host>:/sy/e3x157sp5>
**************************************************************************


**************************************************************************
cd /sy/e3x157sp5
cat ./se__ecda__2.3.6 | grep -i odbc
**************************************************************************

**************************************************************************
tcsh:syuid@<host>"/sy/e3x157sp5> cat ./se__ecda__2.3.6 | grep -i odbc
setenv ODBCINI /sy/x/odbc32/etc/odbc.ini
setenv ODBCINI_PATH /sy/x/odbc32/etc/odbc.ini
setenv ODBCSYSINI /sy/x/odbc32/etc
setenv DB2CLIINIPATH /sy/x/odbc32/etc
setenv ORACLE_BASE /sy/x/odbc32_drvr/or_122010
setenv PATH {$PATH}/sy/x/odbc32/bin:
setenv PATH {$PATH}/sy/x/odbc32/bin:
setenv PATH {$PATH}/sy/x/odbc32_drvr/db2_105fp8/cli/bin:
setenv LD_LIBRARY_PATH /sy/x/odbc32/lib:
setenv LD_LIBRARY_PATH {$LD_LIBRARY_PATH}/sy/x/odbc32_drvr/db2_105fp8/cli/lib:
setenv LD_LIBRARY_PATH {$LD_LIBRARY_PATH}/sy/x/sdk32v16/DataAccess/ODBC/lib:
tcsh:syuid@<host>"/sy/e3x157sp5>
**************************************************************************


**************************************************************************
cat /sy/e3x157sp5/DC-15_0/servers/e3x157sp5bw/etc/dcany.cfg | grep -i odbc
**************************************************************************

**************************************************************************
tcsh:syuid@<host>"/> cat /sy/e3x157sp5/DC-15_0/servers/e3x157sp5bw/etc/dcany.cfg | grep -i odbc
ODBCDriverManager=/sy/x/odbc32/lib/libodbc.so.2.0.0
SvclibDescription=Access Service Library for ODBC.
tcsh:syuid@<host>"/>
**************************************************************************


 author:  MALCOLM B WEAVER JR

  • No labels