Hello

On 2005-09-16 Santiago Vila wrote:
> > Most probably you're connecting to mysql-server 4.1.x without the
> > old-passwords=1 option and the libmysqlclient12 cannot understand the new
> > password format.
> > 
> > Please only use libmysqlclient12 now and wait for the mass-bug-filing
> > that request the library change. Else maybe postfix links agsinst
> > libmysqlclient14 and libpam etc against libmysqlclient12 and we get segfauls
> > as mysql does not have versioned symbols yet.
> 
> I don't understand what you mean at all. This is postfix-gld, a policy
> daemon for postfix written in C, and it has nothing to do with the
> postfix package.

Ok, I assumed it was some kind of plugin like postfix-mysql which gets 
loaded as shared library from /usr/lib/postfix/.
If that *would* have been the case then it *could* have been that
/usr/sbin/postfix links against libmysqlclient12.so and /usr/lib/postfix/gld.so
links against libmysqlclient14.so. Symbols from both libraries would then
be combined. As both libraries provide e.g. mysql_connect() ld.so would
have trouble to decide which one is the right which results in segfaults.
This is normally avoided by "versioning" which means that the library
provides something like "mysql_connect__XGF24FGSGH" and the compiler is
clever enough to translate the mysql_connect in the source code to this
unique name which the library offers.

If your package contains a standalone daemon, you could probably link
against whatever version you want... or just wait a little bit :)
(old_passwords=1 in the mysql config is the Debian default btw so you could
just use that)

bye,

-christian-


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

Reply via email to