This bug is even worse. It seems there is name clash with library symbols 
betweent statically linked db3 in mysql and shared linked db3 (or db4.3) in 
nss_db. I'm sure it is the reason that mysql doesn't work with nss_ldap, too.

I see a few solutions:

1. Drop bdb support in mysql at all. It might be a backward compatibility 
problem but I think it could be conditionally compiled, like static linking 
already.

2. Link nss_db statically with db3 or db4.3. It might be painful as far as the 
nss_db.so grows from 16KB to 800KB.

3. Link nss_db dynamically with modified db4.3 with UNIQUE_NAME feature to 
prevent symbol name clash. It would require another package with db4.3. A 
tricky.

4. Link mysql dynamically with bundled db4.3 with UNIQUE_NAME feature. Works 
only for mysql-4.1.

May I see your suggestion? My choise is the first one...

-- 
 .''`.    Piotr Roszatycki, Netia SA
: :' :    mailto:[EMAIL PROTECTED]
`. `'     mailto:[EMAIL PROTECTED]
  `-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to