gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem compiling smsd fixed.


From: Bernhard Minks
Subject: Re: Problem compiling smsd fixed.
Date: Sun, 14 Apr 2002 15:32:18 +0200 (CEST)

Hi,

> directory and do an #include "../include/gsm-common.h"; That fixes that
> small compile problem but I'm still having smsd complain about not being
> able to find libmysql.so even though it's in the right place! Any one else
> having this problem? It's been giving me a headache the whole day!!! Oh yes,
> the above fix is also needed to get rid of the same problem with make
> libpq.so...

i had the same problem. it seems, the smsd do not find the libmysqlclient.so.10.
output of strace:
open("/lib/i686/libmysqlclient.so.10", O_RDONLY) = -1 ENOENT (No such file or 
directory)
... and many lines more...

so, i added the path (/opt/mysql/lib/mysql at my installation) in the
/etc/ld.so.conf and started ldconfig. now, smsd will work...

but i have an other problem: smsd crashes, if it want to send a sms:

from mysql.log:
020414 15:26:50      75 Connect     address@hidden on
                     75 Query       INSERT INTO `outbox` (`id`, `number`, 
`processed_date`, `insertdate`, `text`, `processed`, `error`) VALUES ('0', 
'+49179xxxxxx', NOW(NULL), NULL, 'das ist ein test mit smsd', '0', '-1')

# strace  -t ./smsd  -u root -d sms -c localhost -r -m mysql -l .
...
Message sent: 0x14 / 0x0005
00 01 00 36 64                                  |    6d
[Received Ack of type 14, seq:  4]
[Sending Ack of type 14, seq: 6]
Message received: 0x14 / 0x000c
01 08 00 37 02 00 00 0a 00 00 00 00             |    7
Received message type 14
Message: SMS Status Received
        The number of messages: 0
        Unread messages: 0
 <unfinished ...>
15:26:52 --- SIGSEGV (Segmentation fault) ---
15:26:52 +++ killed by SIGSEGV +++


do anybody know about this problem?
i use mysql 3.23.44 and gnokii 0.4.0pre17

thx

cu bernhard




reply via email to

[Prev in Thread] Current Thread [Next in Thread]