If I have a library, this is a * .a static library. Is there a way I can convert to a * .so dynamically linked library? Maybe ld?
I am using SUSE Linux. ELF platform.
This command will try to do what you want:
gcc -shared -Wl,--whole-archive library.a -o library.so
But if your library was not compiled with -fpic/ -fpic, which probably was not, it will not work (it may work, but you do not get any benefits of shared libraries).
-fpic
Source: https://habr.com/ru/post/1769254/More articles:For TestNG, what is the proper method of prefilling a data source containing a complex model when it will be queried using Hibernate? - complexity-theoryHow to create a class that acts like a string? - pythonWith SQL, how to calculate what percentage of rows has a specific value? - sqlHow to specify -style PRETTY in com.google.gwt.dev.DevMode - gwtInsert from temporary table - creating too many rows - sql-serverhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1769255/base-classs-function-pointer-points-to-child-classs-member-function&usg=ALkJrhhUEo-MMeWAd44n0b_uYWI4vVx-uAstring comparison in numpy array - pythonHow to create the functionality of the "Browse Files" button on Android - androidjQuery Changing a class is not updated until the mouse - jqueryPDF-Generated RDLC File - EmailAll Articles