[unixODBC-support] isql segmentation fault - stuck

sambuca555 anthony.schneider at aimia.com
Mon Nov 18 17:25:16 GMT 2013


Hi, long story short I'm having trouble connecting to an Oracle Database
using unixODBC and the Oracle ODBC driver.

I did get it working but was told by the vendor of the product that was to
use the Oracle connector that it need the 32 bit driver and I had installed
the 64 bit.

So what I initially did (Suse LINUX Enterprise 10):

Downloaded the unixODBC Tar
unixODBC-2.3.2

Ran
./configure
make
sudo make install

Then installed the following rpms
rpm -ivh oracle-instantclient11.2-basic-11.2.0.4.0-1.x86_64.rpm
rpm -ivh oracle-instantclient11.2-odbc-11.2.0.4.0-1.x86_64.rpm
rpm -ivh oracle-instantclient11.2-sqlplus-11.2.0.4.0-1.x86_64.rpm

odbc.ini
[SELFDEV]
Driver = Oracle 11g ODBC driver
ServerName = //192.168.23.33:1521/SELFDEV
Database = SELFDEV
DSN = SELFDEV
Port = 1521

odbcinst.ini
[Oracle 11g ODBC driver]
Description=Oracle ODBC driver for Oracle 11g
Driver=/usr/lib/oracle/11.2/client/lib/libsqora.so.11.1
Setup=
FileUsage=
CPTimeout=
CPReuse=
UsageCount=2

[ODBC]
Trace=yes
TraceFile=/tmp/duh
UsageCount=2





This was working well but then I uninstalled the 3 RPMs and installed the
Oracle ODBC 32bit
sudo rpm -ivh oracle-instantclient11.2-basic-11.2.0.4.0-1.i386.rpm
sudo rpm -ivh oracle-instantclient11.2-odbc-11.2.0.4.0-1.i386.rpm
sudo rpm -ivh oracle-instantclient11.2-sqlplus-11.2.0.4.0-1.i386.rpm


I also ran the UnixODBC installer again:
sudo CFLAGS=-m32 LDFLAGS=-m32 CXXFLAGS=-m32 ./configure --enable-stats=no
make 
sudo make install

I got this off a forum on how to install 32bit ona  64 bit machine.

I've checked my ORACLE_HOME, LD_LIBRARY_PATH all are pointing to the new 32
bit directories

Error I get is:

isql -v SELFDEV
Segmentation fault

How do I troubleshoot this Segmentation Fault so I can find out what is
going on, I'm sure it's going to be to do with the switch to 32bit but I'm
that skilled in linux so trouble figuring out where it is wrong.








--
View this message in context: http://unixodbc.13851.n7.nabble.com/isql-segmentation-fault-stuck-tp3937.html
Sent from the Support mailing list archive at Nabble.com.


More information about the unixODBC-support mailing list