RE: [xml] AIX 5.1: libxml2 linked statically, yet complains of missing ?

Thanks Albert; I figured this out the hard way last week. It also seems
that on other platforms, both shared and static libraries are built by
default, yet on AIX, I specifically had to ./configure --enable-static
--disable-shared to get truly static libraries. Like you said, however,
both cases resulted in a .a library.

-----Original Message-----
From: Daniel Veillard [mailto:veillard redhat com] 
Sent: Friday, November 12, 2004 4:50 AM
To: xml gnome org; Albert Chin
Cc: Parag Chandra
Subject: Re: [xml] AIX 5.1: libxml2 linked statically, yet complains of
missing ?

On Thu, Nov 11, 2004 at 03:04:02PM -0600, Albert Chin wrote:
On Mon, Nov 01, 2004 at 10:20:24AM -0500, Parag Chandra wrote:
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,, pkgconfig,

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

  hum, you mean that by default automake + libtools doesn't generate
AIX shared library correctly ? If yes that's scary. Might depend on
the version of AIX and tools too I assume.


Daniel Veillard      | Red Hat Desktop team
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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