On Tue, May 28, 2013 at 10:22 AM, Shiyuan Gu <s...@anl.gov> wrote:
> Dear John,
>      I  built a libmesh from git-hub. I didn't recognize any errors in the
> compilation and building process. However, when I tried to build the
> examples, I failed due to a wrong path to netcdf.la.
>
> libtool: link: cannot find the library `/usr/local/lib/libnetcdf.la' or 
> unhandled argument `/usr/local/lib/libnetcdf.la'

Try building libmesh in a temporary build directory rather than
directly in the source tree... that is,

cd /path/to/github/checkout
mkdir tmp_build
cd tmp_build
../configure --prefix=/Users/sgu/softwares/libmesh-github/installed ...
make

(Note in the configure step, you run configure from the directory
immediately above the build directory.)

If everything succeeds, then try 'make check' to see if the examples
will build and run.

PS Forwarding this to the libmesh-devel list in case other people have
suggestions/similar problems.

--
John

------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
Libmesh-devel mailing list
Libmesh-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to