Fellow users, I'm running into some rather odd behavior trying to compile some software, and would like to know if there is maybe a fix or if I should revert back to a 32-bit version of Centos. I'm trying to compile NCAR Graphics, as well as some other weather related software on this machine which is running the Centos 4.1 x86-64 version. It's a dual Xeon processor. I've installed all the required rpms, i.e., xdevel, xaw, etc. The problem I'm seeing is during linking of the various packages, where I get messages of "skipping incompatible /usr/X11R6/lib/libXaw.so when searching for -lXaw". I see similar other messages when trying to link to -L X11, and so forth and so on. I've got the correct paths set in the makefiles, but not sure I understand why the libs are being shown as incompatible. If any of you have built ncarg on the x86-64 OS, I'd sure like to hear from you, and what you did to effect the compile. Thanks.. Sam -- Snowman
On Fri, Sep 02, 2005 at 12:49:40PM -0400, Sam Drinkard wrote:> Fellow users, >...> I'm trying to compile NCAR Graphics, as well as some other weather > related software on this machine which is running the Centos 4.1 x86-64 > version.....> The problem I'm seeing is during linking > of the various packages, where I get messages of "skipping incompatible > /usr/X11R6/lib/libXaw.so when searching for -lXaw".... Your Makefiles should be looking for the 64 bits libs inside /usr/X11R6/lib64 and not the /usr/X11R6/lib (32 bit compat libs). Cheers, Tru -- Tru Huynh (CentOS-3 i386/x86_64 Package Maintenance) http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBEFA581B -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20050902/b11f6e57/attachment-0001.sig>
Tru, Thanks for the info. Best I can tell by looking at the various makefiles, and where I've changed them, the linking is looking at the 64-bit libs. I'm no programmer by any means, but I've built a few things in years past. Anyhow, one package, ncar graphics still gives the same messages about the incompatible libs, even with it pointing to the 64-bit lib directory. In building the mm5 products, the actual mm5 exe will build without hitch using the portland group compiler, but when using ifort of the intel 9.0 compiler, it too fails with the lib errors. I'm just not educated enough to know why there is an incompatibility. I'll ask around on some of the other discussion boards directly related to ncarg and mm5 and see what I can dig up there. Sam -- Snowman