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

osx el capitan dylib error #21

Open
gregcman opened this issue Oct 17, 2016 · 4 comments
Open

osx el capitan dylib error #21

gregcman opened this issue Oct 17, 2016 · 4 comments

Comments

@gregcman
Copy link

on osx el capitan i had to comment out lines 44-47 in "appkit.m" in order for it to build correctly. Then, in sbcl i had to disable floating point traps. I suggest this gets put in some sort of documentation

@patzy
Copy link
Collaborator

patzy commented Oct 24, 2016

Is this specific to the el captain osx version ?

@tavurth
Copy link

tavurth commented Sep 17, 2017

OSX Sierra:

* (ql:quickload "glop")
To load "glop":
  Load 1 ASDF system:
    glop
; Loading "glop"
.
debugger invoked on a LOAD-FOREIGN-LIBRARY-ERROR in thread
#<THREAD "main thread" RUNNING {1001F0EC13}>:
  Unable to load foreign library (BRIDGE).
  Error opening shared object "/Users/Tavurth/quicklisp/dists/quicklisp/software/glop-20160531-git/src/osx/bridge/glop-bridge.dylib":
  dlopen(/Users/Tavurth/quicklisp/dists/quicklisp/software/glop-20160531-git/src/osx/bridge/glop-bridge.dylib, 10): no suitable image found.  Did find:
	/Users/Tavurth/quicklisp/dists/quicklisp/software/glop-20160531-git/src/osx/bridge/glop-bridge.dylib: mach-o, but wrong architecture
	/Users/Tavurth/quicklisp/dists/quicklisp/software/glop-20160531-git/src/osx/bridge/glop-bridge.dylib: mach-o, but wrong architecture.

Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [RETRY                        ] Try loading the foreign library again.
  1: [USE-VALUE                    ] Use another library instead.
  2: [TRY-RECOMPILING              ] Recompile bridge and try loading it again
  3: [RETRY                        ] Retry
                                     loading FASL for #<CL-SOURCE-FILE "glop" "src" "osx" "bridge">.
  4: [ACCEPT                       ] Continue, treating
                                     loading FASL for #<CL-SOURCE-FILE "glop" "src" "osx" "bridge">
                                     as having been successful.
  5:                                 Retry ASDF operation.
  6: [CLEAR-CONFIGURATION-AND-RETRY] Retry ASDF operation after resetting the
                                     configuration.
  7: [ABORT                        ] Give up on "glop"
  8:                                 Exit debugger, returning to top level.

(CFFI::FL-ERROR "Unable to load foreign library (~A).~%  ~A" BRIDGE "Error opening shared object \"/Users/Tavurth/quicklisp/dists/quicklisp/software/glop-20160531-git/src/osx/bridge/glop-bridge.dylib\":
  dlopen(/Users/Tavurth/quicklisp/dists/quicklisp/software/glop-20160531-git/src/osx/bridge/glop-bridge.dylib, 10): no suitable image found.  Did find:
	/Users/Tavurth/quicklisp/dists/quicklisp/software/glop-20160531-git/src/osx/bridge/glop-bridge.dylib: mach-o, but wrong architecture
	/Users/Tavurth/quicklisp/dists/quicklisp/software/glop-20160531-git/src/osx/bridge/glop-bridge.dylib: mach-o, but wrong architecture.")
   source: (ERROR 'LOAD-FOREIGN-LIBRARY-ERROR :FORMAT-CONTROL CONTROL
                  :FORMAT-ARGUMENTS ARGUMENTS)

@tavurth
Copy link

tavurth commented Oct 15, 2017

When running make:

appkit.m:44:12: error: redefinition of 'NSEventModifierFlags' as different kind of symbol

patzy added a commit that referenced this issue Oct 16, 2017
This is supposed to fix issue #21
@patzy
Copy link
Collaborator

patzy commented Oct 16, 2017

What about previous versions?
I made a change in the devel branch but since I don't have any osx to test it any feedback
from osx users would be appreciated.

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

3 participants