I tested it on Linux with your test code and it has the same problems with the static libraries whereas with the shared libraries it builds without a problem. So, it is likely a gcc issue with static lib builds rather than an openldap issue.
On Thu, 2006-12-07 at 11:55 -0500, Aaron Richton wrote: > [nm shows the symbol, ld/collect2 can't find it] > > So there is something odd here. > > Sure looks like it. I'd lose GNU binutils and possibly gcc. (Or maybe try > gcc -c and /usr/ccs/bin/ld by hand.) Sun Studio 11 is now free (as in > beer) at sun.com, and might be worth trying. I've found it produces better > sparc code than gcc. -- Patrick Shinpaugh Virginia Tech UVAG System Administrator/Programmer 540-231-2054
