how to get the debug symbols of a package installed by apt-get?

Eric Liang eric.l.2046 at gmail.com
Wed May 26 08:50:30 UTC 2010


On 05/26/2010 04:23 PM, Florian Diesch wrote:
> Eric Liang <eric.l.2046 at gmail.com> writes:
>
>   
>> Hi all,
>> I need the debug symbols to debug an apt-get installed erlang beam vm,
>> and I did as this page said:
>>
>>     https://lists.ubuntu.com/archives/ubuntu-devel-announce/2006-September/000195.html
>>
>> and just could't find the erlang-base-dbgsym but the
>> erlang-base-hipe-dbgsym. Would you mind tell me how to get it or
>> anything about this? Thanks in advance.
>>     
> See https://wiki.ubuntu.com/DebuggingProgramCrash
>
>   
Thanks Florian.
I've tried as that page said. After apt-get update and search, still no
related package:

    sunny at wheel:~/commands$ cat /etc/apt/sources.list.d/ddebs.list
    deb http://ddebs.ubuntu.com karmic-updates main restricted universe
    multiverse
    deb http://ddebs.ubuntu.com karmic-security main restricted universe
    multiverse
    deb http://ddebs.ubuntu.com karmic-proposed main restricted universe
    multiverse

    sunny at wheel:~/commands$ apt-cache search erlang | grep dbgsym
    erlang-ssl-dbgsym - debug symbols for package erlang-ssl
    erlang-runtime-tools-dbgsym - debug symbols for package
    erlang-runtime-tools
    erlang-crypto-dbgsym - debug symbols for package erlang-crypto
    erlang-base-hipe-dbgsym - debug symbols for package erlang-base-hipe
    erlang-os-mon-dbgsym - debug symbols for package erlang-os-mon

I noticed there is a script in that page named: list-dbgsym-packages.sh,
but it still gave no result:

    sunny at wheel:~/commands$ ./list-dbgsym-packages.sh erlang
    erlang: No such file or directory.
    sunny at wheel:~/commands$ ./list-dbgsym-packages.sh
    /usr/lib/erlang/erts-5.7.2/bin/beam
    sunny at wheel:~/commands$

So, what can I do next?

Thanks,
Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20100526/e59fce07/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20100526/e59fce07/attachment.sig>


More information about the ubuntu-users mailing list