Login  Register

Re: error while loading shared libraries: libQuantLib.so.0: cannot open shared object file: No such file or directory

Posted by Peter Caspers-4 on May 09, 2015; 9:47am
URL: http://quantlib.414.s1.nabble.com/error-while-loading-shared-libraries-libQuantLib-so-0-cannot-open-shared-object-file-No-such-file-ory-tp16551p16552.html

Hi Adam,

is /usr/local/lib part of the enviroment variable LD_LIBRARY_PATH ?
You can use echo $LD_LIBRARY_PATH in a terminal session to output the
variable.

Best regards
Peter


On 9 May 2015 at 02:09, Adam Mertz <[hidden email]> wrote:

> Running Ubuntu 14.04 LTS.
>
> Got through install and tried running the BermudanSwaption example to test.
> Binary compiled fine but when attempting to run it it throws the following
> error. Also library is installed in default '/usr/local/lib/' which has the
> libQuantLib.so.0 file in it as well as a couple others.
>
> '''
> error while loading shared libraries: libQuantLib.so.0: cannot open shared
> object file: No such file or directory
> '''
>
> ran the following and got this back.
> '''
> ldd ./BermudanSwaption
> linux-vdso.so.1 =>  (0x00007ffe70bbc000)
> libQuantLib.so.0 => not found
> <- I'd assume this is why I am throwing an error
> libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
> (0x00007fead23f8000)
> libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fead20f1000)
> libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fead1edb000)
> libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fead1b16000)
> /lib64/ld-linux-x86-64.so.2 (0x00007fead2718000)
> '''
>
> Not sure what to do at this point. Any help would be greatly appreciated.
>
> Thanks,
> Adam
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> QuantLib-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-users
>

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users