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

Error:error while loading shared libraries: libhyperdisk.so.0 #22

Closed
Liuyanglong opened this issue Mar 29, 2012 · 2 comments
Closed

Comments

@Liuyanglong
Copy link

I think I have already success installed the HyperDex.
When I run order "hyperdex-coordinator --control-port 6970 --host-port 1234" as tutorial wrote. It ok.

but When I run the order :"hyperdex-daemon --host 127.0.0.1 --port 1234 --bind-to 127.0.0.2 ", an error happened, it said

"
hyperdex-daemon: error while loading shared libraries: libhyperdisk.so.0: cannot open shared object file: No such file or directory

"

Need Help. Thank You.

@Liuyanglong
Copy link
Author

I reinstall HyperDex. But still has the same error. The install msg as followed:

make[1]: Entering directory /home/liuyanglong/hyperdex/hyperdex-0.2b8' test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib" /bin/bash ./libtool --mode=install /usr/bin/install -c libhyperspacehashing.la libhyperdisk.la libhyperclient.la '/usr/local/lib' libtool: install: /usr/bin/install -c .libs/libhyperspacehashing.so.0.0.0 /usr/local/lib/libhyperspacehashing.so.0.0.0 libtool: install: (cd /usr/local/lib && { ln -s -f libhyperspacehashing.so.0.0.0 libhyperspacehashing.so.0 || { rm -f libhyperspacehashing.so.0 && ln -s libhyperspacehashing.so.0.0.0 libhyperspacehashing.so.0; }; }) libtool: install: (cd /usr/local/lib && { ln -s -f libhyperspacehashing.so.0.0.0 libhyperspacehashing.so || { rm -f libhyperspacehashing.so && ln -s libhyperspacehashing.so.0.0.0 libhyperspacehashing.so; }; }) libtool: install: /usr/bin/install -c .libs/libhyperspacehashing.lai /usr/local/lib/libhyperspacehashing.la libtool: install: warning: relinkinglibhyperdisk.la'
libtool: install: (cd /home/liuyanglong/hyperdex/hyperdex-0.2b8; /bin/bash /home/liuyanglong/hyperdex/hyperdex-0.2b8/libtool --silent --tag CXX --mode=relink g++ -g -O2 -o libhyperdisk.la -rpath /usr/local/lib hyperdisk/libhyperdisk_la-disk.lo hyperdisk/libhyperdisk_la-reference.lo hyperdisk/libhyperdisk_la-shard.lo hyperdisk/libhyperdisk_la-shard_snapshot.lo hyperdisk/libhyperdisk_la-shard_vector.lo hyperdisk/libhyperdisk_la-snapshot.lo libhyperspacehashing.la -lpthread )
libtool: install: /usr/bin/install -c .libs/libhyperdisk.so.0.0.0T /usr/local/lib/libhyperdisk.so.0.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libhyperdisk.so.0.0.0 libhyperdisk.so.0 || { rm -f libhyperdisk.so.0 && ln -s libhyperdisk.so.0.0.0 libhyperdisk.so.0; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libhyperdisk.so.0.0.0 libhyperdisk.so || { rm -f libhyperdisk.so && ln -s libhyperdisk.so.0.0.0 libhyperdisk.so; }; })
libtool: install: /usr/bin/install -c .libs/libhyperdisk.lai /usr/local/lib/libhyperdisk.la
libtool: install: warning: relinking `libhyperclient.la'
libtool: install: (cd /home/liuyanglong/hyperdex/hyperdex-0.2b8; /bin/bash /home/liuyanglong/hyperdex/hyperdex-0.2b8/libtool --silent --tag CXX --mode=relink g++ -g -O2 -o libhyperclient.la -rpath /usr/local/lib hyperclient/libhyperclient_la-hyperclient.lo libhyperspacehashing.la libhyperdex.la -L/usr/local/lib -le )
libtool: install: /usr/bin/install -c .libs/libhyperclient.so.0.0.0T /usr/local/lib/libhyperclient.so.0.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libhyperclient.so.0.0.0 libhyperclient.so.0 || { rm -f libhyperclient.so.0 && ln -s libhyperclient.so.0.0.0 libhyperclient.so.0; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libhyperclient.so.0.0.0 libhyperclient.so || { rm -f libhyperclient.so && ln -s libhyperclient.so.0.0.0 libhyperclient.so; }; })
libtool: install: /usr/bin/install -c .libs/libhyperclient.lai /usr/local/lib/libhyperclient.la
libtool: install: /usr/bin/install -c .libs/libhyperspacehashing.a /usr/local/lib/libhyperspacehashing.a
libtool: install: chmod 644 /usr/local/lib/libhyperspacehashing.a
libtool: install: ranlib /usr/local/lib/libhyperspacehashing.a
libtool: install: /usr/bin/install -c .libs/libhyperdisk.a /usr/local/lib/libhyperdisk.a
libtool: install: chmod 644 /usr/local/lib/libhyperdisk.a
libtool: install: ranlib /usr/local/lib/libhyperdisk.a
libtool: install: /usr/bin/install -c .libs/libhyperclient.a /usr/local/lib/libhyperclient.a
libtool: install: chmod 644 /usr/local/lib/libhyperclient.a
libtool: install: ranlib /usr/local/lib/libhyperclient.a

libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin:/sbin" ldconfig -n /usr/local/lib

Libraries have been installed in:
/usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:

  • add LIBDIR to the `LD_LIBRARY_PATH' environment variable
    during execution
  • add LIBDIR to the `LD_RUN_PATH' environment variable
    during linking
  • use the `-Wl,-rpath -Wl,LIBDIR' linker flag
  • have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for

more information, such as the ld(1) and ld.so(8) manual pages.

test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
/bin/bash ./libtool --mode=install /usr/bin/install -c hyperdex-binary-test hyperdex-daemon hyperdex-replication-stress-test hyperdex-simple-consistency-stress-test '/usr/local/bin'
libtool: install: /usr/bin/install -c hyperdex-binary-test /usr/local/bin/hyperdex-binary-test
libtool: install: /usr/bin/install -c .libs/hyperdex-daemon /usr/local/bin/hyperdex-daemon
libtool: install: /usr/bin/install -c hyperdex-replication-stress-test /usr/local/bin/hyperdex-replication-stress-test
libtool: install: /usr/bin/install -c hyperdex-simple-consistency-stress-test /usr/local/bin/hyperdex-simple-consistency-stress-test
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
/usr/bin/install -c hyperdex-coordinator hyperdex-coordinator-control '/usr/local/bin'
test -z "/usr/local/lib/python2.7/dist-packages" || /bin/mkdir -p "/usr/local/lib/python2.7/dist-packages"
/bin/bash ./libtool --mode=install /usr/bin/install -c hyperclient/python/hyperclient.la '/usr/local/lib/python2.7/dist-packages'
libtool: install: warning: relinking `hyperclient/python/hyperclient.la'
libtool: install: (cd /home/liuyanglong/hyperdex/hyperdex-0.2b8; /bin/bash /home/liuyanglong/hyperdex/hyperdex-0.2b8/libtool --silent --tag CC --mode=relink gcc -g -O2 -module -avoid-version -export-symbols-regex inithyperclient -o hyperclient/python/hyperclient.la -rpath /usr/local/lib/python2.7/dist-packages hyperclient/python/hyperclient_python_hyperclient_la-hyperclient.lo libhyperspacehashing.la libhyperclient.la -L/usr/lib -lpython2.7 )
libtool: install: /usr/bin/install -c hyperclient/python/.libs/hyperclient.soT /usr/local/lib/python2.7/dist-packages/hyperclient.so
libtool: install: /usr/bin/install -c hyperclient/python/.libs/hyperclient.lai /usr/local/lib/python2.7/dist-packages/hyperclient.la
libtool: install: /usr/bin/install -c hyperclient/python/.libs/hyperclient.a /usr/local/lib/python2.7/dist-packages/hyperclient.a
libtool: install: chmod 644 /usr/local/lib/python2.7/dist-packages/hyperclient.a
libtool: install: ranlib /usr/local/lib/python2.7/dist-packages/hyperclient.a

libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin:/sbin" ldconfig -n /usr/local/lib/python2.7/dist-packages

Libraries have been installed in:
/usr/local/lib/python2.7/dist-packages

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:

  • add LIBDIR to the `LD_LIBRARY_PATH' environment variable
    during execution
  • add LIBDIR to the `LD_RUN_PATH' environment variable
    during linking
  • use the `-Wl,-rpath -Wl,LIBDIR' linker flag
  • have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for

more information, such as the ld(1) and ld.so(8) manual pages.

test -z "" || /bin/mkdir -p ""
test -z "/usr/local/include" || /bin/mkdir -p "/usr/local/include"
/usr/bin/install -c -m 644 hyperclient/hyperclient.h '/usr/local/include'
test -z "/usr/local/include/hyperdisk" || /bin/mkdir -p "/usr/local/include/hyperdisk"
/usr/bin/install -c -m 644 hyperdisk/hyperdisk/disk.h hyperdisk/hyperdisk/reference.h hyperdisk/hyperdisk/returncode.h hyperdisk/hyperdisk/snapshot.h '/usr/local/include/hyperdisk'
test -z "/usr/local/include/hyperspacehashing" || /bin/mkdir -p "/usr/local/include/hyperspacehashing"
/usr/bin/install -c -m 644 hyperspacehashing/hyperspacehashing/hashes.h hyperspacehashing/hyperspacehashing/mask.h hyperspacehashing/hyperspacehashing/prefix.h hyperspacehashing/hyperspacehashing/search.h '/usr/local/include/hyperspacehashing'
test -z "/usr/local/lib/python2.7/dist-packages" || /bin/mkdir -p "/usr/local/lib/python2.7/dist-packages"
/bin/mkdir -p '/usr/local/lib/python2.7/dist-packages/hypercoordinator'
/usr/bin/install -c -m 644 hypercoordinator/init.py hypercoordinator/client.py hypercoordinator/coordinator.py hypercoordinator/hdtypes.py hypercoordinator/parser.py '/usr/local/lib/python2.7/dist-packages/hypercoordinator'
Byte-compiling python modules...
hypercoordinator/init.pyhypercoordinator/client.pyhypercoordinator/coordinator.pyhypercoordinator/hdtypes.pyhypercoordinator/parser.py
Byte-compiling python modules (optimized versions) ...
hypercoordinator/init.pyhypercoordinator/client.pyhypercoordinator/coordinator.pyhypercoordinator/hdtypes.pyhypercoordinator/parser.py
Byte-compiling python modules...
hypercoordinator/init.pyhypercoordinator/client.pyhypercoordinator/coordinator.pyhypercoordinator/hdtypes.pyhypercoordinator/parser.py
Byte-compiling python modules (optimized versions) ...
hypercoordinator/init.pyhypercoordinator/client.pyhypercoordinator/coordinator.pyhypercoordinator/hdtypes.pyhypercoordinator/parser.py
test -z "" || /bin/mkdir -p ""
make[1]: Leaving directory `/home/liuyanglong/hyperdex/hyperdex-0.2b8'

@Liuyanglong
Copy link
Author

I can not success install the HyperDex in centos 5.x as http://hyperdex.org/download/ wrote..
So I change the OS , now I use Ubuntu.
It is all OK.

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

1 participant