Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run on Ubuntu 16.04.2 LTS #19

Open
nkorlin opened this issue Mar 4, 2017 · 1 comment
Open

Cannot run on Ubuntu 16.04.2 LTS #19

nkorlin opened this issue Mar 4, 2017 · 1 comment

Comments

@nkorlin
Copy link

nkorlin commented Mar 4, 2017

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.

@violet-zct
Copy link

You can put export LD_LIBRARY_PATH="/usr/local/lib/" in ~/.bashrc and then source.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants