Re: Fwd: Using CLSQL and Postgresql on Mac OS X
Kevin Rosenberg <kevin-HJRc7zDS/[email protected]>
| Newsgroups | gmane.lisp.clsql.general,gmane.lisp.clsql.devel |
|---|---|
| Message-ID | <[email protected]> |
Bill Clementson wrote: > Any Mac OS X users out there who can help me with this? Doesn't seem like it thus far. But, as a non Max user, I'll try. The last time I tested CLSQL with OS X was last summer when CLSQL 3.0 was released. At that time, I had to fiddle with fink and generating the proper shared libraries. Since that time, there's been a few messages and one patch to CLSQL about the generation of shared libraries on OS X. As you've likely seen, Edi Weitz contributed a patch that removes the directory component of shared library names. That takes advantage of a rather underdocumented feature of most lisp implementions to search for a shared library in some set of implementation/OS-dependent directories. Assuming that you have the proper shared library 'somewhere' on your system and you know the pathname location, you can use the latest CLSQL to search for those locations by adding them to a site-wide configuration file /etc/clsql-init.lisp. Here's mine for Debian: kevin@tiger:~> cat /etc/clsql-init.lisp (clsql:push-library-path #p"/usr/lib/") (clsql:push-library-path #p"/usr/lib/clsql/") I hope that helps, Bill. Kevin