GithubHelp home page GithubHelp logo

Comments (2)

schmiddy avatar schmiddy commented on June 24, 2024

Sorry for the belated followup. For OS X, I can say that pg_repack works fine on 10.9 with Postgres built from Homebrew and from source. I haven't tried the Postgres.app you mention, but about the error you ran into:

ld: library not found for -lpgport

IIRC we do in fact need to be able to link with libpgport -- that error means ld either isn't looking in the right directories, or your Postgres.app somehow failed to provide the library. Can you try something like find / -type f -name 'libpgport.*' 2>/dev/null ? If you've got it, it'll just be a matter of coaxing ld to find it (DYLD_LIBRARY_PATH, or set up a symlink manually, etc.) If it's really missing, that might be an issue you'd have to take up with the Postgres.app folks.

For the missing libraries on Ubuntu, you could try just apt-getting the appropriate *-dev packages providing those libraries, e.g. I'd guess installing libkrb5-dev would make the complaint about
/usr/bin/ld: cannot find -lkrb5 go away. Alternatively, you could add filter-out entries for those libraries to pg_repack's Makefiles (offhand, I doubt we need any of those you listed, we're just picking them up from the LIBS pg_config reports Postgres having been built against). See commit 9c8d519.

from pg_repack.

dvarrazzo avatar dvarrazzo commented on June 24, 2024

pgport seems required (as noded in #7). libedit should be currently filtered out.

from pg_repack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.