Liam Healy ([info]lhealy) wrote,

How to specify foreign libraries

Does this look right to you?
(define-foreign-library frobnicator
  (cffi-features:unix "/usr/lib/libfrobnicate.so"))

If it does, you should read Anton Kovalenko's blog, whether or not you use CFFI. (Reblogging this because the original was evidently not picked up by Planet Lisp.)
Tags: lisp

  • Post a new comment

    Error

    Your IP address will be recorded 

  • 3 comments

[info]xach

November 30 2011, 13:22:40 UTC 5 months ago

Thanks, I didn't even know about his blog. Added.

[info]lhealy

November 30 2011, 15:39:55 UTC 5 months ago

Anton Kovalenko blog

Xach, thanks. He just started that blog when I asked him to write up that topic. His previous blog was not in English. I hope he continues.

Anonymous

November 30 2011, 17:42:29 UTC 5 months ago

find a soname

using a command like
# objdump -p /usr/lib64/libstdc++.so.6.0.8 | grep SONAME
SONAME libstdc++.so.6
Create an Account
Forgot your login or password?
Facebook Twitter More login options
English • Español • Deutsch • Русский…