(unless *crypt-library-loaded*
(uffi:load-foreign-library
(uffi:find-foreign-library "libcrypt"
- '(#+64bit "/usr/lib64/"
+ '(#+(or 64bit x86-64) "/usr/lib64/"
"/usr/lib/" "/usr/local/lib/" "/lib/"))
:supporting-libraries '("c"))
(setq *crypt-library-loaded* t)))
(let ((libpath (uffi:find-foreign-library
"libpq"
'("/opt/postgresql/lib/" "/usr/local/lib/"
- #+64bit "/usr/lib64/"
+ #+(or 64bit x86-64) "/usr/lib64/"
"/usr/lib/" "/postgresql/lib/"
"/usr/local/pgsql/lib/" "/usr/lib/pgsql/"
"/opt/pgsql/lib/pgsql" "/sw/lib/pgsql/")