[Gambas-user] Gambas-user Digest, Vol 25, Issue 2
Wellington de Souza Pinto
wspinto at ...1405...
Mon Jun 2 21:09:34 CEST 2008
Hi Benoit Minisini!
I'm programing in gambas2.6 and when i create my module pop3 above:
' Gambas module file
EXTERN pop3_connect(zServer AS String, nPort AS Integer) AS Integer IN "libpop3"
EXTERN pop3_login(zUsername AS String, zPassword AS String) AS Integer IN
"libpop3"
EXTERN pop3_getmailcount() AS Integer IN "libpop3"
EXTERN pop3_getmailsize(nMessageNo AS Integer) AS Integer IN "libpop3"
EXTERN pop3_getmailsizelist() AS Integer IN "libpop3"
EXTERN pop3_getmail(nMessageNo AS Integer, nMessageSize AS Integer) AS Variant[]
IN "libpop3"
EXTERN pop3_deletemail(nMessageNo AS Integer) AS Integer IN "libpop3"
EXTERN pop3_disconnect() AS Integer IN "libpop3"
EXTERN pop3_set_timeout(nTimeout AS Long) AS Integer IN "libpop3"
PUBLIC FUNCTION pop3Connect(sServer AS String, OPTIONAL iPort AS Integer = 110)
AS Integer
RETURN pop3_connect(sServer, iPort)
END
Show this message:
Cannot find dinamyc library 'libpop3.so" ...
my /usr/local/lib directory:
> ls -lar *
drwxr-xr-x 3 root root 4096 2008-03-06 04:04 site_ruby
drwxrwsr-x 3 root staff 4096 2008-04-21 13:10 python2.5
drwxr-xr-x 2 root root 4096 2008-06-02 10:02 pkgconfig
-rwxr-xr-x 1 root root 19544 2008-06-02 15:19 libpop3.so.0.0.0
lrwxrwxrwx 1 root root 16 2008-06-02 15:30 libpop3.so.0 ->
libpop3.so.0.0.0
lrwxrwxrwx 1 root root 16 2008-06-02 15:30 libpop3.so -> libpop3.so.0.0.0
-rwxr-xr-x 1 root root 701 2008-06-02 15:33 libpop3.la
-rwxr-xr-x 1 root root 626499 2008-06-02 10:02 libml.so.1.0.0
lrwxrwxrwx 1 root root 14 2008-06-02 10:02 libml.so.1 -> libml.so.1.0.0
lrwxrwxrwx 1 root root 14 2008-06-02 10:02 libml.so -> libml.so.1.0.0
-rwxr-xr-x 1 root root 814 2008-06-02 10:02 libml.la
-rwxr-xr-x 1 root root 470285 2008-06-02 10:02 libhighgui.so.1.0.0
lrwxrwxrwx 1 root root 19 2008-06-02 10:02 libhighgui.so.1 ->
libhighgui.so.1.0.0
lrwxrwxrwx 1 root root 19 2008-06-02 10:02 libhighgui.so ->
libhighgui.so.1.0.0
-rwxr-xr-x 1 root root 1306 2008-06-02 10:02 libhighgui.la
-rwxr-xr-x 1 root root 2619544 2008-06-02 10:02 libcxcore.so.1.0.0
lrwxrwxrwx 1 root root 18 2008-06-02 10:02 libcxcore.so.1 ->
libcxcore.so.1.0.0
lrwxrwxrwx 1 root root 18 2008-06-02 10:02 libcxcore.so ->
libcxcore.so.1.0.0
-rwxr-xr-x 1 root root 810 2008-06-02 10:02 libcxcore.la
-rwxr-xr-x 1 root root 2025837 2008-06-02 10:02 libcv.so.1.0.0
lrwxrwxrwx 1 root root 14 2008-06-02 10:02 libcv.so.1 -> libcv.so.1.0.0
lrwxrwxrwx 1 root root 14 2008-06-02 10:02 libcv.so -> libcv.so.1.0.0
-rwxr-xr-x 1 root root 814 2008-06-02 10:02 libcv.la
-rw-r--r-- 1 root root 382676 2008-06-02 10:02 libcvhaartraining.a
-rwxr-xr-x 1 root root 1956055 2008-06-02 10:02 libcvaux.so.1.0.0
lrwxrwxrwx 1 root root 17 2008-06-02 10:02 libcvaux.so.1 ->
libcvaux.so.1.0.0
lrwxrwxrwx 1 root root 17 2008-06-02 10:02 libcvaux.so ->
libcvaux.so.1.0.0
-rwxr-xr-x 1 root root 856 2008-06-02 10:02 libcvaux.la
drwxr-xr-x 2 root root 12288 2008-06-02 15:29 gambas2
drwxr-xr-x 11 root root 4096 2008-06-02 11:42 ..
drwxr-xr-x 6 root root 4096 2008-06-02 15:33 .
Any ideia???
Reguards,
Souza, Wellington
___________________________________________________________________________________
Para fazer uma ligação DDD pra perto ou pra longe, faz um 21. A Embratel tem
tarifas muito baratas esperando por você. Aproveite!
More information about the User
mailing list