On Thu, 29 Mar 2012 12:10:26 -0700 Quanah Gibson-Mount <qua...@zimbra.com> wrote:
> --On Thursday, March 29, 2012 10:56 PM +0400 Michael Tokarev > <m...@tls.msk.ru> wrote: > > > Besides, gcc --print-search-dirs (as already used in makedefs) > > includes all necessary multiarch directories already. So > > I'm not really sure why the OP have this problem to start > > with. Here's the content of SEARCHDIRS variable from > > makedefs script on my 32bit system: > > If postfix doesn't find nsl or resolv in the directories in that > list, it won't add them to the library list. Thus the build fails. > > --Quanah > > -- > > Quanah Gibson-Mount > Sr. Member of Technical Staff > Zimbra, Inc > A Division of VMware, Inc. > -------------------- > Zimbra :: the leader in open source messaging and collaboration My Ubuntu Precise box has the following in in /etc/ld.so.conf which will pick up those directories: cat /etc/ld.so.conf include /etc/ld.so.conf.d/*.conf cat /etc/ld.so.conf.d/*.conf # Multiarch support /lib/i386-linux-gnu /usr/lib/i386-linux-gnu /lib/i686-linux-gnu /usr/lib/i686-linux-gnu # libc default configuration /usr/local/lib /usr/lib/nvidia-settings # Multiarch support /lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu /usr/lib/nvidia-current /usr/lib32/nvidia-current # Legacy biarch compatibility support /lib32 /usr/lib32