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

Re: building SVN client on HP-UX w/ --enable-all-static

From: Branko Čibej <brane_at_xbc.nu>
Date: 2004-08-02 22:08:05 CEST

kfogel@collab.net wrote:

>Branko Čibej <brane@xbc.nu> writes:
>
>
>>The big gotcha is that it still doesn't work. Instead of not finding
>>the dynamic linker library, which it doesn't look for any more, it's
>>not finding the symbols themselves (shl_load and friends on
>>HP-UX). Those references are coming from libnsl.a, which is a system
>>library. So I think we're screwed with an all-static build on HP-UX.
>>
>>
>
>Hrm, okay -- well, there may yet be some tricks to try, I'll see what
>I can do.
>
>Thanks for the information!
>
>
I noticed today that there's a magic switch for 'ld' on HP-UX that tells
it to search a particular library and ignore restrictions about
all-static builds. So the following works -- or rather, lets the stuff
compile:

env CC='cc -Ae -Wl,-l:libdld.sl' \
    "./configure" \
    "--prefix=/home/brane/svn/inst" \
    "--with-berkeley-db=/home/brane/svn/db4" \
    "--disable-shared" \
    "--enable-all-static" \
    "--disable-dso"

However...

$ ./subversion/clients/cmdline/svn --version
/usr/lib/dld.sl: Unresolved symbol: _SYSTEM_ID (data) from /usr/lib/libc.2
/usr/lib/dld.sl: Unresolved module for symbol: _memset (code) from /usr/lib/libc.2
Abort(coredump)

Is there any particular reason that the client must be
--enable-all-static? Coldn't you just build a normal --disable-shared
--disable-dso, and use dynamic libs for system libraries? Seems like a
lot ltess pain.

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Aug 2 22:11:39 2004

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

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