gnokii-users
[Top][All Lists]
Advanced

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

Re: smsd build problem


From: Matthew
Subject: Re: smsd build problem
Date: Thu, 24 Jan 2008 10:56:11 +0100
User-agent: Thunderbird 2.0.0.6 (X11/20071022)

Hi,
The same error:
    dlopen error: (null)!
    Cannot load database module pq in directory /usr/local/lib/gnokii!

There is no /usr/local/lib/gnokii dir! The smsd modules (file and pq)
are placed in /usr/local/lib/smsd.

Bastien, could you look at it?

I (think I) have repaired the first problem (smsd looking for the module in the wrong dir).

Here is the patch:

Index: smsd/Makefile.am
===================================================================
RCS file: /sources/gnokii/gnokii/smsd/Makefile.am,v
retrieving revision 1.6
diff -r1.6 Makefile.am
34c34
<       -DMODULES_DIR=\"${pkglibdir}\"  \
---
>       -DMODULES_DIR=\"${plugindir}\"  \

Check it please, and if it is OK, then commit it to the cvs.

But the other bug is still there:
smsd: symbol lookup error: /usr/local/lib/smsd/libpq.so: undefined symbol: PQsetdbLogin

Regarding the first error, I think it should be wise to apply the following patch also:
Index: smsd/smsd.c
===================================================================
RCS file: /sources/gnokii/gnokii/smsd/smsd.c,v
retrieving revision 1.59
diff -r1.59 smsd.c
101c101
<     g_print ("dlopen error: %s!\n", dlerror());
---
>     g_print ("dlopen error: %s!\n", g_module_error());


Mat

P.S.: Sending public "thank You" to Jan Derfinak, for helping me fixing the problem with cca 1 min lag in rx/tx of sms with AT mobile terminal.




reply via email to

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