[
https://issues.apache.org/jira/browse/HDFS-3304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13258419#comment-13258419
]
Colin Patrick McCabe commented on HDFS-3304:
--------------------------------------------
No, that command doesn't work for me. The problem seems to be that automake
defaults to creating ${TARGET}/usr/local/lib64 for me, and
${TARGET}/usr/local/lib for you. This should be fixable by passing a --libdir
switch with the desired directory to automake.
> might be worth going straight to HDFS-3251 rather than fixing this.
Makes sense to me!
> fix fuse_dfs build
> ------------------
>
> Key: HDFS-3304
> URL: https://issues.apache.org/jira/browse/HDFS-3304
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 2.0.0
> Reporter: Colin Patrick McCabe
> Priority: Minor
>
> The fuse_dfs build is broken in several ways. If you run:
> {code}
> mvn compile -DskipTests -Pnative
> mvn compile -DskipTests -Pfuse
> {code}
> You get the following error message:
> {code}
> [exec]
> /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld:
> cannot find -lhdfs
> [exec] collect2: ld returned 1 exit status
> [exec] make[1]: *** [fuse_dfs] Error 1
> [exec] make: *** [all-recursive] Error 1
> {code}
> libhdfs.so was created, but the -Pfuse build doesn't know where it is and
> can't link against it.
> Also, should ''mvn install -Pfuse'' be copying fuse_dfs somewhere?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira