List:Message API« Previous MessageNext Message »
From:Art Beall Date:March 15 2009 2:23am
Subject:Install install with MySQL Message API
View as plain text  
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


      
Thread
Install install with MySQL Message APIArt Beall15 Mar
  • Re: Install install with MySQL Message APIJohn David Duncan17 Mar
  • Re: Install install with MySQL Message APIArt Beall18 Mar