Date: Tue, 05 Feb 2013 10:38:18 +0200 From: Achilleas Mantzios <achill@matrix.gatewaynet.com> To: Konstantin Belousov <kostikbel@gmail.com>, freebsd-java@freebsd.org Subject: Re: Re: Re: Re: Re: Re: FreeBSD pl/java problem : backend hangs Message-ID: <1779006.4dHUJtq5BK@smadev.internal.net> In-Reply-To: <20130204171859.GB2522@kib.kiev.ua> References: <5933829.WYzpjKtO0p@smadev.internal.net> <1917151.YiRb4P31Ma@smadev.internal.net> <20130204171859.GB2522@kib.kiev.ua>
index | next in thread | previous in thread | raw e-mail
On Δευ 04 Φεβ 2013 19:18:59 you wrote: > Try to start the postgres daemon with 'LD_PRELOAD=/lib/libthr.so.3' > env variable set. Thanx, i tried with this, inside postgresql startup script with no luck. I also saw this thread here : http://www.postgresql.org/message-id/68c429ede4cde3874b37460b5b1d4aaf@cs.helsinki.fi (but could not find its continuation over the FreeBSD camp) The author claims that postgres backend executable must be linked with -lpthread. Inside postgres's Makefile.global i can see PTHREAD_CFLAGS = -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS THREAD_LIBS = -lpthread however when i do root@smadev:/usr/local/src/postgresql-9.2.2# ldd /usr/local/pgsql/bin/postgres /usr/local/pgsql/bin/postgres: libm.so.5 => /lib/libm.so.5 (0x800ae5000) libldap-2.4.so.8 => /usr/local/lib/libldap-2.4.so.8 (0x800c05000) libc.so.7 => /lib/libc.so.7 (0x800d47000) liblber-2.4.so.8 => /usr/local/lib/liblber-2.4.so.8 (0x800f89000) libssl.so.6 => /usr/lib/libssl.so.6 (0x801096000) libcrypto.so.6 => /lib/libcrypto.so.6 (0x8011e9000) i see nothing thread (libpthread or libtrh) related. Any help to overcome this much appreciated. > > > - Achilleas Mantzios IT DEV IT DEPT Dynacom Tankers Mgmthelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1779006.4dHUJtq5BK>
