fail to correctly build 1.8.5 ??

Home » Asterisk Users » fail to correctly build 1.8.5 ??
Asterisk Users 1 Comment

Hello everybody,

I’ve been using asterisk 1.2 for quite a long time now, but I thought
it’s time to try a newer version of asterisk.

So I downloaded 1.8.5, extracted the tar, ran configure, make, make
install …
Everything looks fine (no obvious compile/link errors).

But as soon as I start asterisk, it dies with a segfault.
I executed asterisk within strace and last action before the segfault
was reading cdr_mysql.conf in.

I deleted cdr_mysql.conf and asterisk starts normally.
I copied cdr_mysql.conf.sample to /etc/asterisk and asterisk starts normally
Then I just uncommented the “hostname=” line and asterisk segfaults
during startup.

So what could be wrong here?

I have packages “libmysqlclient-devel” and “libmysqlclient16” installed,
both version 5.1.46-2.18
OS is a SuSE 11.3, 64 bit

Any hints?

Norbert

One thought on - fail to correctly build 1.8.5 ??

  • Hi

    Do you see the loaded modules when not using the conf file, somethinglike this ?

    cdr_mysql.so MySQL CDR Backend 0
    res_config_mysql.so MySQL RealTime Configuration Driver 0
    app_mysql.so Simple Mysql Interface 0

    soeren