tried directly linking with /myinst/libgslcbals.so.0.0.0 and libgsl.so.23.0.0
and tried directly linking with libgsl.so.0 and libglscblas.so.23.0 (the symbolic links) like this gcc gsl_test.o /myinst/lib/libgslcblas.so.0 /myinst/lib/libgsl.so.23 /myinst is not a folder in /, my install directory in several directories deep into my /home/myname/ there are no permissions issues, my system is ubuntu 16.04 On Mon, Apr 9, 2018 at 9:00 PM, Vasu Jaganath <[email protected]> wrote: > there are symbolic links > > libgsl.so.23 and libgslcblas.so.0 which point to the correct libraries > but > i still get the same error > > On Mon, Apr 9, 2018 at 8:46 PM, Vasu Jaganath <[email protected]> > wrote: > >> Hi, >> >> I have installed gsl-2.4 in a custom directory. >> >> using this blogpost >> >> https://coral.ise.lehigh.edu/jild13/2016/07/11/hello/ >> >> when I try to run my a.out >> >> I get the following message >> >> ./a.out: error while loading shared libraries: libgsl.so.23: cannot open >> shared object file: No such file or directory >> >> >> I have checked in my /myinst/lib/ directory there >> >> exists a libgsl.so.23.0.0 file >> >> I have double-checked my linking path and include path yet this error >> persists. >> >> I am able to run the binaries from /myinst/bin/ directory >> >> Thanks, >> Vasu >> > >
