Slackware Linux: o Glib não consegue encontrar libffi.so.6. Onde está tentando parecer?

3

Eu tenho o libffi instalado e está em / usr / local / lib, mas o processo simplificado não consegue encontrá-lo

/home/mathmagi/src/glib-2.32.4/gio/.libs/lt-glib-compile-resources: error while loading shared libraries: libffi.so.6: cannot open shared object file: No such file or directory
/home/mathmagi/src/glib-2.32.4/gio/.libs/lt-glib-compile-resources: error while loading shared libraries: libffi.so.6: cannot open shared object file: No such file or directory
/home/mathmagi/src/glib-2.32.4/gio/.libs/lt-glib-compile-resources: error while loading shared libraries: libffi.so.6: cannot open shared object file: No such file or directory
/home/mathmagi/src/glib-2.32.4/gio/.libs/lt-glib-compile-resources: error while loading shared libraries: libffi.so.6: cannot open shared object file: No such file or directory
make[4]: Entering directory '/home/mathmagi/src/glib-2.32.4/gio/tests'
  GEN    gdbus-test-codegen-generated.c
  GEN    test_resources.c
/home/mathmagi/src/glib-2.32.4/gio/.libs/lt-glib-compile-resources: error while loading shared libraries: libffi.so.6: cannot open shared object file: No such file or directory
make[4]: *** [test_resources.c] Error 127
make[4]: Leaving directory '/home/mathmagi/src/glib-2.32.4/gio/tests'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/mathmagi/src/glib-2.32.4/gio'
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/mathmagi/src/glib-2.32.4/gio'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/mathmagi/src/glib-2.32.4'
make: *** [all] Error 2

Está definitivamente em / usr / local / lib!

bash-4.1# updatedb
bash-4.1# locate libffi.so.6
/usr/local/lib/libffi.so.6
/usr/local/lib/libffi.so.6.0.0
/home/mathmagi/src/libffi-3.0.11/x86_64-unknown-linux-gnu/.libs/libffi.so.6
/home/mathmagi/src/libffi-3.0.11/x86_64-unknown-linux-gnu/.libs/libffi.so.6.0.0

Com muita clareza, tentei

LDFLAGS=-L/usr/local/lib ./configure

Não funciona.

Como posso encontrar onde o glib está procurando e alterá-lo?

    
por Mathmagician 09.08.2012 / 12:41

1 resposta

3

LD_LIBRARY_PATH=/usr/local/lib 

funcionou para mim no Debian Squeeze.

    
por 11.09.2012 / 23:33