<div dir="ltr"><div><div><div><div>Hi,<br><br></div>Thanks, <br><br>Now I am able to build.<br><br></div>It is a two step process, first I build with -g option, then copied the library to some directory and build again with export LDFLAGS=-Wl,-rpath,<dir containing debug lib>.<br><br></div>Now it works fine.<br><br></div>Thanks<br><div><div><div><br><br><br><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 18, 2015 at 8:49 PM, Dirk Geschke <span dir="ltr"><<a href="mailto:dirk@lug-erding.de" target="_blank">dirk@lug-erding.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Cloud Fundoo,<br>
<span class=""><br>
> How to build lxc with debug sysmbols, i mean asking lxc-create to link with<br>
> our own debug liblxc.<br>
<br>
</span>how about using a LD_PRELOAD pointing to the debug liblxc?<br>
<br>
Take a look at the manual page of ld.so(8).<br>
<br>
Best regards<br>
<span class="HOEnZb"><font color="#888888"><br>
Dirk<br>
<br>
--<br>
+----------------------------------------------------------------------+<br>
| Dr. Dirk Geschke / Plankensteinweg 61 / 85435 Erding |<br>
| Telefon: 08122-559448 / Mobil: 0176-96906350 / Fax: 08122-9818106 |<br>
| <a href="mailto:dirk@geschke-online.de">dirk@geschke-online.de</a> / <a href="mailto:dirk@lug-erding.de">dirk@lug-erding.de</a> / <a href="mailto:kontakt@lug-erding.de">kontakt@lug-erding.de</a> |<br>
+----------------------------------------------------------------------+<br>
_______________________________________________<br>
lxc-users mailing list<br>
<a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a><br>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a></font></span></blockquote></div><br></div>