gnokii-users
[Top][All Lists]
Advanced

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

Re: smsd build problem


From: Pawel Kot
Subject: Re: smsd build problem
Date: Wed, 23 Jan 2008 14:46:12 +0100

Hi,

On Jan 23, 2008 2:31 PM, Matthew <address@hidden> wrote:
> address@hidden:~/tmp/gnokii$ smsd/smsd
> dlopen error: (null)!
> Cannot load database module pq in directory /usr/local/lib/gnokii!
>
> strace is showing that smsd is loading libgnokii from the comon/.libs dir

And?

> open("/home/mat/tmp/gnokii/common/.libs/libgnokii.so.3", O_RDONLY) = 3
> open("/usr/local/lib/gnokii/libpq.so", O_RDONLY) = -1 ENOENT (No such
> file or directory)

> 2 questions:
>     - Why is smsd not looking for the libpq in the .libs directory?

Because it is not linked with libpq. libpq is a plugin that is loaded
during runtime.

>     - When I manually use the -l option to point to the .libs dir, then
> I get the following error:
>        /home/mat/tmp/gnokii/smsd/.libs/lt-smsd: symbol lookup error:
> smsd/.libs/libpq.so: undefined symbol: PQsetdbLogin

And if you install it correctly, does it work?

pkot
-- 
Pawel Kot




reply via email to

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