Hi, Thanks for the suggestion. I've already installed m4 as its absence was make's first complaint, so the problem may lie elsewhere.
Perhaps it's a PETSc incompatibility? I've installed PETSc 3.2, and set the env vars appropriately before running make. If anybody has suggestions please fire away, in the meantime I'll try an older version of the installation. On 05/12/13 16:49, John Peterson wrote: > On Thu, Dec 5, 2013 at 5:33 AM, Peter Wijeratne <[email protected]> wrote: >> Hello, >> >> I've looked through the archive and not found a similar topic since the >> release of Ubuntu 13.10, but if there is please direct me to it. >> >> I'm having a compile error when making the latest git-able version of >> libMesh: >> >> CCLD ncgen3 >> ../liblib/.libs/libnetcdf.so: undefined reference to `NC3_get_att' >> ../liblib/.libs/libnetcdf.so: undefined reference to `NC3_rename_att' >> ../liblib/.libs/libnetcdf.so: undefined reference to `free_NC_attrarrayV' >> ../liblib/.libs/libnetcdf.so: undefined reference to `new_x_NC_attr' >> ../liblib/.libs/libnetcdf.so: undefined reference to `dup_NC_attrarrayV' >> ../liblib/.libs/libnetcdf.so: undefined reference to `NC3_put_att' >> ../liblib/.libs/libnetcdf.so: undefined reference to `NC3_inq_attname' >> ../liblib/.libs/libnetcdf.so: undefined reference to `NC3_inq_attid' >> ../liblib/.libs/libnetcdf.so: undefined reference to `NC_findattr' >> ../liblib/.libs/libnetcdf.so: undefined reference to `NC3_del_att' >> ../liblib/.libs/libnetcdf.so: undefined reference to `NC3_inq_att' >> ../liblib/.libs/libnetcdf.so: undefined reference to `free_NC_attr' >> collect2: error: ld returned 1 exit status >> >> It looks like it can't find some library, but I'm not sure which. I'd >> appreciate any suggestions. >> >> My arch is: >> >> Linux <domainname> 3.11.0-14-generic #21-Ubuntu SMP Tue Nov 12 17:07:40 >> UTC 2013 i686 i686 i686 GNU/Linux > Hi, > > I haven't tested much on Linux beyond Ubuntu 12.04, but we have seen > some weird behavior with the netcdf build system on machines where the > 'm4' package is not installed. > > If you go through the configure/make logs for netcdf carefully, you > may see an error to the effect "m4 not found"? > > A workaround which seemed to fix the problem for us is to 'apt-get > install m4', clean out the build directory, and try again. > > It's a bummer that the netcdf package seems to require m4... it really > shouldn't. Seems like a bug in their build system. > ------------------------------------------------------------------------------ Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
