This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

ld issue?

Hi,

I am trying to figure out why my program is having segmentation faults (gdbserver/gdb isn't really helping much).

I have built a simple CUPS utility (ipptool) whose libcup.so.2 has the following dependencies:

  NEEDED               libpthread.so.0
  NEEDED               libcrypt.so.1
  NEEDED               libm.so.6
  NEEDED               libgcc_s.so.1
  NEEDED               libc.so.6
  NEEDED               ld-linux.so.3

ipptool has the following dependencies:

  NEEDED               libcups.so.2
  NEEDED               libpthread.so.0
  NEEDED               libcrypt.so.1
  NEEDED               libm.so.6
  NEEDED               libgcc_s.so.1
  NEEDED               libc.so.6
  NEEDED               ld-linux.so.3

I have other programs that I run that have similiar dependencies (and they work):

  NEEDED               libpthread.so.0
  NEEDED               libpng12.so.0
  NEEDED               libz.so.1
  NEEDED               libjpeg.so.62
  NEEDED               libfreetype.so.6
  NEEDED               libasound.so.2
  NEEDED               libgcc_s.so.1
  NEEDED               libc.so.6

When I run on the target /usr/bin/ldd, it gives me the following error:

   -sh: ldd: not found

to me it sounds like ld-linux.so is having an issue, but I can't say that for a fact?

Any ideas?