pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

LIBPATH issues on AIX


On AIX[1], we just installed some AIX-base-system software that included it's own /usr/lib/ as a 32-bit object. But pkgsrc has /usr/pkg/lib/ as a 64-bit object for fontconfig et al.

# file /usr/pkg/lib/ /usr/lib/
/usr/pkg/lib/ 64-bit XCOFF executable or object module not stripped /usr/lib/ executable (RISC System/6000) or object module not stripped

Things that try to link to 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/ will break (and who knows what else).

What's the best way to solve this problem?

Any help would be great. Thanks,


[1] AIX 5.3, xlC 9, pkgsrc-2010Q2. Also the following are set in mk.conf

CFLAGS+= -O3 -qstrict -qcpluscmt -qkeyword=inline

Home | Main Index | Thread Index | Old Index