[xml] shared library error



I installed libxml2-2.6.14 on mandrake linux and it works fine when i
try to compile a new example this way and then run it.

g++ `xml2-config --cflags --libs' -o foo foo.c

I just installed libxml2 on another linux machine and it gives the
following error when i RUN foo:-

foo: error while loading shared libraries: libxml2.so.2: cannot open
shared object file: No such file or directory

xml2-config has the correct install path and the symbolic link
libxml2.so.2, etc. are also present in the lib dir.

Can anyone please tell me what i need to do to get it working?

thanks,
Kedar



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]