[Sqlrelay-discussion] Tip and RFE on compiling sqlrelay on x86_64 linux machines
Brought to you by:
mused
|
From: Arnaud C. <arn...@co...> - 2005-11-16 09:09:56
|
Hi all, A compilation tip for people using x86_64 Linux machines (In my case Fedora Core 4 on AMD Operon) : Rudiment and SqlRelay "configure" seems to incorrectly detect the locations of the 64 bits libraries... To get compilation to work do (for both rudiment and sqlrelay) : - ./configure (with your favorites parameters) - Edit the "libtool" file and add locate the "sys_lib_search_path_spec" and "sys_lib_dlsearch_path_spec" lines... Add to the existing value : "/lib64 /usr/lib64 /usr/local/lib64" Should look like this : # Compile-time system search path for libraries sys_lib_search_path_spec=" (...lots of paths here...) /lib64 /usr/lib64 /usr/local/lib64" # Run-time system search path for libraries sys_lib_dlsearch_path_spec="(...some paths here...) /lib64 /usr/lib64 /usr/local/lib64" - Then run make and make install Maybe this is a little crude but it works. There was exactly the same problem in PHP 4.3.9... They fixed it in 4.4.1. Maybe we could have this fixed in Final 0.37 of Sqlrelay, even if it is far from critical... (This was the RFE part of the mail, hehehe) Cheers Arnaud |