ERROR: Slooooow dooooown... this page load was delayed.


libiodbc - Independent Open DataBase Connectivity ChangeLog

HOWTO


# libiodbc 3.52.16
# ================
# Slackware 14.0, 14.1: libiodbc 3.52.7
# Slackware 14.2: libiodbc 3.52.10
# Slackware 15.0: libiodbc 3.52.15

# Prerequisites:
# pkg-config
# GTK+ (optional)

# If you have trouble downloading it from GitHub, you can get
# it from SourceForge instead:

# 2023-05-02 - iODBC Stable Version 3.52.16 Released
# GitHub releases
# SourceForge project page

# Get the source tarball
cd
test -f installed/libiodbc-3.52.16.tar.gz &&
mv -f installed/libiodbc-3.52.16.tar.gz .
test ! -f libiodbc-3.52.16.tar.gz &&
wget https://github.com/openlink/iODBC/releases/download/v3.52.16/\
libiodbc-3.52.16.tar.gz

# Extract the source
mkdir -p -m 0700 ~/src
cd ~/src
find -maxdepth 1 -type d -name "libiodbc-*" -exec rm -r {} \;
tar xzvf ~/libiodbc-3.52.16.tar.gz
cd libiodbc-3.52.16
test $UID = 0 && chown -R root:root .

# Read 'less ./README' or
# https://github.com/openlink/iODBC/blob/v3.52.16/README.md

# If upgrading, read 'less ./NEWS' or
# https://github.com/openlink/iODBC/blob/v3.52.16/NEWS

# Configure the build for 64-bit
test $(uname -m) = 'x86_64' &&
./configure --prefix=/usr --libdir=/usr/lib64 --mandir=/usr/man \
  --disable-static

# Configure the build for anything else
test $(uname -m) != 'x86_64' &&
./configure --prefix=/usr --mandir=/usr/man --disable-static

# Build it
make

# Become root to install it
su

# Remove Slackware package, if there is one
test -x /sbin/removepkg && /sbin/removepkg libiodbc

# Install it
make install
ldconfig

# Make sure your non-root user can remove the source later
chown -R $(logname) .
chmod -R u+w .

# Become your non-root user again
exit

# Save the source for later
cd
mkdir -p -m 0700 installed
rm -f installed/libiodbc-*.tar.*
mv libiodbc-3.52.16.tar.gz installed/


# If you ever want to uninstall libiodbc, this should do it:
cd
su
test -d src/libiodbc-* && ( cd src/libiodbc-* ; make uninstall )
( cd /usr/bin
  rm -f iodbc-config iodbcadm-gtk iodbctest iodbctestw )
test -d /usr/doc/libiodbc && rm -r /usr/doc/libiodbc
find /usr/doc -maxdepth 1 -type d -name "libiodbc-*" -exec rm -r {} \;
( cd /usr/include
  rm -f iodbcext.h iodbcinst.h iodbcunix.h isql.h isqlext.h \
   isqltypes.h odbcinst.h sql.h sqlext.h sqltypes.h sqlucode.h )
( cd /usr/lib
  rm -f libdrvproxy.* libiodbc.* libiodbcadm.* libiodbcinst.* \
   pkgconfig/libiodbc.pc )
test -d /usr/lib64 &&
( cd /usr/lib
   rm -f libdrvproxy.* libiodbc.* libiodbcadm.* libiodbcinst.* \
    pkgconfig/libiodbc.pc )
( cd /usr/man/man1
  rm -f iodbc-config.1 iodbcadm-gtk.1 iodbctest.1 iodbctestw.1 )
test -d /usr/share/libiodbc && rm -r /usr/share/libiodbc
ldconfig
exit
find ~/src -maxdepth 1 -type d -name "libiodbc-*" -exec rm -r {} \;
rm -f ~/installed/libiodbc-*.tar.*

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EST -0500)
HOWTO last updated: 2023-12-14 8:50pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]