10000 Compiler settings for healpix are not portable (OSX) · Issue #4 · postgrespro/pgsphere · GitHub
[go: up one dir, main page]

Skip to content
Compiler settings for healpix are not portable (OSX) #4
Closed
@pashkinelfe

Description

@pashkinelfe

When compiling after MOC changes with healpix usage on OS X

# compiler settings
  override CPPFLAGS += -I/usr/include/healpix_cxx
  SHLIB_LINK += -lhealpix_cxx

build errors arise:

g++ -shared -o pg_sphere.so sscan.o sparse.o sbuffer.o vector3d.o point.o euler.o circle.o line.o ellipse.o polygon.o path.o box.o output.o gq_cache.o gist.o key.o gnomo.o healpix.o moc.o process_moc.o healpix_bare/healpix_bare.o -L/usr/local/pgsql/lib -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -Wl,-dead_strip_dylibs -bundle_loader /usr/local/pgsql/bin/postgres -lhealpix_cxx clang: error: invalid argument '-bundle_loader /usr/local/pgsql/bin/postgres' not allowed with '-dynamiclib'

Also on my system should be not /usr/include/healpix_cxx but /usr/local/include/healpix_cxx (the path is hardcoded now after moc commits d697926 (Christoph Berg 2019-12-18)).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0