[Users] mysql module bugfix - x86_64
    Gordon Smith 
    gordon at gswsystems.com
       
    Tue May 23 04:40:17 CEST 2006
    
    
  
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
    
    
More information about the Users
mailing list