Hi Yousef,

ls -l /usr/lib/libmysequoia.so
lrwxrwxrwx 1 root root 17 2006-04-27 20:18 /usr/lib/libmysequoia.so -> libmysequoia.so.0 (which ofcourse doesn't exist)

Fixed the deb package. Just apt-get update && apt-get upgrade

WARN: (src/StringCodecs.cpp:trylocale()) attempt to create locale from unknown name, locale name was: en_US.utf8

sudo dpkg-reconfigure locales

and select the en_US.utf8 locale.

Also I'm a wee bit confused on how to get PHP working with libmysequoia. I installed the libmysequoia package via apt (debian 3.1), I ran find / -name "*sequoia*" and found the *.so under /usr/lib... Now what? Am I supposed to compile php with --mysql=/usr/local/mysql --enable-shared and then copy the libmysequoia.so....or something else? The carob documentation isnt' very clear on this.

For the mysqli extension it's easy:
- apt-get install libmysequoia-dev
- ./configure --with-mysqli=shared,/usr/bin/mysequoia_config ...
(please note that is mysequoia_config and not mysql_config)

For the mysql extension you need to tweak the Makefiles and config.m4 files because is hardcoded the link to libmysqlclient.

Copying the libmysequoia.so library over the libmysqlclient.so library is not a good idea. The mysql programs (mysql, mysqldump, ....) will stop to work because in the libmysequoia.so you will find only the *documented* mysql C API implemented. Here is the documentation: http://dev.mysql.com/doc/refman/5.0/en/c.html The *undocumented* not public function are *not in* the libmysequoia.so library so the mysql programs will stop to work.

> If you need someone to tweak the documentation I would be more than glad to contribute my time towards that.

It would be nice if you can contribute to the documentation.

Thanks for you feedback,

Csaba


---
Documentation: http://carob.continuent.org/LibMySequoia
Bug tracker: https://forge.continuent.org/jira/browse/LMS


_______________________________________________
Carob mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob

Reply via email to