pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
LIBPATH issues on AIX
Hi,
On AIX[1], we just installed some AIX-base-system software that included
it's own /usr/lib/libexpat.so as a 32-bit object. But pkgsrc has
/usr/pkg/lib/libexpat.so as a 64-bit object for fontconfig et al.
# file /usr/pkg/lib/libexpat.so /usr/lib/libexpat.so
/usr/pkg/lib/libexpat.so: 64-bit XCOFF executable or object module not
stripped
/usr/lib/libexpat.so: executable (RISC System/6000) or object module not
stripped
Things that try to link to libexpat.so end up using the one in /usr/lib
each time.
I can't just set LIBPATH in, say, /etc/profile because the [very
important] things that depend on /usr/lib/libexpat.so will break (and
who knows what else).
What's the best way to solve this problem?
Any help would be great. Thanks,
Louis
[1] AIX 5.3, xlC 9, pkgsrc-2010Q2. Also the following are set in mk.conf
CFLAGS+= -O3 -qstrict -qcpluscmt -qkeyword=inline
ABI=64
OBJECT_MODE=64
.export OBJECT_MODE
DBG=
Home |
Main Index |
Thread Index |
Old Index