Re: Apache segfaults after Midgard 1.6.3 install

Piotras <pp-VVDi8QVAvoBWk0Htik3J/[email protected]>
Newsgroups gmane.comp.web.midgard.user
Message-ID <[email protected]>
Sam Przyswa <samp-pAC44m+R7J2pwVsU+up1+gC/[email protected]> wrote:

> #2  0x408c99be in my_malloc () from /usr/lib/libmysqlclient.so.14
> #3  0x408ee579 in vio_new () from /usr/lib/libmysqlclient.so.14
> #4  0x408ebe43 in mysql_real_connect () from /usr/lib/libmysqlclient.so.14
> #5  0x408aa5dd in zm_info_mysql () from /usr/lib/php4/20020429/mysql.so
> #6  0x408aa77d in zif_mysql_connect () from /usr/lib/php4/20020429/mysql.so

Looks like you compiled midgard with MySQL 4.1 while php4-mysql is compiled for MySQL 3.x.
Try to follow my blog:
http://www.nemein.com/people/piotras/php4_and_mysql_extension.html

Replace libmysqlclient12-dev with libmysqlclient14-dev if You need MySQL 4.1.
Or recompile midgard against MySQL 3.x. ( recommended from system updates point of view )

Piotras
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.