ddd doesn't recognize libc

I cannot run any program from ddd (3.3.2) for few days.
I don’t remember having done something on my machine recently!

ddd says:
/proc/boot/libc.so.2: not in executable format: file format not recognized.

I’m almost sure the problem comes from ddd because I can start a program
directly from gdb.

any idea?

Thanks,
Alain.

are you running the one from 3rd CD or from openqnx site?
(if later, you should really ask on the openqnx mailing list)
are you using qnx6.1 or qnx6.2?
XFree86, Xphoton, or XPhoton?

Alain Bonnefoy <alain.bonnefoy@icbt.com> wrote:

I cannot run any program from ddd (3.3.2) for few days.
I don’t remember having done something on my machine recently!

ddd says:
/proc/boot/libc.so.2: not in executable format: file format not recognized.

I’m almost sure the problem comes from ddd because I can start a program
directly from gdb.

any idea?

Thanks,
Alain.



Frank Liu wrote:
are you running the one from 3rd CD or from openqnx site?
yes

(if later, you should really ask on the openqnx mailing list)
I'll try.

are you using qnx6.1 or qnx6.2?
6.1

XFree86, Xphoton, or XPhoton?
xphoton or xPhoton ? what does it mean?

thanks,
Alain.

Alain Bonnefoy <> wrote:
I cannot run any program from ddd (3.3.2) for few days.
I don't remember having done something on my machine recently!

ddd says:
/proc/boot/libc.so.2: not in executable format: file format not recognized.

I'm almost sure the problem comes from ddd because I can start a program 
directly from gdb.

any idea?

Thanks,
Alain.


The libc in /proc/boot has been stripped down to the
bare minimum by mkifs, so gdb can’t use it.

You need to set your LD_LIBRARY_PATH to include /lib before /proc/boot
or use the set-solib-search setting in gdb.

Alain Bonnefoy <alain.bonnefoy@icbt.com> wrote:

I cannot run any program from ddd (3.3.2) for few days.
I don’t remember having done something on my machine recently!

ddd says:
/proc/boot/libc.so.2: not in executable format: file format not recognized.

I’m almost sure the problem comes from ddd because I can start a program
directly from gdb.

any idea?

Thanks,
Alain.


cburgess@qnx.com

Interesting Colin, I’ll do that (maybe it would be done by default no?),
but my problem was caused by a corrupted ddd config file.

Thanks,
Alain.

Colin Burgess wrote:

The libc in /proc/boot has been stripped down to the
bare minimum by mkifs, so gdb can’t use it.

You need to set your LD_LIBRARY_PATH to include /lib before /proc/boot
or use the set-solib-search setting in gdb.

Alain Bonnefoy <> alain.bonnefoy@icbt.com> > wrote:

I cannot run any program from ddd (3.3.2) for few days.
I don’t remember having done something on my machine recently!


ddd says:
/proc/boot/libc.so.2: not in executable format: file format not recognized.


I’m almost sure the problem comes from ddd because I can start a program
directly from gdb.


any idea?


Thanks,
Alain.
\