<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
I have no problem building PETSc 3.5.2. However, during building of
my code, it gives the warning:<br>
<br>
<i>ipo: warning #11021: unresolved XauDisposeAuth</i><i><br>
</i><i> Referenced in
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libX11.so</i><i><br>
</i><i>ipo: warning #11021: unresolved XauGetBestAuthByAddr</i><i><br>
</i><i> Referenced in
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libX11.so</i><i><br>
</i><i>ipo: warning #11021: unresolved XdmcpWrap</i><i><br>
</i><i> Referenced in
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libX11.so</i><i><br>
</i><i>ipo: warning #11021: unresolved inflateEnd</i><i><br>
</i><i> Referenced in
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libcrypto.so</i><i><br>
</i><i>ipo: warning #11021: unresolved deflate</i><i><br>
</i><i> Referenced in
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libcrypto.so</i><i><br>
</i><i>ipo: warning #11021: unresolved deflateInit_</i><i><br>
</i><i> Referenced in
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libcrypto.so</i><i><br>
</i><i>ipo: warning #11021: unresolved inflate</i><i><br>
</i><i> Referenced in
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libcrypto.so</i><i><br>
</i><i>ipo: warning #11021: unresolved deflateEnd</i><i><br>
</i><i> Referenced in
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libcrypto.so</i><i><br>
</i><i>ipo: warning #11021: unresolved inflateInit_</i><i><br>
</i><i> Referenced in
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libcrypto.so</i><i><br>
</i><i>ipo: remark #11000: performing multi-file optimizations</i><br>
<br>
The a.out is still created. However, when running the job, it gives
the error:<br>
<br>
<i>./a.out: error while loading shared libraries: libX11.so.6:
cannot open shared object file: No such file or directory</i><br>
<br>
I checked and found libX11.so.6 in the /usr/lib64 directory.
However, using:<br>
<br>
--with-x-lib=/usr/lib64 --with-x-include=/usr/include/X11<br>
<br>
can't work.<br>
<br>
Btw, I already added --with-x=1 during the building of PETSc.<br>
<br>
Also, the a.out works if I run interactively. But if I send the job
using scheduler, it can't work.<br>
<br>
It seems that I must statically link the X11 files, is that so?<br>
<br>
Do you have a solution?<br>
<br>
<pre class="moz-signature" cols="72">--
Thank you.
Yours sincerely,
TAY wee-beng</pre>
</body>
</html>