【发布时间】:2021-02-16 15:12:47
【问题描述】:
我使用自解压存档安装了最新的 ScipOptSuite (7.0.2)(是的,在安装了所需的包 gcc g++ gfortran liblapack3 libtbb2 libcliquer1 libopenblas-dev libgsl23 按照 SCIP 下载站点的要求)并且如果我导航到新创建的目录(即/home/stefan/SCIPOptSuite-7.0.2),我可以通过./bin/SCIP启动SCIP:
SCIP version 7.0.2 [precision: 8 byte] [memory: block] [mode: optimized] [LP solver: SoPlex 5.0.2] [GitHash: e9d280a398]
Copyright (C) 2002-2020 Konrad-Zuse-Zentrum fuer Informationstechnik Berlin (ZIB)
External codes:
SoPlex 5.0.2 Linear Programming Solver developed at Zuse Institute Berlin (soplex.zib.de) [GitHash: e24c304e]
CppAD 20180000.0 Algorithmic Differentiation of C++ algorithms developed by B. Bell (www.coin-or.org/CppAD)
ZLIB 1.2.11 General purpose compression library by J. Gailly and M. Adler (zlib.net)
GMP 6.2.1 GNU Multiple Precision Arithmetic Library developed by T. Granlund (gmplib.org)
ZIMPL 3.4.0 Zuse Institute Mathematical Programming Language developed by T. Koch (zimpl.zib.de)
PaPILO 1.0.2 parallel presolve for integer and linear optimization (https://github.com/lgottwald/PaPILO) [GitHash: 62d2842]
bliss 0.73p Computing Graph Automorphism Groups by T. Junttila and P. Kaski (http://www.tcs.hut.fi/Software/bliss/)
Ipopt 3.13.2 Interior Point Optimizer developed by A. Waechter et.al. (www.coin-or.org/Ipopt)
user parameter file <scip.set> not found - using default parameters
SCIP> quit
但是,当我尝试通过 ./bin/GCG 启动 GCG 时,我收到以下错误:
./bin/gcg: error while loading shared libraries: libscip.so.7.0: cannot open shared object file: No such file or directory
如果我导航到 lib 目录以检查其内容,这就是我得到的:
Stefan@stefan-VirtualBox:~/SCIPOptSuite-7.0.2-Linux/lib$ ls
cmake libclusol.a libgcg.so libgcg.so.3.0 libgcg.so.3.0.4.0 libscip.so libscip.so.7.0 libscip.so.7.0.2.0 libsoplex.a libsoplex-pic.a libzimpl.a libzimpl-pic.a
stefan@stefan-VirtualBox:~/SCIPOptSuite-7.0.2-Linux/lib$ ls -la
insgesamt 20332
drwxr-xr-x 3 stefan stefan 4096 Dez 19 01:01 .
drwxrwxr-x 5 stefan stefan 4096 Feb 16 14:43 ..
drwxr-xr-x 7 stefan stefan 4096 Dez 19 01:01 cmake
-rw-r--r-- 1 stefan stefan 197786 Dez 19 00:55 libclusol.a
lrwxrwxrwx 1 stefan stefan 13 Dez 19 01:01 libgcg.so -> libgcg.so.3.0
lrwxrwxrwx 1 stefan stefan 17 Dez 19 01:01 libgcg.so.3.0 -> libgcg.so.3.0.4.0
-rw-r--r-- 1 stefan stefan 2279000 Dez 19 01:00 libgcg.so.3.0.4.0
lrwxrwxrwx 1 stefan stefan 14 Dez 19 01:01 libscip.so -> libscip.so.7.0
lrwxrwxrwx 1 stefan stefan 18 Dez 19 01:01 libscip.so.7.0 -> libscip.so.7.0.2.0
-rw-r--r-- 1 stefan stefan 14708920 Dez 19 00:59 libscip.so.7.0.2.0
-rw-r--r-- 1 stefan stefan 1115142 Dez 19 00:56 libsoplex.a
-rw-r--r-- 1 stefan stefan 1126422 Dez 19 00:55 libsoplex-pic.a
-rw-r--r-- 1 stefan stefan 681454 Dez 19 00:55 libzimpl.a
-rw-r--r-- 1 stefan stefan 679454 Dez 19 00:55 libzimpl-pic.a
我认为应该可以通过自解压存档从安装中启动 GCG,但我无法让它工作。在我看来,确实存在对文件libscip.so.7.0.2.0 的引用,但它似乎不起作用。我的错误在哪里?感谢您的帮助!
【问题讨论】: