[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: More on strdup and glibc2.1
- To: Hugh Caley <hughc@babcockbrown.com>
- Subject: Re: More on strdup and glibc2.1
- From: "Collins M. Ben " <bmc@visi.net>
- Date: Wed, 28 Apr 1999 14:30:57 -0400
- Cc: openldap-general@OpenLDAP.org, bmc@visi.net
- In-reply-to: <XFMail.990428105702.hughc@babcockbrown.com>; from Hugh Caley on Wed, Apr 28, 1999 at 10:57:02AM -0700
- References: <XFMail.990428105702.hughc@babcockbrown.com>
On Wed, Apr 28, 1999 at 10:57:02AM -0700, Hugh Caley wrote:
> As you suggested, commenting out the strdup definition in /include/ac/string.h
> does allow the compile to complete, but seems to lead to another problem:
> ldif2ldbm doesn't seem to work. I get no errors, and it seems to run, but when
> I check the folder I have defined for the data files there is just nothing
> there.
>
> I have used ldbm2ldif succesfully on builds i've done on Solaris and Linux x86,
> so I think I am using it properly.
>
> Any help would be appreciated. As background, I am trying to compile and use
> OpenLDAP 1.2.1 on a Powermac running LinuxPPC-pre-R5, which includes the
> glibc2.1 libraries. The compile file hangs on just about every module with an
> error something like "Invalid Parameters passed to strdup".
I have also experienced similar problems and it seems to relate to some
db_env (mis)usage in the db2 that comes with glibc 2.1.1 (openldap error,
not glibc 2.1 or db2)...I think we have this resolved in the devel tree.
I'll see if I can send you a patch later this evening when I get home.
Ben