Laurentiu Drob wrote:
>

Hi Eric,

The bug with "File not found" is solved. It's from uClibc dynamic loader. The few steps for solving it are:

1)compile postgresql using uClibc [I mean all staging_dir stuff] and install the client [for blah/blah/blah/include and lib dependencies].

2) Change the following lines in ulogd.c function load_plugin(...)
if (!dlopen(file, RTLD_NOW)) {
with
if (!dlopen(file, RTLD_GLOBAL)) {

3) Put libpq* libraries in /lib or set LD_LIBRARY_PATH to point them et voila!

Or you may consider to run ulogd this way:
[blah@blah blah]#LD_PRELOAD=/where/is/libpq.so.3 ulogd -d

Thanks God for this :)

Best regards,
lwd.



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to