You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Carl Steinbach (JIRA)" <ji...@apache.org> on 2010/07/26 08:22:53 UTC
[jira] Updated: (HIVE-898) Hive ODBC build fails on OSX
[ https://issues.apache.org/jira/browse/HIVE-898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carl Steinbach updated HIVE-898:
--------------------------------
Fix Version/s: (was: 0.4.2)
(was: 0.6.0)
Affects Version/s: (was: 0.4.1)
> 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
> Environment: OS X 10.5.8
> Reporter: Carl Steinbach
> Assignee: Ning Zhang
> Fix For: 0.5.0
>
> Attachments: HIVE-898.patch, HIVE-898_2.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.