On Nov 26, 2012, at 10:59 AM, John Peterson <jwpeter...@gmail.com> wrote:

> Does anyone else get this warning while linking?
> 
> *** Warning: Linking the shared library libmesh.la against the
> *** static library
> ../contrib/tecplot/lib/x86_64-apple-darwin10.8.0/tecio.a is not
> portable!
> 
> Obviously we've been doing this for years without problem... but
> according to the libtool docs [0], this is "a common error... trying
> to build a library from standard objects instead of special .lo object
> files."
> 
> On the other hand, this SO topic [1] seems to imply that things will
> work as long as the code in the .a file has been compiled with -fPIC,
> but we don't know if that's the case for the binary tecio.a blob we
> distribute, right?
> 
> [0] 
> http://www.gnu.org/software/libtool/manual/html_node/Linking-libraries.html
> [1] http://stackoverflow.com/questions/10290771/creating-static-libraries

I get the same.

I'm honestly not sure *what* flags it was compiled with…

Note however 

$ ./configure --disable-tecplot --enable-tecio 

will build the same functionality from source with no errors.  I would like to 
make this the default soon, but didn't want to change too much at once.

John, IIRC this caused you some issues with a vanilla Lion install or 
something?  Could you try it and let mw know what if any are the errors?  I'd 
like to beef up the configure tests so we can enable this instead?

Thanks,

-Ben


------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Libmesh-devel mailing list
Libmesh-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to