Re: Shared libraries

Hizzdizzoner <mattilinn@xxxxxxxxx> writes:

How can I stop Linux from requiring some libraries that were not
present when a shared library was compiled?
I have a problem with and
They were not present when was compiled.

lk30:/usr/src/update # ldd lib/asterisk/modules/ => /lib/
(0x40035000) => /lib/
(0x40a55000) => /lib/ (0x40e04000) => /usr/local/lib/ (0x40e54000) => /usr/local/lib/ (0x40e9a000) => /lib/ (0x40fe7000) => /lib/ (0x41007000) => /lib/ (0x4101a000) => /lib/ (0x4101d000) => /lib/ (0x410d5000) => not found => not found => /lib/ (0x4120b000) => /lib/ (0x4122e000)
/lib/ => /lib/ (0x80000000)

You cannot change what a library depends on without recompiling it.

(You could modify the library's ELF header, but the result will not

There's more going on here than just unsatisfied dependencies however:
your library depends on both and,
something that is unlikely to work (even were both available). Somehow
you have ended up with an inconsistent build environment, you need to
fix this before proceeding.