[Gambas-user] extern library

Wally wally at ...2037...
Sat Feb 11 04:56:15 CET 2012


On Friday, February 10, 2012 22:54:58 Benoît Minisini wrote:
> Le 05/02/2012 18:42, Wally a écrit :
> > talking about Gambas 3:
> > 
> > When i place my library to /usr/local/lib and run ldconfig it works and
> > my_gb3_project can find the lib and its functions.
> > When i put it into my_gb3_project folder the library can not be found.
> > Where to place the library  ganbas3 may find it ?
> 
> It should work. Can you send me a little project with your library
> inside so that I can check what happens exactly?


It works when libMylib.so is in the project folder and i do
Library "./libMylib" in top of the form.

Library "./libMylib:0" also works if in project folder is a symbolic link 
libMylib.so.0 --> libMylib.so

I can live with that but it would be nice if it would be mentioned in docs.
Maybe i just did not find it in the docs.

wally










More information about the User mailing list