Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 355563 - dev-embedded/openocd-0.3.1 cannot find the FTD2xx library
Summary: dev-embedded/openocd-0.3.1 cannot find the FTD2xx library
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Embedded Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
: 345589 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-02-19 15:03 UTC by Markos Chandras (RETIRED)
Modified: 2011-04-05 17:11 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
fixed ebuild to install an env.d file (libftd2xx-0.4.16-r1.ebuild,1.28 KB, text/plain)
2011-02-19 16:47 UTC, Markos Chandras (RETIRED)
Details
Fixed ebuild (openocd-0.3.1.ebuild,1.85 KB, text/plain)
2011-02-19 16:49 UTC, Markos Chandras (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markos Chandras (RETIRED) gentoo-dev 2011-02-19 15:03:50 UTC
checking ftd2xx.h presence... yes
checking for ftd2xx.h... yes
checking for library containing FT_GetLibraryVersion... no
configure: error: You appear to be missing the FTD2xx driver library.


I guess this is because the ftd2xx was moved to /opt and is not on the standard LDPATH


/opt/lib64/libftd2xx.so.0.4.16
/usr/lib/debug/opt/lib64/libftd2xx.so.0.4.16.debug
/opt/lib64/libftd2xx.so.0
/opt/lib64/libftd2xx.so
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2011-02-19 16:47:49 UTC
Created attachment 263063 [details]
fixed ebuild to install an env.d file
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2011-02-19 16:49:57 UTC
Created attachment 263065 [details]
Fixed ebuild

In configure.in file, the package hardcodes -L/usr/local/lib to LDFLAGS. As a result of which, it is unable to detect ftd2xx which is located on /opt/lib64 even if the latter installs an env.d file. However the env.d file is required for runtime. Therefore I hardcoded the missing path to the LDFLAGS and now openocd works fine with ftd2xx
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2011-02-22 17:10:40 UTC
Fixed 
Comment 4 Kevin McCarthy (RETIRED) gentoo-dev 2011-04-05 17:11:27 UTC
*** Bug 345589 has been marked as a duplicate of this bug. ***