guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lost: guile 1.7.0 doesn't look to GUILE_LOAD_PATH ?


From: Marius Vollmer
Subject: Re: lost: guile 1.7.0 doesn't look to GUILE_LOAD_PATH ?
Date: 29 Aug 2001 20:22:10 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.102

David Pirotte <address@hidden> writes:

>           (load-extension "libpostgres.so" "init_postgres"))

If possible, please use

            (load-extension "libpostgres" "init_postgres"))

instead, i.e., leave out the extension.  This increases the chances
that your code runs unchanged on systems that name their shared
objects differently.
 
>       Should I leave it like this or come back to
> 
>       (dynamic-call "init_postgres" (dynamic-link "libpostgres.so"))

Use `load-extension'.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]