* Szabolcs Nagy <nsz@port70.net> [2015-05-20 23:08:02 +0200]:
> * John Mudd <johnbmudd@gmail.com> [2015-05-20 16:47:45 -0400]:
> >
> > It listed this:
> >
> > libz.so.1 needed by /home/mudd/musl/libXft-2.3.2.install/lib/libXft.so
> > found libz.so.1 at //lib/i386-linux-gnu/libz.so.1
> > libc.so.6 needed by //lib/i386-linux-gnu/libz.so.1
> >
>
> ok so you probably forgot to add libz to the -L path
> and then ld went ahead and found the wrong one
>
i think -L probably wont help: libz is an indirect dependency
not listed as -lz on the ld commandline
in that case ld searches different set of paths
you may want to set LD_LIBRARY_PATH or use -Wl,-rpath-link