Log in

How to specify foreign libraries - Liam Healy

Nov. 29th, 2011

10:00 pm - How to specify foreign libraries

Previous Entry Share Next Entry

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.)



[User Picture]
Date:November 30th, 2011 01:22 pm (UTC)
Thanks, I didn't even know about his blog. Added.
(Reply) (Thread)
Date:November 30th, 2011 03:39 pm (UTC)

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.
(Reply) (Parent) (Thread)
Date:November 30th, 2011 05:42 pm (UTC)

find a soname

using a command like
# objdump -p /usr/lib64/libstdc++.so.6.0.8 | grep SONAME
SONAME libstdc++.so.6
(Reply) (Thread)