[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: FW: Error running make for subversion

From: Philip Martin <philip_at_codematters.co.uk>
Date: Fri, 09 Jun 2017 20:13:43 +0100

"Joseph, Anselm" <Anselm.Joseph_at_fpl.com> writes:

> Is there anything here that is not quite right?

That is as expected. Subversion/libtool is producing shared libraries
in .a format (AIX native). The Apache apxs script expects the libraries
to be in .so format. I do not know if Apache on AIX can load modules in
.a format or whether it only works with modules in .so format. Perhaps
you could try?

If Apache needs .so modules then you need to make Subversion/libtool
produce .so instead of .a. Google suggests that the linker needs -G,
the linker man page should be to confirm/deny this. You would pass
-Wl,-G to the compiler to get -G passed through to the linker. You may
also need -Wl,-brtl to get executables to link with .so, again the
linker man page should confirm/deny this.

Failing that, I suppose you might be able to extract the .so module from
the .a module if the AIX .a module is a normal ar archive. You might be
able to use "ar t" to look at the contents and "ar x" to extract files.

-- 
Philip
Received on 2017-06-09 21:13:56 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.