On Fri, Jun 28, 2013 at 02:36:10AM -0700, Bogdan Andu wrote:
> 
> 
> ok, that did the trick
> 
> but how can I specify in one place this variable  env 
> LD_PRELOAD=libpthread.so?

You can write a small wrapper shell script that sets the variable and
then runs your perl script. See here for an example:
http://www.openbsd.org/cgi-bin/cvsweb/ports/games/frozen-bubble/files/Attic/wrapper.sh?rev=1.1;content-type=text%2Fplain;hideattic=0

It might already work in -current without LD_PRELOAD. So by the time
OpenBSD 5.4 comes out you can probably stop using a wrapper script.
I don't think upgrading to -current just for this is worth the effort.

> is this related to mariadb-client?

No. It's related to perl not being linked to the pthread library.

Reply via email to