hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zheng Shao (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HIVE-898) Hive ODBC build fails on OSX
Date Tue, 12 Jan 2010 19:16:54 GMT

     [ https://issues.apache.org/jira/browse/HIVE-898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Zheng Shao updated HIVE-898:
----------------------------

    Affects Version/s:     (was: 0.4.0)
                       0.4.1
        Fix Version/s:     (was: 0.4.0)
                       0.4.2

> Hive ODBC build fails on OSX
> ----------------------------
>
>                 Key: HIVE-898
>                 URL: https://issues.apache.org/jira/browse/HIVE-898
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Build Infrastructure
>    Affects Versions: 0.4.1
>         Environment: OS X 10.5.8
>            Reporter: Carl Steinbach
>             Fix For: 0.4.2
>
>         Attachments: HIVE-898.patch
>
>
> Building the Hive ODBC library on OS X fails with the following error:
>      [exec] g++ -m32 -DARCH32 -shared /Users/carl/src/SVN/hive-trunk2/build/service/fb303/objs/FacebookService.o
/Users/carl/src/SVN/hive-trunk2/build/service/fb303/objs/fb303_constants.o /Users/carl/src/SVN/hive-trunk2/build/service/fb303/objs/fb303_types.o
/Users/carl/src/SVN/hive-trunk2/build/metastore/objs/ThriftHiveMetastore.o /Users/carl/src/SVN/hive-trunk2/build/metastore/objs/hive_metastore_constants.o
/Users/carl/src/SVN/hive-trunk2/build/metastore/objs/hive_metastore_types.o /Users/carl/src/SVN/hive-trunk2/build/service/objs/ThriftHive.o
/Users/carl/src/SVN/hive-trunk2/build/service/objs/hive_service_constants.o /Users/carl/src/SVN/hive-trunk2/build/service/objs/hive_service_types.o
/Users/carl/src/SVN/hive-trunk2/build/odbc/objs/hiveclient.o /Users/carl/src/SVN/hive-trunk2/build/odbc/objs/HiveResultSet.o
/Users/carl/src/SVN/hive-trunk2/build/odbc/objs/HiveColumnDesc.o /Users/carl/src/SVN/hive-trunk2/build/odbc/objs/HiveRowSet.o
/Users/carl/src/SVN/hive-trunk2/build/odbc/objs/hiveclienthelper.o -L/Users/carl/tmp/thrift-install/lib
-lthrift -o /Users/carl/src/SVN/hive-trunk2/build/odbc/lib/libhiveclient.so.1.0.0 \
>      [exec]         && ln -sf libhiveclient.so.1.0.0 /Users/carl/src/SVN/hive-trunk2/build/odbc/lib/libhiveclient.so
>      [exec] Undefined symbols:
>      [exec]   "_main", referenced from:
>      [exec]       start in crt1.10.5.o
>      [exec] ld: symbol(s) not found
>      [exec] collect2: ld returned 1 exit status
>      [exec] make: *** [/Users/carl/src/SVN/hive-trunk2/build/odbc/lib/libhiveclient.so.1.0.0]
Error 1
> BUILD FAILED
> /Users/carl/src/SVN/hive-trunk2/build.xml:126: The following error occurred while executing
this line:
> /Users/carl/src/SVN/hive-trunk2/build.xml:69: The following error occurred while executing
this line:
> /Users/carl/src/SVN/hive-trunk2/odbc/build.xml:62: exec returned: 2
> The problem is that OSX does not support -shared. You need to either use -dynamiclib
or -bundle when making dynamic libraries.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message