[ 
https://issues.apache.org/jira/browse/BIGTOP-280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13166477#comment-13166477
 ] 

Sridhar Iyer commented on BIGTOP-280:
-------------------------------------

Can't pkg-config be used to find these libraries, instead of compiling a dummy 
file and running ld on it? Most pc files have a "libdir" variable in them that 
can be used to get the path of the library. We need to verify if .pc files are 
packaged uniformly across all the distros for this solution though.
                
> Hadoop native fails to compile with default linker option of --as-needed
> ------------------------------------------------------------------------
>
>                 Key: BIGTOP-280
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-280
>             Project: Bigtop
>          Issue Type: Bug
>          Components: Debian, General
>    Affects Versions: 0.2.0
>         Environment: Ubuntu Precise
>            Reporter: James Page
>            Priority: Minor
>
> From Ubuntu Oneiric onwards the default linker option for linked shared 
> libraries is --as-needed.
> As a result the AC_COMPUTE_NEEDED_DSO fails to locate the -lz shared library 
> name and the build of hadoop native fails.

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

        

Reply via email to