|
Lines 125-138
Link Here
|
| 125 |
;; Red Hat and Berkeley DB, search google. |
125 |
;; Red Hat and Berkeley DB, search google. |
| 126 |
#+linux |
126 |
#+linux |
| 127 |
(unless |
127 |
(unless |
| 128 |
(uffi:load-foreign-library "/lib/tls/libpthread.so.0" :module "pthread") |
128 |
(uffi:load-foreign-library "/lib/libpthread.so.0" :module "pthread") |
| 129 |
(error "Couldn't load libpthread!")) |
129 |
(error "Couldn't load libpthread!")) |
| 130 |
|
130 |
|
| 131 |
(unless |
131 |
(unless |
| 132 |
(uffi:load-foreign-library |
132 |
(uffi:load-foreign-library |
| 133 |
;; Sleepycat: this works on linux |
133 |
;; Sleepycat: this works on linux |
| 134 |
#+linux |
134 |
#+linux |
| 135 |
"/usr/local/BerkeleyDB.4.2/lib/libdb.so" |
135 |
"/usr/lib/libdb-4.2.so" |
| 136 |
;; this works on FreeBSD |
136 |
;; this works on FreeBSD |
| 137 |
#+(and (or bsd freebsd) (not darwin)) |
137 |
#+(and (or bsd freebsd) (not darwin)) |
| 138 |
"/usr/local/lib/db42/libdb.so" |
138 |
"/usr/local/lib/db42/libdb.so" |