[Gambas-user] Problems with Library libffi.so.5 using GB_DIR

craf prog at ...2177...
Tue Apr 6 18:16:23 CEST 2010


-----Mensaje original-----
De: craf <prog at ...2177...>
Reply-to: mailing list for gambas users
<gambas-user at lists.sourceforge.net>
Para: Lista Gambas Ingles <gambas-user at lists.sourceforge.net>
Asunto: [Gambas-user] Problems with Library libffi.so.5 using GB_DIR
Fecha: Mon, 05 Apr 2010 20:40:21 -0400


>Hi.

>I'm still trying to port an application made in Gambas 2.20.2 in a
>distribution Ubuntu 9.10 to a distribution  Ubuntu 8.04, using the
>variable GB_DIR.

>My file executable.sh is as follows:

>#!/bin/sh
>export PATH=/opt/project/gambas2/bin
>export GB_DIR=/opt/project/gambas2/lib
>export
>LD_LIBRARY_PATH=/opt/project/gambas2/lib_shared/lib:/opt/project/gambas2/lib_shared/usr/lib
>exec /opt/project/project.gambas

>When I try to execute it, gives me:

>"Segmentation fault"

>When you run the following command:

>ldd gbr2

>I stated:

>libffi.so.5 => not found

>This link is really there and points to the library libffi.so.5.0.8

>I searched the Internet for a possible solution, but all say that this
>error is because it is the libffi library, but in this case if.
>Could it be a problem in the library that comes with Ubuntu 9.10
>distribution?.

>Regards

Hi.


Gradually I have been understanding the operation of the variable
GB_DIR. As commented in the previous post, GBR2 not find the shared
library libffi.so.
Since I have little knowledge about C, I can not find you may be
failing.
As libffi.so.5.0.8 shared library is generated at compile Gambas, is
there any option to be added to the configure command?.
Do all the tips Doriano kindly told me, but nothing has worked.

Any light on this matter is appreciated.

Regards

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Gambas-user mailing list
Gambas-user at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user






More information about the User mailing list