OK the lazarus linux problem get solved with the latest snapshot of FPC (2.0.1) and the latest snapshot of lazarus (0.9.9), the easyest way to do this is to download FPC rpms from:
http://sourceforge.net/project/showfile ... p_id=89339
Download fpc-2.0.0-0.i586.rpm
Download fpcsrc-2.0.0-0.i386.rpm
and install them according to your linux distro
(for Ubuntu I type in console at the rpms directory:
alien fpc*
this turns them into .deb packages at your home directory
and can be from console installed with:
dpkg -i fpc-XXX.deb)
go to /usr/lib/fpc/2.0.0/
type in console:
sh ./samplecfg /usr/lib/fpc/2.0.0 etc/
that will create fpc.cfg in /etc/
***Now to update to FPC 2.0.1***
then go to:
ftp://ftp.freepascal.org/pub/fpc/snapsh ... 386-linux/
Download fpc-2.0.1.i386-linux.tar.gz
and overwrite with its contents the bin lib and share folders in your /usr/ directory
*in usr/lib/fpc/ you have now a /2.0.0/ and /2.0.1/ directories... take everything inside the 2.0.1 directory and overwrite it inside the 2.0.0 directory
*go to ftp://ftp.freepascal.org/pub/fpc/snapshot/v20/source/
and download fpc.zip
overwrite with its contents the /usr/share/fpcsrc/ directory
*from any of your 2.0.0 or 2.0.1 directories take the new "ppc386" and overwrite it on the /usr/bin/ directory
*now go to /usr/share/fpcsrc/ and do a "make all" from console
***Lazarus Nightly Build***
go to http://www.ca.freepascal.org/Lazarus/
and download lazarus-0.9.9-20050821-src.tar.bz2
unzip it wherever you want your lazarus to be
go to your lazarus directory and type in the console:
make all
***
now you have the latest lazarus and the latest FPC and you can install Zeosdbo rework:
*compile zcore.lpk
*compile zparsesql.lpk
*compile zplain.lpk
*compile zdbc.lpk
*compile zcomponent.lpk***install zcomponent.lpk
Lazarus+Linux= Installed... BUT Can't find libmysqlclient.so
Moderators: gto, cipto_kh, EgonHugeist
-
- Fresh Boarder
- Posts: 22
- Joined: 17.08.2005, 13:09
-
- Fresh Boarder
- Posts: 22
- Joined: 17.08.2005, 13:09
OK those were the instructions so everyone can install zeos under linux
now the problem I've got is that I've installed MySQL server and client (4.1) in my Ubuntu / Kubuntu distro
but ZConnection can't find libmysqlclient.so
I have in /usr/lib/ may libmysqlclient.so versions
including libmysqlclient.so.14 wich is the mysql 4.1 client library
but even when I copy the file to the project folder ZConnection can't find it, I've renamed it in the project folder from "libmysqlclient.so.14" to "libmysqlclient.so", but nothing...
any Ideas, from somebody that already had zeos working under linux? even on kylix?
thanks
now the problem I've got is that I've installed MySQL server and client (4.1) in my Ubuntu / Kubuntu distro
but ZConnection can't find libmysqlclient.so
I have in /usr/lib/ may libmysqlclient.so versions
including libmysqlclient.so.14 wich is the mysql 4.1 client library
but even when I copy the file to the project folder ZConnection can't find it, I've renamed it in the project folder from "libmysqlclient.so.14" to "libmysqlclient.so", but nothing...
any Ideas, from somebody that already had zeos working under linux? even on kylix?
thanks
-
- Fresh Boarder
- Posts: 22
- Joined: 17.08.2005, 13:09
Hi Ruben,
thanks for this recipe . I didn't try it, yet but I think it will work and I would like to make a little "HowTo" or "Tutorial" out of it to put it into our KnowledgeBase. The intention is to make a documentation for all those who always wanted to give Lazarus (with ZeosLib) on Linux a try but were afraid of the installation because they are not so familiar with Linux (like me ) ...
For the moment I have just one question: What do you mean by
thanks for this recipe . I didn't try it, yet but I think it will work and I would like to make a little "HowTo" or "Tutorial" out of it to put it into our KnowledgeBase. The intention is to make a documentation for all those who always wanted to give Lazarus (with ZeosLib) on Linux a try but were afraid of the installation because they are not so familiar with Linux (like me ) ...
For the moment I have just one question: What do you mean by
?... to install "libmysqlclient14-dev" using kynaptic ...
-
- Fresh Boarder
- Posts: 22
- Joined: 17.08.2005, 13:09
You have my absolute permission to put all in a tutorial,
Under ubuntu/kubuntu distro, there is a program called synaptic/kynaptic (depending on teh distro) that shows the files on the repositories and let you install them with the click of a mouse instead of using "apt-get"... if your distro dont have anything like synaptic/kynaptic you can install the package "libmysqlclient14-dev" through apt-get, but I dont know the possible location, I did it trough kynaptic using the repositories of "universe" in kubuntu (excelent distro for those who are afraid to test linux by the way)
I've already installed the "mysql-server 4.1" package in my kubuntu using kynaptic (just using the "find" and install options), but it didn't installed the full client support, by installing the "libmysqlclient14-dev" package I've got the libraries needed to make zeos work perfectly with MySQL
Cheers
Under ubuntu/kubuntu distro, there is a program called synaptic/kynaptic (depending on teh distro) that shows the files on the repositories and let you install them with the click of a mouse instead of using "apt-get"... if your distro dont have anything like synaptic/kynaptic you can install the package "libmysqlclient14-dev" through apt-get, but I dont know the possible location, I did it trough kynaptic using the repositories of "universe" in kubuntu (excelent distro for those who are afraid to test linux by the way)
I've already installed the "mysql-server 4.1" package in my kubuntu using kynaptic (just using the "find" and install options), but it didn't installed the full client support, by installing the "libmysqlclient14-dev" package I've got the libraries needed to make zeos work perfectly with MySQL
Cheers