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

craf prog at ...2177...
Tue Apr 6 02:40:21 CEST 2010


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



More information about the User mailing list