From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OkkQt-0000VI-Ox for garchives@archives.gentoo.org; Sun, 15 Aug 2010 21:07:57 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 60DDEE07AD for ; Sun, 15 Aug 2010 21:07:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 90885E066B for ; Sun, 15 Aug 2010 20:12:42 +0000 (UTC) Received: from sf.home (unknown [178.125.1.214]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPSA id 36C1E1B4051; Sun, 15 Aug 2010 20:12:39 +0000 (UTC) Date: Sun, 15 Aug 2010 23:12:53 +0300 From: Sergei Trofimovich To: gentoo-dev@lists.gentoo.org Cc: vapier@gentoo.org, jurek@gentoo.org, dev-embedded@gentoo.org Subject: [gentoo-dev] (resend) dev-embedded/libftd2xx move to '/opt' breaks dev-embedded/openocd Message-ID: <20100815231253.40b08e40@sf.home> X-Mailer: Claws Mail 3.7.5 (GTK+ 2.20.1; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/cXoOABwpTaKPscNCZCFKl=C"; protocol="application/pgp-signature" X-Archives-Salt: 360003eb-cce0-47c0-a397-1ed87aa98f59 X-Archives-Hash: 9b9d98b28dac4f3338aa50832bc77dca --Sig_/cXoOABwpTaKPscNCZCFKl=C Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi I tried to build (i don't know what do i need of those for sheevaplug) USE=3D"ftd2xx ftdi parport presto usb" dev-embedded/openocd and got failure: checking for ftd2xx.h... yes checking for library containing FT_GetLibraryVersion... no configure: error: You appear to be missing the FTD2xx driver library. !!! ERROR in dev-embedded/openocd-0.3.1::gentoo: !!! In econf at line 1719 !!! econf failed config.log snippet: configure:17012: x86_64-pc-linux-gnu-gcc -std=3Dgnu99 -o conftest -O2 -pipe= -I${prefix}/include -Wl,-O1 -Wl,--as-needed -Wl,-O1=20 -Wl,--as-needed -L/usr/lib -Wl,-rpath,/usr/lib conftest.c -lftd2xx -ldl >= &5 /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/../../../../x86_64-pc-linux-gnu/bin/= ld: cannot find -lftd2xx Seems it's a result of move and lack of env.d entry > *libftd2xx-0.4.16 (17 Jun 2009) >=20 > 17 Jun 2009; Mike Frysinger +libftd2xx-0.4.16.ebuil= d: > Version bump, add multilib support #261315 by Micke Prag, and fix path > install #261286 by Diego E. Petten=C3=B2. My /etc/ld.so.conf.d/ is empty, and /etc/ld.so.conf contains: [sf] /etc:cat ld.so.conf # ld.so.conf autogenerated by eselect # Make all changes to /etc/env.d files /usr/local/lib include ld.so.conf.d/*.conf //usr/lib32/opengl/xorg-x11/lib //usr/lib64/opengl/xorg-x11/lib /lib /usr/lib /lib64 /usr/lib64 /usr/local/lib64 /lib32 /usr/lib32 /usr/local/lib32 /usr/x86_64-pc-linux-gnu/lib /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4 /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/32 /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2 /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/32 //usr/lib64/xulrunner-1.9.2 /usr/lib64/qca2 /usr/lib/qt4 /usr/lib64/qt4 /usr/lib32/qt4 /usr/lib64/postgresql-9.0/lib64 /usr/lib64/sidplay/builders /usr/lib/sidplay/builders /usr/games/lib /usr/games/lib64 /usr/games/lib32 Sorry for not patching it myself. I haven't decided what to choose: 1. just envadd LDPATH=3D"/opt/lib64" (but it can occur in many other ebuild= s) 2. push something similar to baselayout (we have /usr/local/lib after all) 3. move this library to /opt/libftd2xx/lib64 and envadd LDPATH=3D there UPD.: I fixed it for myself by disabling faulty stuff: USE=3D"-ftd2xx -presto". Was enough for my device, but libftd2xx smells unusable. --=20 Sergei --Sig_/cXoOABwpTaKPscNCZCFKl=C Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) iEYEARECAAYFAkxoSkgACgkQcaHudmEf86rZPgCfcOLJ0T1BbOe3VJScoR5Gf0yu tpMAoIKU54RFk0IoCZ5bJBqhL2hGCV5W =QTFp -----END PGP SIGNATURE----- --Sig_/cXoOABwpTaKPscNCZCFKl=C--