chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] Issue when linking statically


From: Jörg F . Wittenberger
Subject: [Chicken-users] Issue when linking statically
Date: 28 Jan 2019 14:07:43 +0100

Hi all,

trying link a CHICKEN 5 program against the openssl egg fails badly for me.

In the egg file I have openssl among the dependencies and
(component-options
 (csc-options -static -v )
 (link-options
  -L "-pthread -l:libssl.a -l:libcrypto.a"
  ))

This links successfully, but when the resulting executable is started with -:d I see:

; loading /home/u/chickens/5.0.0/lib/chicken/9/openssl.import.so ...
[debug] entering openssl...

which looks as if I have to ship the file - which would be bad.

In fact I have another module, which I wrote, which too does not like to be linked statically. So in fact I wonder what could have gone wrong.

Thanks so much

/Jörg





reply via email to

[Prev in Thread] Current Thread [Next in Thread]