Skip to content

Instantly share code, notes, and snippets.

@pauljamesharper
Created April 19, 2012 19:45
Show Gist options
  • Save pauljamesharper/2423646 to your computer and use it in GitHub Desktop.
Save pauljamesharper/2423646 to your computer and use it in GitHub Desktop.
ld: framework not found Python
==> Build Environment
CPU: quad-core 64-bit sandybridge
MacOS: 10.7.3-x86_64
Xcode: 4.3.2
"--use-gcc" was specified
CC: /usr/bin/xcrun gcc-4.2 => /usr/local/bin/gcc-4.2
LD: /usr/bin/xcrun gcc-4.2 => /usr/local/bin/gcc-4.2
CFLAGS: -Os -w -pipe -march=core2 -msse4 -I/usr/local/Cellar/ossp-uuid/1.6.2/include
CXXFLAGS: -Os -w -pipe -march=core2 -msse4
CPPFLAGS: -I/usr/local/Cellar/readline/6.2.2/include -I/usr/include/libxml2
LDFLAGS: -L/usr/local/Cellar/readline/6.2.2/lib -L/usr/local/Cellar/ossp-uuid/1.6.2/lib
MAKEFLAGS: -j4
Error: Failed executing: make install-world (postgresql.rb:61)
These existing issues may help you:
https://github.com/mxcl/homebrew/issues/10247
Otherwise, please report the bug:
https://github.com/mxcl/homebrew/wiki/reporting-bugs
Pauls-iMac:usr felixdz$ brew doctor
Your system is raring to brew.
Pauls-iMac:usr felixdz$ python --version
Python 2.7.1
Pauls-iMac:usr felixdz$ java --version
Unrecognized option: --version
Could not create the Java virtual machine.
Pauls-iMac:usr felixdz$ java -version
java version "1.6.0_31"
Java(TM) SE Runtime Environment (build 1.6.0_31-b04-415-11M3635)
Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01-415, mixed mode)
Pauls-iMac:usr felixdz$
ld: framework not found Python
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [plpython2.so] Error 1
make[2]: *** [install-plpython-recurse] Error 2
make[2]: *** Waiting for unfinished jobs....
/usr/bin/clang -Os -w -pipe -march=native -Qunused-arguments -I/usr/local/Cellar/ossp-uuid/1.6.2/include -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -I. -I. -I../../../../src/include -I/usr/local/Cellar/readline/6.2.2/include -I/usr/include/libxml2 -I/usr/include/libxml2 -c -o pl_funcs.o pl_funcs.c
/usr/bin/clang -Os -w -pipe -march=native -Qunused-arguments -I/usr/local/Cellar/ossp-uuid/1.6.2/include -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -I. -I. -I../../../../src/include -I/usr/local/Cellar/readline/6.2.2/include -I/usr/include/libxml2 -I/usr/include/libxml2 -c -o pl_scanner.o pl_scanner.c
/usr/bin/clang -Os -w -pipe -march=native -Qunused-arguments -I/usr/local/Cellar/ossp-uuid/1.6.2/include -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -I. -I. -I../../../src/include -I/usr/local/Cellar/readline/6.2.2/include -I/usr/include/libxml2 -I/usr/include/libxml2 -I/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE -c -o SPI.o SPI.c
/bin/sh ../../../../config/install-sh -c -d '/usr/local/Cellar/postgresql/9.1.3/lib'
/usr/bin/clang -Os -w -pipe -march=native -Qunused-arguments -I/usr/local/Cellar/ossp-uuid/1.6.2/include -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -I. -I. -I../../../src/include -I/usr/local/Cellar/readline/6.2.2/include -I/usr/include/libxml2 -I/usr/include/libxml2 -I/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE -c -o Util.o Util.c
/bin/sh ../../../../config/install-sh -c -d '/usr/local/Cellar/postgresql/9.1.3/share/postgresql/extension'
/bin/sh ../../../../config/install-sh -c -m 644 ./plpgsql.control ./plpgsql--1.0.sql ./plpgsql--unpackaged--1.0.sql '/usr/local/Cellar/postgresql/9.1.3/share/postgresql/extension/'
/bin/sh ../../../config/install-sh -c -d '/usr/local/Cellar/postgresql/9.1.3/share/postgresql/extension'
/bin/sh ../../../config/install-sh -c -m 644 ./plperl.control ./plperl--1.0.sql ./plperl--unpackaged--1.0.sql ./plperlu.control ./plperlu--1.0.sql ./plperlu--unpackaged--1.0.sql '/usr/local/Cellar/postgresql/9.1.3/share/postgresql/extension/'
/usr/bin/clang -Os -w -pipe -march=native -Qunused-arguments -I/usr/local/Cellar/ossp-uuid/1.6.2/include -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -bundle -multiply_defined suppress -o plperl.so plperl.o SPI.o Util.o -L../../../src/port -L/usr/local/Cellar/readline/6.2.2/lib -L/usr/local/Cellar/ossp-uuid/1.6.2/lib -Wl,-dead_strip_dylibs '-arch x86_64' -fstack-protector -L/usr/local/lib -L/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE -lperl -ldl -lm -lutil -lc -bundle_loader ../../../src/backend/postgres
/usr/bin/clang -Os -w -pipe -march=native -Qunused-arguments -I/usr/local/Cellar/ossp-uuid/1.6.2/include -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -bundle -multiply_defined suppress -o plpgsql.so pl_gram.o pl_handler.o pl_comp.o pl_exec.o pl_funcs.o pl_scanner.o -L../../../../src/port -L/usr/local/Cellar/readline/6.2.2/lib -L/usr/local/Cellar/ossp-uuid/1.6.2/lib -Wl,-dead_strip_dylibs -bundle_loader ../../../../src/backend/postgres
/bin/sh ../../../../config/install-sh -c -m 755 plpgsql.so '/usr/local/Cellar/postgresql/9.1.3/lib/plpgsql.so'
/bin/sh ../../../config/install-sh -c -m 755 plperl.so '/usr/local/Cellar/postgresql/9.1.3/lib/plperl.so'
make[1]: *** [install-pl-recurse] Error 2
make: *** [install-world-src-recurse] Error 2
config.log was copied to /Users/felixdz/Library/Logs/Homebrew
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment