RLIB & MySQL 5.0

"Ben D. Benner" <bendb-Hfo/[email protected]> Tue, 8 Aug 2006 23:56:30 -0500
Newsgroups gmane.text.rlib.user
Message-ID <000901c6bb70$2ddda6f0$bf12060a@your4105e587b6>
Has anyone else successfully compiled RLIB to work with MySQL 5.0?    

I still need to run the problem by our resident guru, but I felt it important to pass it by the mailing list as well.

We are running:

Fedora Core 4
php 4.4.3
MySQL 5.0.22-standard

I found a web based version of the mailing list and downloaded the 1.3.7 RLIB distro.

I ran:

./configure --disable-python --disable-perl  --prefix=/usr

then i ran 'make clean' then 'make'.

Everything seems to be going along just fine, until...

source='example.c' object='example.o' libtool=no \
depfile='.deps/example.Po' tmpdepfile='.deps/example.TPo' \
depmode=gcc3 /bin/sh ../../../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../../..    -D_GNU_SOURCE -Wall -Wchar-subscripts -I/usr/include/libxml2   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/mysql -I/usr/local/include -L/usr/local/lib -mcpu=i486 -fno-strength-reduce  -I/usr/include -I/usr/include  -I../../../libsrc -g -O2 -c `test -f 'example.c' || echo './'`example.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
/bin/sh ../../../libtool --mode=link gcc -D_GNU_SOURCE -Wall -Wchar-subscripts -I/usr/include/libxml2   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/mysql -I/usr/local/include -L/usr/local/lib -mcpu=i486 -fno-strength-reduce  -I/usr/include -I/usr/include  -I../../../libsrc -g -O2   -o example  example.o ../../../libsrc/libr.la ../../../inputs/mysql/libr-mysql.la -lxml2 -lpthread -lz -lm   -lglib-2.0   -Wl,--export-dynamic -lgmodule-2.0 -ldl -lglib-2.0    -lXpm -lX11 -ljpeg -lfontconfig -lfreetype -lpng12 -lz -lm -L/usr/lib -L/usr/X11R6/lib -lgd  -lm -lc
mkdir .libs

*** Warning: Linking the executable example against the loadable module
*** libr-mysql.so is not portable!
gcc -D_GNU_SOURCE -Wall -Wchar-subscripts -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/mysql -I/usr/local/include -mcpu=i486 -fno-strength-reduce -I/usr/include -I/usr/include -I../../../libsrc -g -O2 -o example example.o -Wl,--export-dynamic  -L/usr/local/lib ../../../libsrc/.libs/libr.so -L/usr/lib -L/usr/X11R6/lib /usr/src/rlib-1.3.7/rpdf/.libs/librpdf.so ../../../inputs/mysql/.libs/libr-mysql.so -L/usr/lib/mysql -lcrypt -lnsl -lnss_files -lnss_dns -lresolv -lxml2 -lpthread -lgmodule-2.0 -ldl -lglib-2.0 -lXpm -lX11 /usr/lib/libjpeg.so -lfontconfig /usr/lib/libfreetype.so -lpng12 -lz -lgd -lm -lc -Wl,--rpath -Wl,/usr/src/rlib-1.3.7/libsrc/.libs -Wl,--rpath -Wl,/usr/src/rlib-1.3.7/rpdf/.libs -Wl,--rpath -Wl,/usr/src/rlib-1.3.7/inputs/mysql/.libs
../../../inputs/mysql/.libs/libr-mysql.so: undefined reference to `__pure_virtual'
../../../inputs/mysql/.libs/libr-mysql.so: undefined reference to `__builtin_delete'
collect2: ld returned 1 exit status
make[4]: *** [example] Error 1
make[4]: Leaving directory `/usr/src/rlib-1.3.7/src/examples/c'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/rlib-1.3.7/src/examples'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/rlib-1.3.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/rlib-1.3.7'
make: *** [all] Error 2


I also did a ./configure w/--disable-mysql. The 'make' and 'make install' worked just fine, of course however I was looking forward to MySQL support.

Please let me know if this is a MySQL compatability, or if you think it is more of a server environment variable issue.

Thanks,

      Benjamin D. Benner 
      Chief Technical Officer 
      PrivateTel 
      Phone: 512-785-0660

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Rlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rlib-users
cnc_button.jpg (image/jpeg, 33.9 KB) - not displayed