[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
LIBPATH issues on AIX
On AIX, 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
/usr/lib/libexpat.so: executable (RISC System/6000) or object module not
Things that try to link to libexpat.so end up using the one in /usr/lib
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,
 AIX 5.3, xlC 9, pkgsrc-2010Q2. Also the following are set in mk.conf
CFLAGS+= -O3 -qstrict -qcpluscmt -qkeyword=inline
Main Index |
Thread Index |