Hi all,
I'm having problems loading the mysql module. Seems to be a linker
issue - the debug says function floor isn't exported. Anything
different required to build or load this module under Solaris10? Do I
have to force a 64 bit link or something? The Makefile has a bunch of
64 bit stuff in it:
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wall -mcpu=ultrasparc
-mtune=ultrasparc -DNAME='"openser"'
-DVERSION='"1.0.1"'
-DARCH='"sparc64"' -DOS='"solaris"'
-DCOMPILER='"gcc 3.4.3"'
-D__CPU_sparc64 -D__OS_solaris .....
All the other modules load just fine... Here's my openser stdout:
0(12978) loading module /usr/local/lib/openser/modules/mysql.so
0(12978) ERROR: load_module: could not open module
</usr/local/lib/openser/modules/mysql.so>: ld.so.1: openser: fatal:
relocation error: file /usr/local/lib/openser/modules/mysql.so: symbol
floor: referenced symbol not found
ldd shows this, but it's not very helpful:
bash-3.00# ldd /usr/local/lib/openser/modules/mysql.so
libz.so => /usr/lib/libz.so
libc.so.1 => /lib/libc.so.1
libm.so.2 => /lib/libm.so.2
/platform/SUNW,UltraAX-i2/lib/libc_psr.so.1
I've played with LDFLAGS, LD_LIBRARY_PATH, etc. Any tips or pointers in
the right direction would be welcomed if this rings a bell with anyone.
Thanks in advance!
Bret