From: Sergei Trofimovich <slyfox@gentoo.org>
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
Date: Sun, 15 Aug 2010 23:12:53 +0300 [thread overview]
Message-ID: <20100815231253.40b08e40@sf.home> (raw)
[-- Attachment #1: Type: text/plain, Size: 2307 bytes --]
Hi
I tried to build (i don't know what do i need of those for sheevaplug)
USE="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=gnu99 -o conftest -O2 -pipe -I${prefix}/include -Wl,-O1 -Wl,--as-needed -Wl,-O1
-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)
>
> 17 Jun 2009; Mike Frysinger <vapier@gentoo.org> +libftd2xx-0.4.16.ebuild:
> Version bump, add multilib support #261315 by Micke Prag, and fix path
> install #261286 by Diego E. Pettenò.
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="/opt/lib64" (but it can occur in many other ebuilds)
2. push something similar to baselayout (we have /usr/local/lib after all)
3. move this library to /opt/libftd2xx/lib64 and envadd LDPATH= there
UPD.:
I fixed it for myself by disabling faulty stuff: USE="-ftd2xx -presto".
Was enough for my device, but libftd2xx smells unusable.
--
Sergei
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
reply other threads:[~2010-08-15 21:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100815231253.40b08e40@sf.home \
--to=slyfox@gentoo.org \
--cc=dev-embedded@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
--cc=jurek@gentoo.org \
--cc=vapier@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox