Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 355563

Summary: dev-embedded/openocd-0.3.1 cannot find the FTD2xx library
Product: Gentoo Linux Reporter: Markos Chandras (RETIRED) <hwoarang>
Component: New packagesAssignee: Embedded Team (OBSOLETE) <dev-embedded+disabled>
Status: RESOLVED FIXED    
Severity: enhancement CC: dschens_b
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: fixed ebuild to install an env.d file
Fixed ebuild

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. ***