Re: compiling on solaris

Eric Douglas (
Mon, 24 Oct 1994 15:58:03 -0700

In message <>, Jason Cross writes:
>I'm getting an error when compiling ldap on solaris:
> Undefined first referenced
> symbol in file
>getdtablesize result.o
>Do you know what library I need to include when compiling? The
>man pages are not any help. Or is there another call I should
>use? thanks.

This is a BSD-ism... read the man page on "getrlimit" (get resource
limit). You are interested in the RLIMIT_NOFILE resource specification
from getrlimit().

I thought I made a patch for this, but on further inspection, I cannot
find it. The modification is only about 4 lines of code (a variable
declaration of the appropriate structure, the changed call from
getdtablesize() to getrlimit(), and a new assignment).

If you can't make it work, let me know and I'll spend a little time on
putting a patch together for you.


* Eric W. Douglas Internet:
* CCMS/CSci, California Voice: +1 209 278 3923
* State University Fresno Logic joke: if p->q and not q then not p, NOT!