Postgresql 64bit driver install script bug

Discussion of open issues, suggestions and bugs regarding usage of ODBC Drivers
Post Reply
njpwerner
Posts: 2
Joined: Tue 01 Aug 2017 15:27

Postgresql 64bit driver install script bug

Post by njpwerner » Tue 01 Aug 2017 15:32

Hi,

There is a problem with your installation script for unix machines with no x86 binary support. The script assumes that all machines support it causing the installation to fail on x64 machines with no x86 support.

Code: Select all

$path"/"$DBMSNAME"odbcsetup_x86" $lic $pathodbc "/usr/local/lib/libdevartodbc"$DBMSNAME".x86."$Expr x86
rm -f $path"/"$DBMSNAME"odbcsetup_x86"
if [ "$Arch" == "x86_64" ];then
  $path"/"$DBMSNAME"odbcsetup_x64" $lic $pathodbc "/usr/local/lib/libdevartodbc"$DBMSNAME".x64."$Expr x64
  rm -f $path"/"$DBMSNAME"odbcsetup_x64"
fi

azyk
Devart Team
Posts: 1057
Joined: Fri 11 Apr 2014 11:47
Location: Alpha Centauri A

Re: Postgresql 64bit driver install script bug

Post by azyk » Fri 04 Aug 2017 07:12

You can ignore this error message, as 64-bit driver version is correctly installed in this case. We will try to fix this bug in one of the nearest driver versions.

Post Reply