Hi all,
I am using quantlib functions from Python. It is generated by swig shipped with quantlib library. It is dynamically linked to its dependency, e.g. Quantlib c++ lib.
Now what my question is: is there a way I can build it as shared lib statically linked to quantlib? Since I want to deploy it without dependency to quantlib on my client's server.
I have try to do it by myself. Change the parameter "-shared" to "-static". But lots of error pop up. I try to find the answer by google. It says I have to include all the dependency explicitly. I do it follow that instruction. However after I include all the dependency and it seems that I can finally build up the shared lib, it still not work in Python. It says that lib can't be loaded dynamically.... I am not very good at Linux programming.
I think under windows, python binding is already statically linked. It can be deploy to other machine without quantlib on that machine. I just need the similar behavior under Linux .
Regards,
Cheng
发自我的 iPad
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users