From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/7731 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: Re: musl xclock? Date: Wed, 20 May 2015 23:48:08 +0200 Message-ID: <20150520214807.GL11258@port70.net> References: <20150520210801.GK11258@port70.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1432158503 24818 80.91.229.3 (20 May 2015 21:48:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 May 2015 21:48:23 +0000 (UTC) To: musl@lists.openwall.com, John Mudd Original-X-From: musl-return-7743-gllmg-musl=m.gmane.org@lists.openwall.com Wed May 20 23:48:22 2015 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1YvBqf-0006Gn-DS for gllmg-musl@m.gmane.org; Wed, 20 May 2015 23:48:21 +0200 Original-Received: (qmail 28072 invoked by uid 550); 20 May 2015 21:48:20 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 28051 invoked from network); 20 May 2015 21:48:19 -0000 Mail-Followup-To: musl@lists.openwall.com, John Mudd Content-Disposition: inline In-Reply-To: <20150520210801.GK11258@port70.net> User-Agent: Mutt/1.5.23 (2014-03-12) Xref: news.gmane.org gmane.linux.lib.musl.general:7731 Archived-At: * Szabolcs Nagy [2015-05-20 23:08:02 +0200]: > * John Mudd [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