Re: [xml] AIX 5.1: libxml2 linked statically, yet complains of missing libxml2.so.2 ?



On Mon, Nov 01, 2004 at 10:20:24AM -0500, Parag Chandra wrote:
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.

The default shared library extension on AIX is `.a'. Look at /usr/lib.
You won't find many `.so' files. To have libtool create a `.so'
extension, set LDFLAGS="-Wl,-brtl" in your environment before
./configure.

-- 
albert chin (china thewrittenword com)



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