irudnyts / openai

An R package-wrapper around OpenAI API
https://irudnyts.github.io/openai/
Other
164 stars 28 forks source link

unable to load shared object '/Users/jeroen/Lokaal/R/packages/curl/libs/curl.so' #32

Closed abjeroen closed 1 year ago

abjeroen commented 1 year ago

I get this error when I use the example command: Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared object '/Users/myname/Lokaal/R/packages/curl/libs/curl.so': dlopen(/Users/myname/Lokaal/R/packages/curl/libs/curl.so, 0x0006): tried: '/Users/myname/Lokaal/R/packages/curl/libs/curl.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/myname/Lokaal/R/packages/curl/libs/curl.so' (no such file), '/Users/myname/Lokaal/R/packages/curl/libs/curl.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))

Not compatible with M1 macs yet?

irudnyts commented 1 year ago

Hi @abjeroen! Can you please specify the exact example that does not work (or even better, built up a reproducible example )?

abjeroen commented 1 year ago

fixed. I had the wrong environment!