Linux - Change from iODBC to UnixODBC or support both.

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Linux - Change from iODBC to UnixODBC or support both.

Post by ts-soft »

iODBC is not compatible with some KDE-Libs, so i think switch to Unix-ODBC or support both is a good idea!

Greetings - Thomas
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
User avatar
Shardik
Addict
Addict
Posts: 2058
Joined: Thu Apr 21, 2005 2:38 pm
Location: Germany

Re: Linux - Change from iODBC to UnixODBC or support both.

Post by Shardik »

Trying to execute this line in Kubuntu 12.04 as proposed by checkinstall.sh
checkinstall.sh wrote:This script try to detect if all developments packages are correctly installed. If you are using a Debian or Ubuntu like distribution, you can use the following line to install all the package at once (run as root):
# apt-get install gcc g++ libc6-dev libsdl1.2-dev libgtk2.0-dev libgnomeprint2.2-dev libiodbc2-dev libgnome2-dev libxine-dev libgnomeprintui2.2-dev libxxf86vm-dev
will produce error messages already reported by Sartic in this board's Linux subforum and in the Kubuntu forums.

Trying to install libiodbc2-dev in Kubuntu 12.04 with
sudo apt-get install iodbc libiodbc2 libiodbc2-dev
will remove most of your KDE packages and will DESTROY your Kubuntu installation: you won't be able to restart your system and have to do a complete reinstall!

So please add a remark in the checkinstall.sh script and in the README file that libiodbc2-dev should NEVER be installed in KDE based distributions derived from Ubuntu!
ts-soft wrote:iODBC is not compatible with some KDE-Libs, so i think switch to Unix-ODBC or support both is a good idea!
+1
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Linux - Change from iODBC to UnixODBC or support both.

Post by Fred »

Switched to unixODBC
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: Linux - Change from iODBC to UnixODBC or support both.

Post by ts-soft »

thx :D
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
Post Reply