rlm_sql module won't compile under Solaris 10

Steven Carr steven.carr at sunderland.ac.uk
Fri Aug 7 09:47:20 CEST 2009

On 7/8/09 06:11, shivashankar wrote:
> ld: fatal: file .libs/sql_mysql.o: wrong ELF class: ELFCLASS32
> ld: fatal: File processing errors. No output written to
> .libs/rlm_sql_mysql-2.1.6.so

This is a Solaris issue not Freeradius... however the clue is in "wrong
ELF class: ELFCLASS32" - GCC is trying to compile a 64bit binary but has
been given the 32bit version of the MySQL library. Check you have the
64bit libraries installed and ensure your Library paths are correct (man


Steven Carr
Systems Development Officer
SLS/ITS/Systems - (0191) 515 3953

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 258 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20090807/1b550ab6/attachment.pgp>

More information about the Freeradius-Users mailing list