ld не может найти библиотеки

Добрый день, Ubuntu 14.04.2 LTS 64 бита

Я - электроника студент инженерной специальности, и я провожу некоторое исследование с командой в области распознавания речи. Я пытаюсь установить программное обеспечение, названное bavieca: http://www.bavieca.org/

Для установки его, я должен был скомпилировать библиотеки CBLAS и CLAPACK, и затем, в архиве по имени Makefile.defines, я должен был указать на каталоги, которые содержат библиотеки.

После ввода делают в исходном каталоге, я получаю следующую ошибку:

make[1]: Entering directory `/home/reconhecimentode/bavieca-code/src/tools'
/usr/bin/ld: cannot find -llapack_LINUX
/usr/bin/ld: cannot find -lblas_LINUX3
/usr/bin/ld: cannot find -lcblas_LINUX
/usr/bin/ld: cannot find -lblas_LINUX
collect2: error: ld returned 1 exit status
make[1]: *** [aligner] Error 1
make[1]: Leaving directory `/home/reconhecimentode/bavieca-code/src/tools'
make: *** [all] Error 2

Это - мой Makefile.defines:

#----------------------------------------------------------------------------------------------#
#  Copyright (C) 2012 Daniel Bolaños - www.bltek.com - Boulder Language Technologies           #
#                                                                                        
      #
#  www.bavieca.org is the website of the Bavieca Speech Recognition Toolkit                    #
#                                                                                              #
#  Licensed under the Apache License, Version 2.0 (the "License");                             #
#  you may not use this file except in compliance with the License.                            #
#  You may obtain a copy of the License at                                                     #
#                                                                                              #
#          http://www.apache.org/licenses/LICENSE-2.0                                          #
#                                                                                              #
#  Unless required by applicable law or agreed to in writing, software                         #
#  distributed under the License is distributed on an "AS IS" BASIS,                           #
#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.                    #
#  See the License for the specific language governing permissions and                         #
#  limitations under the License.                                                              #
# ---------------------------------------------------------------------------------------------#

# ---------------------------------------
# Arch and Operating System settings
# ---------------------------------------

MAKE = make --quiet -w ARCH := $(shell uname -m | sed s/' '//g) OS  
:= $(shell uname -s)

# ---------------------------------------
# Linux compile options
# ---------------------------------------

XCC          = g++

# SIMD flags (vector based arithmetic operations)
#SIMD_FLAGS =
# SSE is enabled by default on gcc-4.0 and higher. If SSE is enabled, the C preprocessor symbol __SSE__ is defined SIMD_FLAGS = -msse3
# AVX is available on Sandy Bridge and later Intel and AMD architectures. If AVX is enabled the C preprocessor symbol __AVX__ is
defined
#SIMD_FLAGS = -march=corei7-avx


#CPPFLAGS     = -g -Wno-deprecated -Wall -O2 -finline-functions $(SIMD_FLAGS) CPPFLAGS     = -g -Wno-deprecated -O2 -finline-functions
$(SIMD_FLAGS)
# -fPIC generates Position Independent Code, which is needed to build shared libraries 
# so they can be dynamically relocated, however it may slowdown the code, for this reason
# it should be avoided for object files that build executables or static libraries CPPFLAGS_SHARED = $(CPPFLAGS) -fPIC AR        = ar rs

# ---------------------------------------
# CBLAS and LAPACK includes/libraries
# ---------------------------------------

BASE = /home/reconhecimentode

INCS_DIR_CBLAS = -I$(BASE)/CBLAS/include INCS_DIR_LAPACK =
-I$(BASE)/CLAPACK-3.2.1/INCLUDE LIBS_DIR_CBLAS = -L$(BASE)/CBLAS/lib -L$(BASE)/CLAPACK-3.2.1 LIBS_DIR_LAPACK = -L$(BASE)/CLAPACK-3.2.1 -L$(BASE)/CLAPACK-3.2.1/F2CLIBS LIB_CBLAS = -lcblas_LINUX -lblas_LINUX -lgfortran LIB_LAPACK = -llapack_LINUX -lblas_LINUX3 -lf2c 

# ----------------------------------------------------
# Java JNI (Java Native Interface) includes/libraries
# ----------------------------------------------------

JAVA_BASE = /usr/lib/jvm/java-7-openjdk-amd64/ INCS_DIR_JNI =
-I$(JAVA_BASE)/include -I$(JAVA_BASE)/include/linux

Я уже попытался сделать символьную ссылку (не уверенный, если я сделал ее правильно хотя), и выполнять его как корень. Кто-либо может помочь мне?

Спасибо.

1
задан 23 February 2015 в 20:06

0 ответов

Другие вопросы по тегам:

Похожие вопросы: