[Pkg-postgresql-public] [Branch ~pitti/postgresql/common] Rev 1112: pg_wrapper: Drop dpkg-architecture call; we don't want to introduce a

Christoph Berg myon at debian.org
Thu Oct 6 16:08:37 UTC 2011


> +    push @readlines, sort(</lib/*/libreadline.so.*>);
>      push @readlines, sort(</lib/libreadline.so.*>);
>      if (@readlines) {
>  	$ENV{'LD_PRELOAD'} = ($ENV{'LD_PRELOAD'} or '') . ':' . $readlines[-1];

This is probably the best fix we have, but I'd imagine this will run
into trouble if there are "real" multiarch libraries for foreign
architectures (think cross-compilation) installed.

Christoph
-- 
cb at df7cb.de | http://www.df7cb.de/



More information about the Pkg-postgresql-public mailing list