[Users] mysql module bugfix - x86_64

Bogdan-Andrei Iancu bogdan at voice-system.ro
Tue May 23 15:53:12 CEST 2006


Hi Gordon,

thanks for the hints - the fix is on the CVS.

regards,
bogdan

Gordon Smith wrote:

>Hi all,
> 
>I've finally finished getting openser running on an AMD Opteron platform
>running FC4
> 
>To get mysql working successfully, 2 things were needed:
> 
>1) re-compile the mysql rpm's with the -fpic flag set. (set it in rpmrc then
>use rpmbuild to create the new rpm's)
>2) Edit modules/mysql/Makefile, and add -lm before -lmysqlient 
> 
>If -lm isn't added, you'll get this:
> 
>ERROR: load_module: could not open module
></usr/local/lib/openser/modules/mysql.so>:
>/usr/local/lib/openser/modules/mysql.so: undefined symbol: floor
> 
>Thats because floor() is referenced in libm
>
>Cheers,
>Gordon
>
>
>
>_______________________________________________
>Users mailing list
>Users at openser.org
>http://openser.org/cgi-bin/mailman/listinfo/users
>
>  
>





More information about the Users mailing list