[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Library issue on AIX 5.2



On Monday, October 11, 2004, at 02:24 PM, Lam, Eric wrote:
I just compiled OpenLDAP 2.2.17 on AIX 5.2 with ML03. There is no issue to compile it. However, when I execute ldapsearch, I got the following:
...
        0509-022 Cannot load module ../../libraries/libldap/.libs/libldap.a(libldap-2.2.so.7).
        0509-026 System error: A file or directory in the path name does not exist.
...
Could someone tell me how to compile these lib files INTO the binaries so it does not look for them at all?

Here are some configuration flags I used with openldap-2.2.14 on AIX 5.2:

  CC=cc export CC
  --disable-shared
  --enable-static
  --disable-ipv6

I have tried both GNU ld, ar and gcc. I also have tried the AIX's ld, ar, and gcc. All gave me the same problem.

I use IBM's C compiler -- note the first line of the configure options above.

	Donn Cave, donn@u.washington.edu