What are the typical ways to solve "invalid string offset" errors from ld?

Viewed 495

I am building a project and I am getting an error along the lines of

...//this_lib.so: error adding symbols: File format not recognised
collect2: error: ld returned 1 exit status

above this this line is displayed

...//this_lib.so: invalid string offset 1437763608 >= 38801 for section '.dynstr'

I am trying to fix this issue. this_lib.so is a lib that is built in the make process (so build by me).

How do I debug issues like these?

At first I thought that it could be a 32-bit lib, that is not the case.

0 Answers
Related