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

Support for Mac OS X 10.4 #11

Open
plicease opened this issue Jun 28, 2022 · 1 comment
Open

Support for Mac OS X 10.4 #11

plicease opened this issue Jun 28, 2022 · 1 comment

Comments

@plicease
Copy link
Member

error:
https://gist.github.com/plicease/976f953c14c40b0aa2505220cc1e96ed
work around:
https://gist.github.com/plicease/8f9ab734f41227fff8b76e86f1e6cdc9

@plicease
Copy link
Member Author

Then once Test2::Tools::FFI is installed:

figment% make test
"/Users/ollisg/opt/perl/5.34.0/bin/perl" -MFFI::Build::MM=cmd -e fbx_build
"/Users/ollisg/opt/perl/5.34.0/bin/perl" -MFFI::Build::MM=cmd -e fbx_test
+env MACOSX_DEPLOYMENT_TARGET=10.3 cc -L/Users/ollisg/opt/perl/5.34.0/lib/site_perl/5.34.0/darwin-2level/auto/share/dist/Test2-Tools-FFI/lib -dynamiclib -undefined dynamic_lookup -L/opt/local/lib -fstack-protector t/ffi/_build/absolute-path.c.o t/ffi/_build/argless.c.o t/ffi/_build/callbacks.c.o t/ffi/_build/null.c.o t/ffi/_build/opaque.c.o t/ffi/_build/overload.c.o t/ffi/_build/pointers.c.o t/ffi/_build/simple-args.c.o t/ffi/_build/simple-returns.c.o t/ffi/_build/struct.c.o -Wl,-rpath,/Users/ollisg/opt/perl/5.34.0/lib/site_perl/5.34.0/darwin-2level/auto/share/dist/Test2-Tools-FFI/lib -lt2t -install_name @rpath/t/ffi/_build/libtest.dylib -o t/ffi/_build/libtest.dylib
ld: -rpath can only be used when targeting Mac OS X 10.5 or later
collect2: ld returned 1 exit status
error building t/ffi/_build/libtest.dylib from t/ffi/_build/absolute-path.c.o t/ffi/_build/argless.c.o t/ffi/_build/callbacks.c.o t/ffi/_build/null.c.o t/ffi/_build/opaque.c.o t/ffi/_build/overload.c.o t/ffi/_build/pointers.c.o t/ffi/_build/simple-args.c.o t/ffi/_build/simple-returns.c.o t/ffi/_build/struct.c.o at /Users/ollisg/opt/perl/5.34.0/lib/site_perl/5.34.0/darwin-2level/FFI/Build.pm line 269.
make: *** [fbx_test] Error 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant