[unixODBC-support] [01000][unixODBC][Driver Manager]Can't open lib '/usr/sap/D101/libodbcHDB.so' : file not found

Dove, Chris Charles.Dove at firstcitizens.com
Thu Jun 9 16:26:55 BST 2016

Nick et al:

    Noticed this was an AIX issue and I had similar problem a year or 2 ago

IBM  for setting 64 bit compilation mode
"To build a 64-bit application, use either one of these build
* OBJECT_MODE environment variable (for example, export
* gen(objectMode,64) configuration option
* -q64 compiler option "

Script from IBM for unixODBC build

#! /bin/sh

echo "Unzipping and extracting"

gzip -d unixODBC-2.2.11.tar.gz

tar xf unixODBC-2.2.11.tar

cd unixODBC-2.2.11

#Comment this out if not AIX

export CC=xlc_r

export CCC=xlC_r

echo "Configuring, compiling and installing"

configure --prefix=$HOME --enable-gui=no --enable-drivers=no


make install

echo "Setting ini env vars."

export ODBCHOME=~/etc

export ODBCINI=~/odbc.ini

#Comment this out if not AIX

echo "Extracting unixODBC libraries"

cd ~/lib

ar -x libodbc.a

ar -x libodbcinst.a

ar -x libodbccr.a

echo "\n***Still need to set up your ini files"


Chris Dove

Information Technology|Data Warehouse & Decision Support | First Citizens Bank

FCB Mail Code:  DAC-71 | 100 E Tryon Road | Raleigh, NC 27603

Office:  919.716.4875

-----Original Message-----
From: unixodbc-support-bounces at mailman.unixodbc.org [mailto:unixodbc-support-bounces at mailman.unixodbc.org] On Behalf Of Nick Gorham
Sent: Thursday, June 09, 2016 3:18 AM
To: unixodbc-support at mailman.unixodbc.org
Subject: Re: [unixODBC-support] [01000][unixODBC][Driver Manager]Can't open lib '/usr/sap/D101/libodbcHDB.so' : file not found

On 09/06/16 06:25, Mike wrote:

> What does lsconf produce?


> also, I don't remember seeing what the command


> file /usr/local/bin/isql


> produced.


> Quoting "Kurva, Ravi Shankar" <RaviShankar.Kurva at mckesson.com<mailto:RaviShankar.Kurva at mckesson.com>>:

Have you set and exported OBJECT_MODE=64 before running configure?


export CFLAGS=-X64

before running configure




unixODBC-support mailing list

unixODBC-support at mailman.unixodbc.org<mailto:unixODBC-support at mailman.unixodbc.org>


Call 1.888.FC DIRECT (1.888.323.4732) or visit us on the web at www.firstcitizens.com today to take advantage of our great products and services.
This electronic mail and any files transmitted with it are confidential and are intended solely for the use of individual or entity to whom they are addressed. If you are not the intended recipient or the person responsible for delivering the electronic mail to the intended recipient, be advised that if you have received this electronic mail in error and that any use, dissemination, forwarding, printing, or copying of this electronic mail is strictly prohibited. If you have received this electronic mail in error, please immediately notify the sender by return mail.
First Citizens Bank - Helping our customers achieve a lifetime of success. Visit us on the web at www.firstcitizens.com - Member FDIC

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-support/attachments/20160609/8cbb057d/attachment-0001.html>

More information about the unixODBC-support mailing list