Tag Info

New answers tagged

0

From what I remember in ubuntu, just adding symlinks in /usr/local/lib may not be sufficient. We need update ld.so.conf entry corresponding to this to let ldconfig know what symlinks it has to create for us. Like bodhi.zazen mentioned, installing from apt is simpler, because apt would very likely setup ld.so.conf files as well.


0

for me this works better: $ cd /usr/lib32/ $ sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 libGL.so.1 $ sudo ldconfig Thanks anyway! Your message lead me to the right method and helped me solve it: (In Ubuntu Unicorn, Bento Remix). Best regards, Mélodie


1

One suggestion regarding statifier: If address space layout randomization (ASLR) is causing it to fail you don't have to turn it off for the whole machine. You can turn it off just for that process: $ setarch `uname -m` -R statified_pdfedit [args...] It'll run that command with randomized layout disabled (no need to be root).


8

You can solve your problem in another and more simple way: Use ldd on your executable to see the linked libraries, for example: $ ldd /bin/bash linux-vdso.so.1 => (0x00007fffb2fd4000) libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007fac9ef91000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fac9ed8d000) libc.so.6 => ...


0

Use the find command to locate these libraries. Use gcc option -L to specify this library's location. You may also need to set environment variable LD_LIBRARY_PATH



Top 50 recent answers are included