-
Notifications
You must be signed in to change notification settings - Fork 26
Description
I ran configure, make, and make install, but when I try to run the program I get an error:
~/kytea-0.4.7$ kytea --help
kytea: error while loading shared libraries: libkytea.so.0: cannot open shared object file: No such file or directory
but the lib exists in what seems like it should be the right place:
~/kytea-0.4.7$ whereis libkytea.so.0
libkytea.so: /usr/local/lib/libkytea.so /usr/local/lib/libkytea.so.0
I don't know if this is related, but I had some trouble running "make install", where I was getting these errors:
Making all in bin
make[2]: Entering directory '/home/ubuntu/kytea-0.4.7/src/bin'
source='run-kytea.cpp' object='run-kytea.o' libtool=no
DEPDIR=.deps depmode=none /bin/bash ../../depcomp
g++ -DHAVE_CONFIG_H -I. -I../../src/include/kytea -I./../include -DPKGDATADIR='"/usr/local/share/kytea"' -g -Wall -O3 -c -o run-kytea.o run-kytea.cpp
/bin/bash ../../libtool --tag=CXX --mode=link g++ -g -Wall -O3 -o kytea run-kytea.o ../lib/libkytea.la
libtool: link: unsupported hardcode properties
libtool: link: See the libtool documentation for more information.
libtool: link: Fatal configuration error.
Makefile:384: recipe for target 'kytea' failed
make[2]: *** [kytea] Error 1
I eventually got around it by apt installing libtool-bin, but maybe it's using the wrong libtool now?
Help appreciated.