Hi all,
I have configured libxml2 on an AIX 5.1 PPC machine as follows:
--without-python --without-iconv --without-zlib --prefix=/build/build-pchandra/libxml2/rs41/ --disable-ipv6
My application builds successfully and links in libxml2 just fine. However, when I try to start it, I get the following error:
exec(): 0509-036 Cannot load program ./vs because of the following errors: 0509-150 Dependent module ../../../libxml2/rs41/lib/libxml2.a(libxml2.so.2) could not be loaded. 0509-022 Cannot load module ../../../libxml2/rs41/lib/libxml2.a(libxml2.so.2). 0509-026 System error: A file or directory in the path name does not exist.
I don’t understand why it would be trying to load what appears to be the shared library when I have linked against libxml2.a. In fact, I cannot even locate the shared library; it doesn’t seem like it was built. After doing a ‘make install’, all I see in the lib/ subdir are the following 4 files: libxml2.a, libxml2.la, pkgconfig, xml2Conf.sh.
I’ve configured and built libxml2 and my application similarly on MacOS X, Solaris, Linux, and HP-11; AIX is the only platform where I see this problem. Does anyone know what might be going on?
|