Hello QuantLib community
I got error while linking to QuantLib (1.7.1) on Linux - CentOS 7 64-bit
/usr/bin/ld: /usr/local/lib/libQuantLib.a(discretizedasset.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libQuantLib.a: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
My project can be compiled and run on Windows and Mac.
I used -fPIC flag on my project, and I remember seeing -fPIC flags on the console while building QuantLib on Linux
Did I miss something?
Thanks!
Regards
Jerry
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.
http://sdm.link/zohodev2dev_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users