Re: Undefined foreign symbol: "crypt"
Russ Tyndall <
russ@...>
2011-08-30 14:40:37 GMT
I have not seen this, and have been able to run the postgres socket
backend.
Apparently this calls out to libcrypt in one of these locations:
'(#+(or 64bit x86-64) "/usr/lib64/" "/usr/lib/" "/usr/local/lib/"
"/lib/")
I don't see anything related to crypt changing in 2010-2011, so
perhaps something has changed on your local box? What was the last
version of clsql that worked correctly for you in this regard?
One difference between our setups might be that I am using
clsql-cffi instead of clsql using uffi. I have not worked much on
uffi , but perhaps a recent change there caused something to break
in the crypt call? The last relevent uffi change seems to be on
2010-04-20T12:31:37 at the earliest.
For reference this is the result of calling crypt for me:
POSTGRESQL-SOCKET> (crypt-password "foobar" "1234")
"12Ce3aDvyIkJ2"
I hope something here has given you an idea,
Russ Tyndall
Acceleration.net
<Wout: Sorry for the accidental off of list response>
On 8/29/2011 3:32 PM, Wout Perquin wrote:
Hi all,
I code :
(if (not (clsql:connected-databases))
(clsql:connect '("localhost" "menu-system" "postgres" nil)
:database-type :postgresql))
; something that used to be working, but now I get :
; Loading #P"/var/clfree/clsql-6.0.0/clsql-postgresql-socket.asd".
; Loading
#P"/var/clfree/clsql-6.0.0/db-postgresql-socket/postgresql-socket-package.x86f".
; Loading
#P"/var/clfree/clsql-6.0.0/db-postgresql-socket/postgresql-socket-api.x86f".
Undefined foreign symbol: "crypt"
[Condition of type KERNEL:SIMPLE-PROGRAM-ERROR]
Restarts:
0: [CONTINUE] Return NIL from load of
#P"/var/clfree/clsql-6.0.0/db-postgresql-socket/postgresql-socket-api.x86f".
1: [RETRY ] Retry performing #<ASDF:LOAD-OP (:VERBOSE NIL)
{590E1B4D}> on
#<ASDF:CL-SOURCE-FILE "postgresql-socket-api"
{5876E14D}>.
2: [ACCEPT ] Continue, treating #<ASDF:LOAD-OP (:VERBOSE
NIL) {590E1B4D}> on
#<ASDF:CL-SOURCE-FILE "postgresql-socket-api"
{5876E14D}> as
having been successful.
3: [ABORT ] Return to Top-Level.
Debug (type H for help)
(KERNEL:UNDEFINED-FOREIGN-SYMBOL-ERROR-HANDLER "<error finding
name>"
#.(SYSTEM:INT-SAP
#x3FFFC670)
#<Alien (*
SYSTEM:SYSTEM-AREA-POINTER) at #x3FFFC37C>
(16))
Source: Error finding source:
Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM: Source file no
longer exists:
target:code/interr.lisp.
Any suggestions about what might go wrong ?
Thanks in advance, Wout Perquin
_______________________________________________
CLSQL mailing list
CLSQL-0lovp2JerKU@public.gmane.org
http://lists.b9.com/cgi-bin/mailman/listinfo/clsql
_______________________________________________
CLSQL mailing list
CLSQL@...
http://lists.b9.com/cgi-bin/mailman/listinfo/clsql