Skip site navigation (1)Skip section navigation (2)
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On =CE=94=CE=B5=CF=85 04 =CE=A6=CE=B5=CE=B2 2013 19:18:59 you wrote:

> Try to start the postgres daemon with 'LD_PRELOAD=3D/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/68c4=
29ede4cde3874b37460b5b1d4aaf@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=20
PTHREAD_CFLAGS         =3D  -pthread  -D_REENTRANT -D_THREAD_SAFE -D_PO=
SIX_PTHREAD_SEMANTICS
THREAD_LIBS           =3D  -lpthread
however when i do=20

root@smadev:/usr/local/src/postgresql-9.2.2# ldd /usr/local/pgsql/bin/p=
ostgres
/usr/local/pgsql/bin/postgres:
        libm.so.5 =3D> /lib/libm.so.5 (0x800ae5000)
        libldap-2.4.so.8 =3D> /usr/local/lib/libldap-2.4.so.8 (0x800c05=
000)
        libc.so.7 =3D> /lib/libc.so.7 (0x800d47000)
        liblber-2.4.so.8 =3D> /usr/local/lib/liblber-2.4.so.8 (0x800f89=
000)
        libssl.so.6 =3D> /usr/lib/libssl.so.6 (0x801096000)
        libcrypto.so.6 =3D> /lib/libcrypto.so.6 (0x8011e9000)

i see nothing thread (libpthread or libtrh) related.

Any help to overcome this much appreciated.

>=20
> >=20

-
Achilleas Mantzios
IT DEV
IT DEPT
Dynacom Tankers Mgmt



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1779006.4dHUJtq5BK>