mac build problem?

Mark Harrison <[email protected]>
Newsgroups gmane.comp.python.db.cx-oracle
Message-ID <[email protected]>
anybody seeing something like this?  Python seems to build
properly.  Any clues appreciated!




mh@violino ~/ora --> export ORACLE_HOME=/Users/mh/ora/instantclient_11_2
mh@violino ~/ora --> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME

mh@violino ~/ora/src/cx_Oracle-5.1.2 --> ../../bin/python setup.py build
running build
running build_ext
building 'cx_Oracle' extension
creating build
creating build/temp.macosx-10.4-x86_64-2.7-11g
/usr/bin/clang -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/mh/ora/instantclient_11_2/sdk/include -I/Users/mh/ora/include/python2.7 -c cx_Oracle.c -o build/temp.macosx-10.4-x86_64-2.7-11g/cx_Oracle.o -DBUILD_VERSION=5.1.2
creating build/lib.macosx-10.4-x86_64-2.7-11g
/usr/bin/clang -bundle -undefined dynamic_lookup build/temp.macosx-10.4-x86_64-2.7-11g/cx_Oracle.o -L/Users/mh/ora/instantclient_11_2 -lclntsh -o build/lib.macosx-10.4-x86_64-2.7-11g/cx_Oracle.so -shared-libgcc
ld: file not found: crt3.o
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command '/usr/bin/clang' failed with exit status 1


Python seems to be running gcc and not clang(??)

mh@violino ~/ora/src/Python-2.7.5 --> make
gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Modules/python.o ./Modules/python.c



------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.