|
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
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?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: PQsetdbLoginAnd 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
[Prev in Thread] | Current Thread | [Next in Thread] |