Hi,
I am trying to install message_api-1.0beta5 on a Intel 64 bit Centos 5.2 machine. I have
run into a little problem when I try to install the create_function.sql statements. I get
the error:
[root@ccmlct-1 message_api-1.0beta5]# mysql -uroot -p mydatabase <
create_functions.sql
Enter password:
ERROR 1126 (HY000) at line 3: Can't open shared library 'message_api.so' (errno: 22
message_api.so: cannot open shared object file: No such file or directory)
The configure, make, and make install have no problems I can see. I have the output from
those commands below.
[root@ccmlct-1 message_api-1.0beta5]# ./configure
... MySQL OK: -I/usr/local/include/mysql
... Spread OK: -I/usr/local/include (Version: 4)
... Linking OK: -lspread -L/usr/local/lib
Makefile has been created.
[root@ccmlct-1 message_api-1.0beta5]# make
cc -shared -fPIC -o message_api.so -I/usr/local/include/mysql -I/usr/local/include
udf_spread.c options.c -lspread -L/usr/local/lib
udf_spread.c: In function âsend_mesg_initâ:
udf_spread.c:278: warning: cast from pointer to integer of different size
udf_spread.c: In function âtrack_membershipsâ:
udf_spread.c:774: warning: cast to pointer from integer of different size
udf_spread.c: In function âmemberships_threadâ:
udf_spread.c:1159: warning: cast from pointer to integer of different size
[root@ccmlct-1 message_api-1.0beta5]# make install
cp -rp message_api.so /usr/local/lib/
Also, this is the contents of the ld.so.conf file:
include ld.so.conf.d/*.conf
/opt/mysql/include/mysql
/usr/local/lib
/usr/lib