I don't want to add it to the LD_LIBRARY_PATH. I want a "local" deployment without affecting the user's system.
I copied the libOpenCL.so to my linux app's executable path. For example,
if the user installs the application to /home/me/Myapp then my program will install there the following files:
but this does not work...
If I make a ldd MyApp.bin says:
linux-gate.so.1 => (0xb80b8000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb808b000)
libOpenCL.so => not found
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7f9b000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7f75000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7f66000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7e03000)
it's not found. Why and how can I fix this, pls?