Configure Error Zlib Library Not Found At /opt/local/lib
Contents |
SCAP-on-Apple SmartCard Services WebKit XQuartz Contact Terms of Use Privacy Policy All user-submitted text and content on this website is licensed under a Creative
Install Libreadline-dev
Commons Attribution 2.5 License unless otherwise noted. Copyright © 2011 Apple configure error readline library not found postgresql Inc. All rights reserved. New Ticket Tickets Wiki Browse Source
Is The Server Running Locally And Accepting Connections On Unix Domain Socket Tmp S Pgsql 5432
Timeline Roadmap Ticket Reports Search Search: Context Navigation ← Previous TicketNext Ticket → Ticket #13982 (closed defect: worksforme) Opened 9 years ago brew install postgres Last modified 7 years ago tiff 3.8.2 and libpng 1.2.24 cannot find zlib Reported by: dorfman@… Owned by: waqar@… Priority: Normal Milestone: Component: ports Version: 1.6.0 Keywords: ImageMagick zlib Cc: ryandesign@… Port: Description (last modified by jmpp@…) (diff) I'm new to MacPorts, but I don't think I'm doing anything unusual. I have a fresh install of MacPorts 1.6, for the sole purpose (at this point) of installing ImageMagick. I am getting a failure indicating that I do not have zlib, although it does appear in 'port installed'. I have literally done nothing but install MacPorts and then issue the following command: sudo port install tiff -macosx imagemagick +q8 +gs +wmf (which I got from here: http://rmagick.rubyforge.org/install-osx.html) Here is the error message I'm getting: Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_tiff/work/tiff-3.8.2" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man --with-docdir=/opt/local/share/doc/tiff-3.8.2 --with-jpeg-include-dir=/opt/local/include --with-jpeg-lib-dir=/opt/local/lib --with-zlib-include-dir=/opt/local/include --with-zlib-lib-dir=/opt/local/lib " returned error 1 Command output: checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 4 checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for int8... no checking for int16... no checking for int32... no checking for floor... yes checking for isascii... yes checking for memmove... yes checking for memset... yes checking for mmap... yes checking for pow... yes checking for sqrt... yes checking for
Support Search GitHub This repository Watch 1,059 Star 29,551 Fork 14,128 Homebrew/legacy-homebrew Code Issues 1 Pull requests 1 Projects 0 Pulse Graphs Postgres install fails on OSX 10.11 #42223 Closed codeOfRobin opened this Issue Jul 28, 2015 · 10 comments Projects None yet Labels 10.11 Milestone No milestone Assignees No one assigned 7 participants codeOfRobin commented Jul 28, 2015 I get the following https://trac.macports.org/ticket/13982 error: ==> ./configure --prefix=/usr/local/Cellar/postgresql/9.4.4 --datadir=/usr/local checking for library containing readline... no configure: error: readline library not found If you have readline already installed, see config.log for details on the failure. It is possible the compiler isn't looking in the proper directory. Use --without-readline to disable readline support. I've done brew install https://github.com/Homebrew/legacy-homebrew/issues/42223 readline, and it said the following: This formula is keg-only, which means it was not symlinked into /usr/local. OS X provides the BSD libedit library, which shadows libreadline. In order to prevent conflicts when programs look for libreadline we are defaulting this GNU Readline installation to keg-only. Generally there are no consequences of this for you. If you build your own software and it requires this formula, you'll need to add to your build variables: LDFLAGS: -L/usr/local/opt/readline/lib CPPFLAGS: -I/usr/local/opt/readline/include bfontaine added the 10.11 label Jul 28, 2015 Homebrew member bfontaine commented Jul 28, 2015 Please post the output of brew gist-logs postgresql. codeOfRobin commented Jul 28, 2015 https://gist.github.com/anonymous/cb85fc55140cc15b640b psmarcin commented Jul 29, 2015 I also have almost the same issue. checking for library containing readline... no configure: error: readline library not found If you have readline already installed, see config.log for details on the failure. It is possible the comp
Support Search GitHub This repository Watch 1,059 Star 29,551 https://github.com/Homebrew/legacy-homebrew/issues/41255 Fork 14,128 Homebrew/legacy-homebrew Code Issues 1 Pull requests 1 Projects 0 Pulse Graphs subversion error: requires zlib when --with-python, library not found for -lsocket https://curl.haxx.se/docs/install.html #41255 Closed botanize opened this Issue Jul 1, 2015 · 3 comments Projects None yet Labels user configuration Milestone No milestone Assignees No configure error one assigned 3 participants botanize commented Jul 1, 2015 I get the following error when attempting brew install subversion --with-python checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for inflate in -lz... no configure: error: subversion requires zlib running brew install -vd library not found subversion --with-python results in the following error in config.log: configure:18124: /usr/bin/clang -o conftest -Werror=unknown-warning-option -Os -w -pipe -march=native -mmacosx-version-min=10.9 -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/opt/readline/include -F/usr/local/Frameworks -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -L/usr/local/opt/openssl/lib -L/usr/local/opt/sqlite/lib -L/usr/local/opt/readline/lib -L/usr/local/lib -F/usr/local/Frameworks -Wl,-headerpad_max_install_names -L/usr/local/Cellar/subversion/1.8.13/libexec/serf/lib conftest.c -lsocket >&5 ld: library not found for -lsocket clang: error: linker command failed with exit code 1 (use -v to see invocation) Homebrew member DomT4 commented Jul 1, 2015 Which system are you using? zlib is installed by default on OS X. Can you brew gist-logs subversion? botanize commented Jul 1, 2015 Max OS X 10.9.5 https://gist.github.com/0a8be7d9e2ce947d5aa9 Homebrew member DomT4 commented Jul 1, 2015 You have zlib libs in /usr/local/lib. It's probably picking up the headers from /usr/include but failing to determine the correct libs. Would suggest you move or remove the existing zlib libraries in /usr/local/lib and try again. jacknagel added the user configuration label Jul
|_) | | | (__| |_| | _ <| |___ \___|\___/|_| \_\_____| How To Compile Installing Binary Packages ========================== Lots of people download binary distributions of curl and libcurl. This document does not describe how to install curl or libcurl using such a binary package. This document describes how to compile, build and install curl and libcurl from source code. Building from git ================= If you get your code off a git repository, see the GIT-INFO file in the root directory for specific instructions on how to proceed. Unix ==== A normal Unix installation is made in three or four steps (after you've unpacked the source archive): ./configure make make test (optional) make install You probably need to be root when doing the last command. If you have checked out the sources from the git repository, read the GIT-INFO on how to proceed. Get a full listing of all available configure options by invoking it like: ./configure --help If you want to install curl in a different file hierarchy than /usr/local, you need to specify that already when running configure: ./configure --prefix=/path/to/curl/tree If you happen to have write permission in that directory, you can do 'make install' without being root. An example of this would be to make a local install in your own home directory: ./configure --prefix=$HOME make make install The configure script always tries to find a working SSL library unless explicitly told not to. If you have OpenSSL installed in the default search path for your compiler/linker, you don't need to do anything special. If you have OpenSSL installed in /usr/local/ssl, you can run configure like: ./configure --with-ssl If you have OpenSSL installed somewhere else (for example, /opt/OpenSSL) and you have pkg-config installed, set the pkg-config path first, like this: env PKG_CONFIG_PATH=/opt/OpenSSL/lib/pkgconfig ./configure --with-ssl Without pkg-config installed, use this: ./configure --with-ssl=/opt/OpenSSL If you insist on forcing a build without SSL support, even though you may have OpenSSL installed in your system, you can run configure like this: ./configure --without-ssl If you have OpenSSL installed, but with the libraries in one place and the header files somewhere else, you have to set the LDFLAGS and CPPFLAGS environment variables prior to running configure. Something like this should work: (with the Bourne shell and its clones): CPPFLAGS="-I/path/to/ssl/include" LDFLAGS="-L/path/to/ssl/lib" \ ./configure (with csh, tcsh and their clones): env CP