Like x86_64, mipsel requires compiling shared libraries with -fPIC. Otherwise one would get a compilation error such as:
ld: /usr/lib/libsqlite3.a(sqlite3.o): relocation R_MIPS_HI16 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/lib/libsqlite3.a: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
Like x86_64, mipsel requires compiling shared libraries with -fPIC. Otherwise one would get a compilation error such as: