Page 1 of 1

I need help adding mysql libraries

PostPosted: 11. December 2003 22:21
by Gollum
I am trying to install a jabber server on our Linux box using RedHat 9.0. Since discovering your great package, we now make it standard to use on all our Linux servers. The problem is that the software (jabberd 2) requires the mysql libraries and headers. How might I add these to XAMPP so that I can point the configure file to see them? I tried to find them in the directories, but couldn't.

Thanks for any help you could give. I know this doesn't neccesarily have to do with XAMPP, but I want to keep using it! It's great, easy, friendly... well I'm sure you already know!

PostPosted: 12. December 2003 07:19
by Kristian Marcroft
Hi,

all you have to do is install the mySQL-dev libs from your distribution.
These are not included in XAMPP.
Maybe you could try the XAMPP-Dev Pack?

So long
KriS

PostPosted: 12. December 2003 11:13
by Oswald
Yes, the XAMPP development package contains everything you need!

Good luck
Oswald

PostPosted: 28. October 2005 10:17
by njiggs
i tried installing jabberd2....after installing xampp-linux-devel package... i symlinked /opt/lampp/includes/mysql to /usr/include/ (or is it supposed to be said the other way round?)....while trying to run ./configure, i get this error...

Code: Select all
checking mysql.h usability... no
checking mysql.h presence... no
checking for mysql.h... no
checking for mysql.h in /usr/include/mysql... yes
checking for mysql_init in -lmysqlclient... no
configure: error: MySQL client libraries not found


i cant exactly decipher what it means..but doesnt the devel package have all the required stuff? should i be symlinking something more? i tried searching for mysql_init,mysqlclient,lmysqlclient in /opt but no results turned up...

thanks for any help!!

PostPosted: 02. November 2005 13:13
by njiggs
sorry for bumping but i am sure someone out there has successfully installed jabber using xampp...how to overcome the above error?

thanks again!!

PostPosted: 27. May 2007 04:45
by azidtripz
Oswald wrote:Yes, the XAMPP development package contains everything you need!

Good luck
Oswald

Hello Oswald
i am running slackware 11, i have installed xampp 1.6.1 plus the development package, and when trying to install verlihub when running ./configure i get the following...
Code: Select all
checking whether the g77 linker (/usr/i486-slackware-linux/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for mysql-devel... no
configure: error: "install mysql-devel or somewhere it's called mysql-dev"

PostPosted: 10. July 2007 19:38
by burek
configure: error: "install mysql-devel or somewhere it's called mysql-dev"



just add

/usr/local/mysql/bin

to your $PATH, like:

Code: Select all
> export PATH=$PATH:/usr/local/mysql/bin


and then again run ./configure
(the problem was configure was unable to find mysql_config script, which is located in /usr/local/mysql/bin)