FWIW, AIX 5.2 has an ldd included


Package name

Version used by Martin Peschke

Version in Dan’s ~/src directory

Version in Dan’s ~/src/opendap/new

Version initially in /usr/local

Version in

/usr/local/

OPeNDAP

Building static only

Uses xlC?

Built with -qrtti=all?

Version used by DRS

Rebuilt under /usr/local

Rebuilt with -qlanglvl=extended, not -qrtti=all

zlib

1.2.3

-

-

64: static

32: shr.o only?

-

static only by default

No

-

1.2.3

1 Yes

-

curl

7.15.1

-

-

both libcurl.so.3

-

--disable-shared

--enable-static

No

-

7.15.1

3 Yes – was dynamic, now static

-

libxml2

2.6.23

2.6.22

-

both libxml.so.2

-

--disable-shared

--enable-static

(assumed)

No

-

2.6.23

2 Yes - was dynamic in /usr/local/lib. Replaced with static version

-

libdap

3.6.2

-

3.5.3

32: empty

64: libdap.so.3

32: empty

64: libdap.so.3

--disable-shared

--enable-static

Yes

Yes

3.6.2

5 Was dynamic/64 only. Now static/64 only.

Yes – or at least grep found langlvl in cobble output

netcdf

3.6.0-p1

3.6.0

3.6.0

both static

32: static

64: static

--disable-shared

--enable-static

(assumed)

Yes

Yes

3.6.0-p1

4 Was static for both 32 and 64, now only static for 64.

Yes

netcdf_handler

3.6.0

-

3.5.2

dap_nc_handler: 64 bit exe, XDODS-Server: 3.5.2

dap_nc_handler: 64 bit exe, unusable – huge number of unresolved externals


Yes

No

3.6.0


Yes

dap-server

3.6.1

-

-

nph-dods exe: in cgi-bin XDODS-Server: DAP2/DAP2/3.5.1

same nph-dods


Yes

-

3.6.1

6 Linked statically in /usr/local/bin now

Yes

libiconv







No

-

1.9.2

8 Static in /usr/local now.


openssl








-

0.9.8a

7 Nothing in /usr/local/lib previously? Now there static/64.


libnc-dap











Yes

libudunits











Yes




I modified /usr/local/bin/autoconf to not stuff /usr/local/include or /usr/local/lib in anything. autoconf.m4f needed to have characters replaced with blanks, not a line deleted. This needs to be reverted, now that we’re going to be putting everything under /usr/local proper.


I also modified /usr/local/static/bin/dap-config to not add /usr/local/lib or /usr/local/include to anything. Need to just remove /usr/local/static eventually.


I also had to manually start up prngd with startsrc, to get the openssl tests to pass.


I also had to build libxml2 a second time under /usr/local/static, to eliminate its dependency on an incompatible version of libiconv


And libxml2 required -I/usr/local/static/include -L/usr/local/static/lib


Upon replacing libiconv with a static version, these got confused:

GNU grep - rebuilt

GNU compilers – symlinked version 4.0.1, no g77, but g95 appears OK. Rebuilding 3.2.3 to get a g77 glitched.

gettext - rebuilt

gtar - rebuilt


To get dncdump to link (part of libnc-dap), I had to change CCLD from xlc_r to xlC_r in the Makefile. ISTR that this is generated incorrectly when the immediate .o’s in an executable are all C, but some external .o’s were built with xlC_r.