Hi
I am trying to use the mysql interface in Ciao Prolog but I get an error message when including the module, taken from the example http://clip.dia.fi.upm.es/Software/Ciao/ciao_html/ciao_143.html#SEC564:
% Low level MySQL interface. :- use_module(library('persdb_mysql/mysql_client')).
Assembler messages: FATAL: Can't create /usr/local/lib/ciao/ciao-1.8/library/persdb_mysql/mysql_client_LINUXi86_glue.o: Permiso denegado Assembler messages: FATAL: Can't create /usr/local/lib/ciao/ciao-1.8/library/persdb_mysql/mysql_client_LINUXi86_glue.o: Permiso denegado {Dynamic link failed}
Do you know what is happening, or does any of you have a working example of managing mysql databases without getting these errors?
Thank you in advance
Alberto Ruiz Cristina ============================================================================== Message: Address: Action: help majordomo(a)clip.dia.fi.upm.es Info. on useful commands subscribe ciao-users-request(a)clip.dia.fi.upm.es Subscribe to this list unsubscribe ciao-users-request(a)clip.dia.fi.upm.es Unsubscribe from this list <whatever> ciao-users(a)clip.dia.fi.upm.es Send message to list ----------------------------------------------------------------------------- Archived messages: http://www.clip.dia.fi.upm.es/Mail/ciao-users/ -----------------------------------------------------------------------------
I am trying to use the mysql interface in Ciao Prolog but I get an error message when including the module, taken from the example http://clip.dia.fi.upm.es/Software/Ciao/ciao_html/ciao_143.html#SEC564:
% Low level MySQL interface. :- use_module(library('persdb_mysql/mysql_client')).
Assembler messages: FATAL: Can't create /usr/local/lib/ciao/ciao-1.8/library/persdb_mysql/mysql_client_LINUXi86_glue.o:
The MySQL interface uses the foreign interface library to access the MySQL C library and the system automatically creates and compiles this gluecode file: mysql_client_LINUXi86_glue*. It seems that the installation procedure missed the generation of that file and you don't have rights to write in /usr/local. Try to execute your program as superuser. Once the gluecode is generated there should be no problems with any account (except if the file is created with wrong permissions).
Please, tell us if the previous procedure solves your problem. Thanks.
============================================================================== Message: Address: Action: help majordomo(a)clip.dia.fi.upm.es Info. on useful commands subscribe ciao-users-request(a)clip.dia.fi.upm.es Subscribe to this list unsubscribe ciao-users-request(a)clip.dia.fi.upm.es Unsubscribe from this list <whatever> ciao-users(a)clip.dia.fi.upm.es Send message to list ----------------------------------------------------------------------------- Archived messages: http://www.clip.dia.fi.upm.es/Mail/ciao-users/ -----------------------------------------------------------------------------