Hi, I don’t know about RedHat, but on CentOS MySQL requires mysql-devel and on Debian the package libmysqlclient-dev. (See: https://github.com/APE-Project/APE_Server/wiki/APE-Server-install <https://github.com/APE-Project/APE_Server/wiki/APE-Server-install>). So MySQL itself is not the issue, reinstalling won’t fix. If you can find where is located « libmysqlclient_r.so » on your system, you can make a symlink from your file to where it should be (/usr/lib, not sure, is the OS X step is valid for Binary??) for the website provided binaries to work (which look for MySQL at the default place, not a good idea, don’t know how to fix).
The other solution would be to compile from source using latest github code (Pretty stable). I don’t have the js_static fix, even though I did see that somewhere and managed to fix it, don’t remember how. At last, if you nothing works for you and don’t need MySQL support, I could probably build a new binary without MySQL which should work on your system. - Louis > Le 2015-04-21 à 07:40, RakonDark <[email protected]> a écrit : > > the old way was to use a special build from an older version where the mysql > support works , since you take an old version you have to recompile and copy > it to the path by hand. > i think the 1.1.3 has a mysql working one > look this > https://groups.google.com/forum/#!topic/ape-project/G_JFwbwaodc > <https://groups.google.com/forum/#!topic/ape-project/G_JFwbwaodc> > > > On 21 April 2015 at 10:58, Abraham Romero <[email protected] > <mailto:[email protected]>> wrote: > I need your help with this error, I've been working on it for several hours > but I can't find a solution. > > I had problems when compiling APE Server 1.1.2 from the source code, One > error that crashes C++ and another not finding the library js_static, so I > went with the Generic Binary 32 bits. > > I installed it on my VPS with Redhat 9.3.6 and after figuring out several > things on the server I managed to install APE. > > the process is working but when running the check I get the error: > Connection etablished but something went wrong. Server response is > [{"time":"1429597628","raw":"ERR","data":{"code":"003","value":"BAD_CMD"}}] > Something went wrong. > > The point is I'm getting this error when starting the process: > [Module] Failed to load ../modules/lib/libmod_spidermonkey.so [Invalid > library] (libmysqlclient_r.so.16: cannot open shared object file: No such > file or directory) > > I'm guessing the binary of spidermonkey is looking for libmysqlclient_r.so.16 > in a path where it is not (I found it to be on /usr/lib64/), but I don't know > how to make it search in the right path. I tried copying the file to the > modules folder inside my ape installation but with no luck. > > Tried to recompile adding the correct path to Makefile settings, but I keep > getting the mentioned errors when compiling. > > I read some comments about unistalling and reinstalling mysql but I worry > that it may lose all my databases already existing in the server. > > do any of you have any idea on how I could fix either the compilation or the > libmysqlclient_r error? > any help you could give me will be greatly appreciated, > > thanks much, > Abraham > > > -- > -- > You received this message because you are subscribed to the Google > Groups "APE Project" group. > To post to this group, send email to [email protected] > <mailto:[email protected]> > To unsubscribe from this group, send email to > [email protected] > <mailto:ape-project%[email protected]> > For more options, visit this group at > http://groups.google.com/group/ape-project?hl=en > <http://groups.google.com/group/ape-project?hl=en> > --- > APE Project (Ajax Push Engine) > Official website : http://www.ape-project.org/ <http://www.ape-project.org/> > Git Hub : http://github.com/APE-Project/ <http://github.com/APE-Project/> > > --- > You received this message because you are subscribed to the Google Groups > "APE Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. > > > > -- > i cant trust, what i not know > > -- > -- > You received this message because you are subscribed to the Google > Groups "APE Project" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/ape-project?hl=en > <http://groups.google.com/group/ape-project?hl=en> > --- > APE Project (Ajax Push Engine) > Official website : http://www.ape-project.org/ <http://www.ape-project.org/> > Git Hub : http://github.com/APE-Project/ <http://github.com/APE-Project/> > > --- > You received this message because you are subscribed to the Google Groups > "APE Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- -- You received this message because you are subscribed to the Google Groups "APE Project" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/ape-project?hl=en --- APE Project (Ajax Push Engine) Official website : http://www.ape-project.org/ Git Hub : http://github.com/APE-Project/ --- You received this message because you are subscribed to the Google Groups "APE Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
