odbcinst symbol lookup error SQLManageDataSources - linux

I've just installed unixODBC on Pop-OS (Ubuntu 20 base). there's no odbcinst.ini file, just odbc.ini and when I run odbcinst -j I just get the following
odbcinst: symbol lookup error: odbcinst: undefined symbol: SQLManageDataSources
I'm not an experienced ODBC user. I just have a task to connect to SQL Anywhere DB which is a big enough pain as it is, but from what I can see I need unixODBC up and working and then use freetds as the driver (as other drivers are propriety)
However, unixODBC seems to be busted, or I think it is.
I have unixODBC, unixODBC-dev, pyodbc, freetds, freetds-bin, freetds-dev and SQL Anywhere Developers edition installed

I did a reinstall of unixodbc and freetds and it fixed the problem. SqlManageDataSources appears to be a unixODBC function that obviously installed incorrectly

Related

[unixODBC][Driver Manager]Can't open lib '/usr/lib/x86_64-linux-gnu/odbc/psqlodbca.so' : file not found

I have installed Postgresql 9.4 on Ubuntu 16.04, and installed postgresql ODBC and Unix ODBC drivers. When I test the ODBC connection with isql it works fine. Also, I am able to connect to the databases using pgadmin III from local and remote locations.
But, when I am trying to install a software which will create a connection using ODBC I am getting the following error
Connect failed!
Error code = -1
Status from database system is: STATE=01000, CODE=0, MSG=[unixODBC][Driver Manager]Can't open lib '/usr/lib/x86_64-linux-gnu/odbc/psqlodbca.so' : file not found
ERROR(-1)
But the library actually exists in this location. Please advise. I have attached the odbc.ini and odbcinst.ini for your reference.
file: /etc/odbc.ini
[PostgreSQL_DCTM]
Description=PostgreSQL DCTM
Driver=PostgreSQL_ANSI
Trace=No
TraceFile=/tmp/psqlodbc.log
Database=dctmdev
Servername=localhost
UserName=dctmdbadmin
Password=*******
Port=5432
Protocol=7.4-2
ReadOnly=No
RowVersioning=No
ShowSystemTables=No
ShowOidColumn=No
FakeOidIndex=No
UpdateableCursors=Yes
ConnSettings=
DEBUG=Yes
file: /etc/odbcinst.ini
[PostgreSQL_ANSI]
Description=PostgreSQL ODBC driver (ANSI version)
Driver=/usr/lib/x86_64-linux-gnu/odbc/psqlodbca.so
Setup=/usr/lib/x86_64-linux-gnu/odbc/libodbcpsqlS.so
Debug=0
CommLog=1
UsageCount=2
[PostgreSQL_Unicode]
Description=PostgreSQL ODBC driver (Unicode version)
Driver=/usr/lib/x86_64-linux-gnu/odbc/psqlodbcw.so
Setup=/usr/lib/x86_64-linux-gnu/odbc/libodbcpsqlS.so
Debug=0
CommLog=1
UsageCount=2
Your help is much appreciated!
Update - 08/01/2018
/documentum/product/7.3/install/Server_Configuration_Program.bin: POSIX shell script executable (binary data)
/usr/lib/x86_64-linux-gnu/odbc/psqlodbca.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=e76dd2bbea2b741a14671866f35468af7c62acbb, stripped
The version of the psqlodbca.so is shown as 'stripped'. However, in the documentation of the software that I am trying to install it mentions to use 'not stripped' version. Could you please help me understand how could I procure the 'not stripped' version of the client library?
The problem was with the packaged libraries in the software that I was using to communicate to the database. After removing liblber-2.4.so.2 from the software lib, this started working.
For your reference, if any of you out there, is facing same problem while installing Opentext Documentum 7.3 on Ubuntu 16.04 and PostgreSQL 9.4, you might be hitting the same issue.

Have anyone had experience in installing nodejs on OpenSUSE 11SP2?

The system environments are:
openSUSE 11.2
gcc: 4.3.4
gmake: 3.8.1
Python: 2.6, 2.7
Internet: no public internet access, only inbound via ssh/sftp.
Due to no internet access, I have to install all my apps from local, either from rpm or source file.
As the title says how can I install nodejs from source file? Any help or suggestion will be appreciated.

how to check odbc version on linux or how to check is there odbc driver install or not

I am trying to install odbc driver on linux but could not check either it's install or not , please tell me how to check odbc driver are install on linux
Both Debian and Redhat/CentOS have a config file that lists all the ODBC drivers you have installed on the system.
/etc/odbcinst.ini
[PostgreSQL]
Description=ODBC for PostgreSQL
Driver=/usr/lib/psqlodbcw.so
Setup=/usr/lib/libodbcpsqlS.so
Driver64=/usr/lib64/psqlodbcw.so
Setup64=/usr/lib64/libodbcpsqlS.so
FileUsage=1
[MySQL]
Description=ODBC for MySQL
Driver=/usr/lib/libmyodbc5.so
Setup=/usr/lib/libodbcmyS.so
Driver64=/usr/lib64/libmyodbc5.so
Setup64=/usr/lib64/libodbcmyS.so
FileUsage=1
[MariaDB ODBC Driver]
Description=MariaDB Connector/ODBC v.3.1
Driver=/usr/lib64/libmaodbc.so
UsageCount=1
There are two open source ODBC driver managers for UNIX (unixODBC and iODBC). unixODBC Driver Manager as it is the one included with most Linux distributions and some UNIX distributions.
In unixODBC ODBC drivers are defined in the odbcinst.ini file. If unixODBC is already installed you can use unixODBC's odbcinst program to locate the odbcinst.ini file used to defined drivers:
$ odbcinst -j
unixODBC 2.2.11
DRIVERS............: /etc/odbcinst.ini
SYSTEM DATA SOURCES: /etc/odbc.ini
USER DATA SOURCES..: /root/.odbc.ini
Note, the above command also shows the version of unixODBC, in this case version 2.2.11.

Install Oracle Database Express Edition 11g Release 2 in Arch Linux

Newbie here,Kindly bear with me.
I would like to install Oracle Database Express Edition 11g Release 2 in Arch Linux.
I've downloaded the oracle-xe-11.2.0-1.0.x86_64.rpm.zip then unzipped it to /home/user/Downloads/Disk1. In that folder there is oracle-xe-11.2.0-1.0.x86_64.rpm file.
As per this Oracle Installation manual in Arch Linux there are several method. I would like to follow Install method 2 - AUR method as I guess its bit easy than other(Actually I don't understand other method much and have confusions).
But when I try to install oracle from AUR, I found this problem: error: target not found: oracle. I think that package is no more available.
How can I proceed futher? As a learner it would be helpful for me if steps are bit explanatory.
AUR package is named "oracle-xe", not "oracle".
You should download snapshot from
https://aur.archlinux.org/packages/oracle-xe/
and uncompress it. Then step into oracle-xe directory and type
makepkg -s
But I vote for installing qemu and centos minimal, then Oracle inside it. Oracle is so painful to install even in supported distribs.
Also you will pollute your Arch with unnecessary symlinks and applications.

Installing Postgresql 8.1.17 server on RHEL

I have a my production database on PostgreSQL 8.1.17 server.
I want to migrate it from one Linux server to another.
On another Linux server I am not able to install the PostgreSQL 8.1.17 server using rpm.
I got the rpm file from http://yum.postgresql.org/8.1/redhat/rhel-5-x86_64/ link.
But while updating rpm repository using rpm -i postgresql-8.1.17-1PGDG.rhel4.x86_64.rpm
I am getting below error.
error: Failed dependencies:
libcrypto.so.4()(64bit) is needed by postgresql-8.1.17-1PGDG.rhel4.x86_64
libpq.so.4()(64bit) is needed by postgresql-8.1.17-1PGDG.rhel4.x86_64
libreadline.so.4()(64bit) is needed by postgresql-8.1.17-1PGDG.rhel4.x86_64
libssl.so.4()(64bit) is needed by postgresql-8.1.17-1PGDG.rhel4.x86_64
libtermcap.so.2()(64bit) is needed by postgresql-8.1.17-1PGDG.rhel4.x86_64
How will I resolve this dependency.
The End Of Life (EOL) dates for 8.1 version is November 2010. Does it mean we won't be able to install 8.1 version after November 2010. Referring below link.
http://www.postgresql.org/support/versioning/
I don't want to upgrade the PostgreSQL version for now.
Make a full systen backup, then launch the following command:
rpm -i --nodeps postgresql-8.1.17-1PGDG.rhel4.x86_64.rpm

Resources