[PLUG] help required for static linking libxml2
sachintalk at hotmail.com
Thu May 25 00:14:13 PDT 2006
thanks for helping.
g++ -o program main.o /usr/local/lib/libxml.a
this will increase my binary size.
I like to link libxml.so.
g++ -o program main.o /usr/local/lib/new_libxml.so
application compiles properly. then I copy new_libxml.so to /usr/lib
while executing appliation it uses old version of libxml and gives error for new API.
>> for that I compile new version (2.6.19). But i want to keep previous
>> installation of libxml2. I want to link new libxml2 lib statically to my
>Just specify the static library with full path name at the end of link/command
>line.. something like
>g++ -o program main.o /usr/local/lib/libxml.a
More information about the plug-mail