Lisp HUG Maillist Archive

deliver shared library with 10.14 Mojave

Using LW 7.0.0, I upgraded from 10.13 to 10.14 and it looks like that broke delivery of shared libraries. Anyone know if this is fixable or if it is fixed in the latest version of LW Mac?

Thanks,

John DeSoi, Ph.D.




Total allocated 49829376 (0x2F85600), total size 197738496 (0xBC94000) 

Quitting because of error:
   Failed to generate shared object, output:
; cc -m64  -dynamiclib -fno-common -mmacosx-version-min=10.5  -install_name libD5.dylib  "/Applications/LispWorks 7.0 (64-bit)/Library/lib/7-0-0-0/config/xstarter-amd64-darwin.o" "/private/var/tmp/lwtemp_Mac_664580W1XqIX.s" "-install_name" "@loader_path/libD5.dylib"  -lm -lc -lobjc -framework CoreServices -framework IOKit -o /private/var/tmp/lwtemp_Mac_664581PtqZ2g.dylib
; ld: library not found for -lgcc_s.10.5
; clang: error: linker command failed with exit code 1 (use -v to see invocation)


_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html

Re: deliver shared library with 10.14 Mojave

I solved this by downloading the 10.5 SDK from the link below and copying gcc_s.10.5 into the SDK folder for 10.14:

/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib

https://github.com/phracker/MacOSX-SDKs/releases

I'm sure there must be some magical way to force cc to use the 10.5 SDK installed at /Library/Developer/CommandLineTools/SDKs, but I could not get that to work. Seems like -mmacosx-version-min=10.5 should do that automatically.

John DeSoi, Ph.D.


> On Feb 13, 2019, at 11:16 AM, John DeSoi <desoi@pgedit.com> wrote:
> 
> Using LW 7.0.0, I upgraded from 10.13 to 10.14 and it looks like that broke delivery of shared libraries. Anyone know if this is fixable or if it is fixed in the latest version of LW Mac?
> 
> 
> Quitting because of error:
>   Failed to generate shared object, output:
> ; cc -m64  -dynamiclib -fno-common -mmacosx-version-min=10.5  -install_name libD5.dylib  "/Applications/LispWorks 7.0 (64-bit)/Library/lib/7-0-0-0/config/xstarter-amd64-darwin.o" "/private/var/tmp/lwtemp_Mac_664580W1XqIX.s" "-install_name" "@loader_path/libD5.dylib"  -lm -lc -lobjc -framework CoreServices -framework IOKit -o /private/var/tmp/lwtemp_Mac_664581PtqZ2g.dylib
> ; ld: library not found for -lgcc_s.10.5
> ; clang: error: linker command failed with exit code 1 (use -v to see invocation)


_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html

Updated at: 2020-12-10 08:29 UTC