Hi,

 

The issue I posted about an unresolved symbol, has been solved.

The math library needed to be included as part of the mysql module build.

 

 

Samy.

 

 

Original message

 

Hi,

 

I compiled ser 0.8.12 (release from cvs) on solaris 9, and I noticed that by default mysql is never compiled.

I forced its compilation, and then I installed it manually in the runtime modules directory.

When I run ser with the –c argument, it gives me this error message:

 

0(18375) loading module /usr/local/lib/ser/modules/mysql.so

 0(18375) ERROR: load_module: could not open module </usr/local/lib/ser/modules/mysql.so>: ld.so.1: ./ser: fatal: relocation error: file /usr/local/lib/ser/modules/mysql.so: symbol floor: referenced symbol not found

 0(18375) parse error (50,13-49): failed to load module

 

All other modules loaded ok.

 

Here’s more info on my config:

 

# ./ser -V

version: ser 0.8.12-tcp_nonb (sparc64/solaris)

flags: STATS:Off, USE_IPV6, USE_TCP, DISABLE_NAGLE, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT

ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535

@(#) $Id: main.c,v 1.168.4.1 2003/11/26 23:45:50 andrei Exp $

main.c compiled on 16:55:21 Dec 28 2003 with gcc 3.3

 

uname –a gives:

SunOS blade 5.9 Generic sun4u sparc SUNW,Sun-Blade-100

 

Any idea why I’m getting this error?

I ran ld.so.1 in debug mode, and I see the relocation of different symbols of mysql.so then this error.

 

Samy.