portupgrade to openldap-server-2.3.23 seems to cause Undefined symbol "pthread_getconcurrency"

eculp at bafirst.com eculp at bafirst.com
Sat May 20 10:07:41 UTC 2006


Quoting ?? <delphij at gmail.com>:

> Hi,
>
> On 5/19/06, eculp at bafirst.com <eculp at bafirst.com> wrote:
>> I just did a portupgrade to openldap-server-2.3.23 but when starting
>> slapd with debuging it would stop with the following error
>> /libexec/ld-elf.so.1: /usr/local/lib/libldap_r-2.3.so.2: Undefined
>> symbol "pthread_getconcurrency"
>>
>> I reverted to openldap-server-2.3.21 and all is well again.
>
> This looks like to be caused by a change that makes threading disabled
> if SHELL backend is enabled (as suggested by OpenLDAP developers), as
> noted in ports/UPDATING.  Would you please try to see if it is enabled
> and consider reverting the configuration?

Embarrassingly, that was the problem.  I didn't even think to check 
updating before upgrading ldap.  Actually I don't even remember it 
having a config make option.  So I simply ran the make config and then 
a simple portupgrade -f and all is well.

Thanks,

ed
>
> Thanks for your feedback :-)
>
> Cheers,
> -- 
> Xin LI <delphij at delphij.net> http://www.delphij.net
>





More information about the freebsd-ports mailing list