Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS Catalina and Mojave fails due to hardened rules #32

Closed
azell opened this issue Apr 30, 2020 · 1 comment
Closed

macOS Catalina and Mojave fails due to hardened rules #32

azell opened this issue Apr 30, 2020 · 1 comment
Milestone

Comments

@azell
Copy link

azell commented Apr 30, 2020

  • Java 11
  • embedded-postgres-binaries-bom 11.7.0
Detected a Darwin x86_64 system
Detected distribution: 'Unknown'
System specific postgres binaries found: postgres-darwin-x86_64.txz
Postgres binaries at /var/folders/pp/l3ccxdj91_x3tvpq4yllhvg40000gn/T/embedded-pg/PG-5f6dc0830311710916a464ec059175a6
dyld: Library not loaded: @loader_path/../lib/libz.1.dylib
  Referenced from: /private/var/folders/pp/l3ccxdj91_x3tvpq4yllhvg40000gn/T/embedded-pg/PG-5f6dc0830311710916a464ec059175a6/lib/libxml2.2.dylib
  Reason: no suitable image found.  Did find:
        file system relative paths not allowed in hardened programs
no data was returned by command ""/private/var/folders/pp/l3ccxdj91_x3tvpq4yllhvg40000gn/T/embedded-pg/PG-5f6dc0830311710916a464ec059175a6/bin/postgres" -V"
The program "postgres" is needed by initdb but was not found in the
same directory as "/private/var/folders/pp/l3ccxdj91_x3tvpq4yllhvg40000gn/T/embedded-pg/PG-5f6dc0830311710916a464ec059175a6/bin/initdb".
Check your installation.

Does not occur with 11.6.0

@tomix26
Copy link
Collaborator

tomix26 commented Apr 30, 2020

Hi, thanks for the report. It is known issue that is described here: zonkyio/embedded-postgres-binaries#21

@tomix26 tomix26 changed the title macOS Catalina 10.15.4 fails due to hardened rules macOS Catalina and Mojave fails due to hardened rules May 18, 2020
@azell azell closed this as completed Jul 15, 2020
@tomix26 tomix26 reopened this Jul 15, 2020
@tomix26 tomix26 added this to the 1.2.10 milestone Dec 6, 2020
tomix26 added a commit that referenced this issue Jan 18, 2021
…atibility issue with macOS Big Sur (missing libz library)
tomix26 added a commit that referenced this issue Jan 18, 2021
#32 Upgrade to embedded postgres binaries 10.15.0-1
@tomix26 tomix26 closed this as completed Jan 18, 2021
sleberknight added a commit to kiwiproject/kiwi-test that referenced this issue Feb 28, 2021
Since we originally implemented these and had problems running the
tests on macOS, things seem to have gotten fixed. So this commit simply
removes the EnabledOnOs annotation that restricted to Linux. I don't
really care about Windows, and doubt anyone is using this there anyway.

See:

zonkyio/embedded-postgres#32
zonkyio/embedded-postgres#40

Also see:

zonkyio/embedded-postgres#11
zonkyio/embedded-postgres#11 (comment)

for the original solution regarding the LC_CTYPE and LC_ALL environment
variables.

Closes #80
Closes #152
sleberknight added a commit to kiwiproject/kiwi-test that referenced this issue Feb 28, 2021
Since we originally implemented these and had problems running the
tests on macOS, things seem to have gotten fixed. So this commit simply
removes the EnabledOnOs annotation that restricted to Linux. I don't
really care about Windows, and doubt anyone is using this there anyway.

See:

zonkyio/embedded-postgres#32
zonkyio/embedded-postgres#40

Also see:

zonkyio/embedded-postgres#11
zonkyio/embedded-postgres#11 (comment)

for the original solution regarding the LC_CTYPE and LC_ALL environment
variables.

Closes #80
Closes #152
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants