8

I repeatedly get the following error when using GRASS GIS and I think a few other programs:

/usr/local/lib/libxml2.so.2: no version information available ...

As far as I can tell I have libxml2 installed at:

/usr/local/lib/libxml2/

and

/usr/local/lib/libxml2-2.7.8/

I imagine this has to do with setting an environmental variable somewhere.

Thank you in advance for your help.

10

Do a locate libxml2.so.2 and see if you have 2 or more versions. if so delet the old version and create a symbolic link to the new.

ln -s is the command to create a symbolic link. The rest of the command requires your file name and the old file name (but depends on what you find with locate ;) )

|improve this answer|||||
  • Thanks @Rinzwind. It turns out I have it in 3 locations. /usr/local/lib/libxml2.so.2 /usr/local/lib/libxml2/lib/libxml2.so.2 and /usr/local/lib/libxml2-2.7.8/.libs/libxml2.so.2 – Paul May 10 '11 at 17:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.