[Users] Building on Solaris10?
Edson
4lists at gmail.com
Tue Jun 13 17:45:41 CEST 2006
Some time ago I faced a similar problem on MySQL 5.0 that I had to compile
myself on a Xeon machine. No compilations errors, but include problems on
OpenSER running.
Had You compile the MySQL with 64 bits support?
Can You load/start and access the MySQL server stand-alone? If it is on
other machine, try 'mysqladmin'... If it works with Your self-compiled
MySQL, than go ahead to OpenSER...
Edson.
> -----Original Message-----
> From: users-bounces at openser.org [mailto:users-bounces at openser.org] On
> Behalf Of Bret Schuhmacher
> Sent: terça-feira, 13 de junho de 2006 03:26
> To: users at openser.org
> Subject: [Users] Building on Solaris10?
>
> 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
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
More information about the sr-users
mailing list