[lxc-users] How to build lxc with debug symbols
Cloud Fundoo
cloudfundoo at gmail.com
Wed Feb 18 15:33:05 UTC 2015
Hi,
Thanks,
Now I am able to build.
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>.
Now it works fine.
Thanks
On Wed, Feb 18, 2015 at 8:49 PM, Dirk Geschke <dirk at lug-erding.de> wrote:
> Hi Cloud Fundoo,
>
> > How to build lxc with debug sysmbols, i mean asking lxc-create to link
> with
> > our own debug liblxc.
>
> how about using a LD_PRELOAD pointing to the debug liblxc?
>
> Take a look at the manual page of ld.so(8).
>
> Best regards
>
> Dirk
>
> --
> +----------------------------------------------------------------------+
> | Dr. Dirk Geschke / Plankensteinweg 61 / 85435 Erding |
> | Telefon: 08122-559448 / Mobil: 0176-96906350 / Fax: 08122-9818106 |
> | dirk at geschke-online.de / dirk at lug-erding.de / kontakt at lug-erding.de |
> +----------------------------------------------------------------------+
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20150218/a0886a5d/attachment.html>
More information about the lxc-users
mailing list