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