You are viewing lhealy

Liam Healy - How to specify foreign libraries

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

Tags:

Comments:

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

Anton Kovalenko blog

(Link)
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)
From:(Anonymous)
Date:November 30th, 2011 05:42 pm (UTC)

find a soname

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