Closed rizsotto closed 7 years ago
What do you exactly mean? Setting LD_LIBRARY_PATH to the env variable didn't work. Besides, running bear alone produces the same error.
[root@baci symp]# bear --libear /opt/bear/lib/libear.so make ERROR: ld.so: object '/opt/bear/lib/libear.so' from LD_PRELOAD cannot be preloaded: ignored. ERROR: ld.so: object '/opt/bear/lib/libear.so' from LD_PRELOAD cannot be preloaded: ignored. ERROR: ld.so: object '/opt/bear/lib/libear.so' from LD_PRELOAD cannot be preloaded: ignored. make all-recursive ERROR: ld.so: object '/opt/bear/lib/libear.so' from LD_PRELOAD cannot be preloaded: ignored.
I'm working on centos7.3 selinux disabled with a 32bit toolchain.
Hey @ryosa it's a bit consfusing that you report Bear problem here on a different project.
@rizsotto Sorry about that. Just posted it to Bear.
to support 32 and 64 bit libraries on linux, better to put the path for both libraries into LD_LIBRARY_PATH and LD_PRELOAD can contains 'libear.so'