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: Wed, 23 Jan 2008 16:41:57 +0100
User-agent: Thunderbird 2.0.0.6 (X11/20071022)

Hi

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.
Could the generated smsd wrapper script change the library search path, so that even RT dynamically loaded libraries could be searched in smsd/.libs dir?
    - 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?

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.

Shouldn't smsd look for the module libs in /usr/local/lib/smsd ?
Or should I create the /usr/local/lib/gnokii dir and make links there, which "copy" the /usr/local/lib/smsd dir?

Mat




reply via email to

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