Summary: | dev-db/unixODBC-2.2.12: odbcinst -j reports wrong directories if either LD_LIBRARY_PATH or ODBCSYSINI is not set | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | Michael Yang <yangofzeal> |
Component: | Prefix Support | Assignee: | Gentoo Prefix <prefix> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Michael Yang
2009-08-05 06:17:11 UTC
note: ebuild compile DOES correctly use the -DSYSTEM_FILE_PATH=\"${EPREFIX}/etc/unixODBC\" define flag, which builds a correctly working odbcinst_system_file_path() in $EPREFIX/usr/lib/libodbcinst.so but maybe a better fix is to patch odbcinst/_odbcinst_SystemINI.c so that it returns "$EPREFIX/etc/unixODBC" all the time when odbcinst_system_file_path() is called. just fyi, unixODBC-2.2.14 is in main tree now. 2.3.0 in tree, can we get a update if the problem persists? we are directly on gx86 for this one, so what's in the main tree is in our tree I just fixed this issue, it was because inidir was set by default, and hence not prefixed. Your example worked for me correctly now with dev-db/unixODBC-2.3.0 |