|
大家好
为了给开发板安装gtk3.0的动态库,需要在host上先交叉编译gtk3.0及其所依赖的软件包,其中有一个gobjection-introspection 在交叉编译时出现下面错误,现在我排查出 **/.libs/目录中已生成了_giscanner.so动态库,但是_giscanner.la并没有成功安装,该文件内如下,所以请问大家有没有解决问题的方法或思路,现在卡在这块了。。非常感谢。。。。
# _giscanner.la - a libtool library file
# Generated by libtool (GNU libtool) 2.4
#
# Please DO NOT delete this file!
# It is necessary for linking the library.
# The name that we can dlopen(3).
dlname='_giscanner.so'
# Names of this library.
library_names='_giscanner.so _giscanner.so _giscanner.so'
# The name of the static archive.
old_library='_giscanner.a'
# Linker flags that can not go in dependency_libs.
inherited_linker_flags=' -pthread'
# Libraries that this one depends upon.
dependency_libs=' -L/usr/local/lib /usr/local/lib/libgobject-2.0.la /usr/local/lib/libffi.la /usr/local/lib/libgthread-2.0.la -lpthread /usr/local/lib/libglib-2.0.la -lrt -ldl'
# Names of additional weak libraries provided by this library
weak_library_names=''
# Version information for _giscanner.
current=0
age=0
revision=0
# Is this an already installed library?
installed=no
# Should we warn about portability when linking against -modules?
shouldnotlink=yes
# Files to dlopen/dlpreopen
dlopen=''
dlpreopen=''
# Directory that this library needs to be installed in:
libdir='/usr/local/lib/gobject-introspection/giscanner'
make gobjection-instrospection出现的error:
root@tft-Lenovo:/usr/local/src/gobject-introspection-1.31.0# make
make all-recursive
make[1]: Entering directory `/usr/local/src/gobject-introspection-1.31.0'
Making all in .
make[2]: Entering directory `/usr/local/src/gobject-introspection-1.31.0'
GISCAN GLib-2.0.gir
Traceback (most recent call last):
File "./g-ir-scanner", line 44, in <module>
from giscanner.scannermain import scanner_main
File "./giscanner/scannermain.py", line 34, in <module>
from giscanner.dumper import compile_introspection_binary
File "./giscanner/dumper.py", line 28, in <module>
from .gdumpparser import IntrospectionBinary
File "./giscanner/gdumpparser.py", line 31, in <module>
from .transformer import TransformerException
File "./giscanner/transformer.py", line 27, in <module>
from .girparser import GIRParser
File "./giscanner/girparser.py", line 26, in <module>
from .girwriter import COMPATIBLE_GIR_VERSION
File "./giscanner/girwriter.py", line 25, in <module>
from .xmlwriter import XMLWriter
File "./giscanner/xmlwriter.py", line 74, in <module>
from _giscanner import collect_attributes
File "./giscanner/libtoolimporter.py", line 66, in load_module
mod = imp.load_module(name, open(realpath), realpath, (extension, 'rb', 3))
ImportError: ./.libs/_giscanner.so: cannot open shared object file: No such file or directory
make[2]: *** [GLib-2.0.gir] Error 1
make[2]: Leaving directory `/usr/local/src/gobject-introspection-1.31.0'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/gobject-introspection-1.31.0' |
|