Login  Register

QuantlibAddin on Linux Ubuntu 16

Posted by Faycal El Karaa on May 11, 2016; 5:07am
URL: http://quantlib.414.s1.nabble.com/QuantlibAddin-on-Linux-Ubuntu-16-tp17447.html

Dear All,

I am trying to install and configure QuantLibAddIn 1.7.0 on my 2 desktop PC running Ubuntu 16.04

The installation went fine, compiled and installed all dependencies (gensrc, log4cxx, ObjectHandler) then QuantLibAddin-1.7.0.

I did not get any errors, as far as I can tell, I can see all my libraries installed in /usr/local/lib:

-rwxr-xr-x  1 root root    14419272 May 11 12:27 liblog4cxx.so.10.0.0
lrwxrwxrwx  1 root root          20 May 11 12:27 liblog4cxx.so.10 -> liblog4cxx.so.10.0.0
lrwxrwxrwx  1 root root          20 May 11 12:27 liblog4cxx.so -> liblog4cxx.so.10.0.0
-rwxr-xr-x  1 root root        1047 May 11 12:27 liblog4cxx.la
-rw-r--r--  1 root root    39867920 May 11 12:27 liblog4cxx.a
drwxr-xr-x  2 root root        4096 May 11 12:27 pkgconfig
-rwxr-xr-x  1 root root     4870496 May 11 12:28 libObjectHandler-1.7.0.so
lrwxrwxrwx  1 root root          25 May 11 12:28 libObjectHandler.so -> libObjectHandler-1.7.0.so
-rwxr-xr-x  1 root root        1185 May 11 12:28 libObjectHandler.la
-rw-r--r--  1 root root    11958994 May 11 12:28 libObjectHandler.a
-rwxr-xr-x  1 root root   301144360 May 11 13:53 libQuantLibAddin.so.0.0.0
lrwxrwxrwx  1 root root          25 May 11 13:53 libQuantLibAddin.so.0 -> libQuantLibAddin.so.0.0.0
lrwxrwxrwx  1 root root          25 May 11 13:53 libQuantLibAddin.so -> libQuantLibAddin.so.0.0.0
-rwxr-xr-x  1 root root        1257 May 11 13:53 libQuantLibAddin.la
-rw-r--r--  1 root root  1021322296 May 11 13:53 libQuantLibAddin.a

Now the last step that is missing is to change the unorc config file for libreoffice, as indicated in QuantlibAddin tutorials:

One further step is required, the name of the registry database must be added to an OOo ini file in order to inform OOo of the location of the Addin. This step is not automated by the build process and must be performed manually:

  • Go to the OOo program directory
  • In a text editor, open the unorc file (unorc on Linux, unorc.ini on Windows)
  • On the line for UNO_SERVICES, append the text
    ORIGIN/QuantLibAddinCalc-vc71-mt-1_7_0.rdb
    
  • On the line for UNO_TYPES, append the text
    $ORIGIN/QuantLibAddinCalc-vc71-mt-1_7_0.rdb
    

Once everything is in place, launch OOo Calc and hit Ctrl-F2 to bring up the list of available functions, if all has gone well the QuantLibAddin functions should appear.

My problem is that I can't find any rdb file anywhere generated by the QuantlibAddin make or install. I've made a search from my /usr directory and the only rdb files are in libreoffice programs directory:

./lib/libreoffice/program/types.rdb
./lib/libreoffice/program/services.rdb
./lib/libreoffice/program/types/oovbaapi.rdb
./lib/libreoffice/program/types/offapi.rdb
./lib/libreoffice/program/services/services.rdb
./lib/libreoffice/program/services/pyuno.rdb

Am I missing something here? What do I have to do to add the addin in libreoffice?

Any help appreciated!

Thanks for your support,
Fayce



------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users