{"action":"created","issue":{"url":"https://api.github.com/repos/Entware-ng/Entware-ng/issues/226","repository_url":"https://api.github.com/repos/Entware-ng/Entware-ng","labels_url":"https://api.github.com/repos/Entware-ng/Entware-ng/issues/226/labels{/name}","comments_url":"https://api.github.com/repos/Entware-ng/Entware-ng/issues/226/comments","events_url":"https://api.github.com/repos/Entware-ng/Entware-ng/issues/226/events","html_url":"https://github.com/Entware-ng/Entware-ng/issues/226","id":143844904,"number":226,"title":"lvm2 not working","user":{"login":"PabloCamp0s","id":12640509,"avatar_url":"https://avatars.githubusercontent.com/u/12640509?v=3","gravatar_id":"","url":"https://api.github.com/users/PabloCamp0s","html_url":"https://github.com/PabloCamp0s","followers_url":"https://api.github.com/users/PabloCamp0s/followers","following_url":"https://api.github.com/users/PabloCamp0s/following{/other_user}","gists_url":"https://api.github.com/users/PabloCamp0s/gists{/gist_id}","starred_url":"https://api.github.com/users/PabloCamp0s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PabloCamp0s/subscriptions","organizations_url":"https://api.github.com/users/PabloCamp0s/orgs","repos_url":"https://api.github.com/users/PabloCamp0s/repos","events_url":"https://api.github.com/users/PabloCamp0s/events{/privacy}","received_events_url":"https://api.github.com/users/PabloCamp0s/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-27T20:14:39Z","updated_at":"2016-03-27T21:28:10Z","closed_at":null,"body":"I've tried to install lvm2 on my R7000 armv7.\r\n\r\n```\r\nroot@R7000:/tmp/home/root# opkg install lvm2\r\nInstalling lvm2 (2.02.145-2) to root...\r\nDownloading http://pkg.entware.net/binaries/armv7/lvm2_2.02.145-2_armv7soft.ipk.\r\nInstalling libdevmapper (2.02.145-2) to root...\r\nDownloading http://pkg.entware.net/binaries/armv7/libdevmapper_2.02.145-2_armv7soft.ipk.\r\nInstalling libblkid (2.25.2-4) to root...\r\nDownloading http://pkg.entware.net/binaries/armv7/libblkid_2.25.2-4_armv7soft.ipk.\r\nInstalling libreadline (6.3-1) to root...\r\nDownloading http://pkg.entware.net/binaries/armv7/libreadline_6.3-1_armv7soft.ipk.\r\nConfiguring libdevmapper.\r\nConfiguring libblkid.\r\nConfiguring libreadline.\r\nConfiguring lvm2.\r\nroot@R7000:/tmp/home/root#\r\n```\r\n\r\nAfter a succesful download and install, I run lvm and get this:\r\n\r\n`-sh: lvm: not found`\r\n\r\n```\r\nroot@R7000:/tmp/home/root# ls /opt/sbin/lvm -l\r\n-rwxr-xr-x    1 root     root       1357468 Mar 22 20:48 /opt/sbin/lvm\r\n\r\n```\r\nSo it's there, indeed. Running /opt/sbin/lvm with full path still gets the same.\r\n\r\nldconfig show this:\r\n\r\n```\r\nroot@R7000:/tmp/home/root# ldconfig -p | grep -E '(readline|blkid|devmapper|dl)'\r\n        libreadline.so.6 (libc6,soft-float) => /opt/lib/libreadline.so.6\r\n        libreadline.so (libc6,soft-float) => /opt/lib/libreadline.so\r\n        libdl.so.2 (libc6,soft-float, OS ABI: Linux 2.6.32) => /opt/lib/libdl.so.2\r\n        libdl.so.0 (libc6) => /lib/libdl.so.0\r\n        libdevmapper.so.1.02 (libc6,soft-float) => /opt/lib/libdevmapper.so.1.02\r\n        libblkid.so.1 (libc6,soft-float) => /opt/lib/libblkid.so.1\r\n        libblkid.so (libc6,soft-float) => /opt/lib/libblkid.so\r\n```\r\n\r\nI've also tried on my RT-N16 mipsel:\r\n\r\n```\r\nroot@RT-N16:/tmp/home/root# lvm\r\nlvm: can't load library 'libdl.so.1'\r\nroot@RT-N16:/tmp/home/root# ldconfig\r\nldconfig: /opt/lib/libstdc++.so.6.0.21-gdb.py is not a shared library, skipping\r\nldconfig: /opt/lib/libmagic.so.1 is not a symlink\r\nroot@RT-N16:/tmp/home/root# ldconfig -p\r\n51 libs found in cache `/opt/etc/ld.so.cache' (version 1.7.0)\r\n        libz.so.1 (ELF) => /opt/lib/libz.so.1\r\n        libz.so (ELF) => /opt/lib/libz.so\r\n        libuuid.so.1 (ELF) => /opt/lib/libuuid.so.1\r\n        libuuid.so (ELF) => /opt/lib/libuuid.so\r\n        libutil.so.1 (ELF) => /opt/lib/libutil.so.1\r\n        libutil.so (ELF) => /opt/lib/libutil.so\r\n        libuargp.so.1 (ELF) => /opt/lib/libuargp.so.1\r\n        libuargp.so (ELF) => /opt/lib/libuargp.so\r\n        libstdc++.so.6 (ELF) => /opt/lib/libstdc++.so.6\r\n        libssp.so.0 (ELF) => /opt/lib/libssp.so.0\r\n        libresolv.so.1 (ELF) => /opt/lib/libresolv.so.1\r\n        libresolv.so (ELF) => /opt/lib/libresolv.so\r\n        libreadline.so.6 (ELF) => /opt/lib/libreadline.so.6\r\n        libreadline.so (ELF) => /opt/lib/libreadline.so\r\n        libpthread.so.1 (libc5) => /opt/lib/libpthread.so.1\r\n        libpopt.so.0 (ELF) => /opt/lib/libpopt.so.0\r\n        libpanelw.so.6 (ELF) => /opt/lib/libpanelw.so.6\r\n        libpanelw.so (ELF) => /opt/lib/libpanelw.so\r\n        libpanel.so.6 (ELF) => /opt/lib/libpanel.so.6\r\n        libpanel.so (ELF) => /opt/lib/libpanel.so\r\n        libnsl.so.1 (ELF) => /opt/lib/libnsl.so.1\r\n        libnsl.so (ELF) => /opt/lib/libnsl.so\r\n        libncursesw.so.6 (ELF) => /opt/lib/libncursesw.so.6\r\n        libncursesw.so (ELF) => /opt/lib/libncursesw.so\r\n        libncurses.so.6 (ELF) => /opt/lib/libncurses.so.6\r\n        libncurses.so (ELF) => /opt/lib/libncurses.so\r\n        libmenuw.so.6 (ELF) => /opt/lib/libmenuw.so.6\r\n        libmenuw.so (ELF) => /opt/lib/libmenuw.so\r\n        libmenu.so.6 (ELF) => /opt/lib/libmenu.so.6\r\n        libmenu.so (ELF) => /opt/lib/libmenu.so\r\n        libmagic.so.1 (ELF) => /opt/lib/libmagic.so.1\r\n        libm.so.1 (ELF) => /opt/lib/libm.so.1\r\n        libm.so (ELF) => /opt/lib/libm.so\r\n        libhistory.so.6 (ELF) => /opt/lib/libhistory.so.6\r\n        libhistory.so (ELF) => /opt/lib/libhistory.so\r\n        libgcc_s.so.1 (ELF) => /opt/lib/libgcc_s.so.1\r\n        libformw.so.6 (ELF) => /opt/lib/libformw.so.6\r\n        libformw.so (ELF) => /opt/lib/libformw.so\r\n        libform.so.6 (ELF) => /opt/lib/libform.so.6\r\n        libform.so (ELF) => /opt/lib/libform.so\r\n        libdl.so.1 (libc5) => /opt/lib/libdl.so.1\r\n        libdl.so (libc5) => /opt/lib/libdl.so\r\n        libdevmapper.so.1.02 (ELF) => /opt/lib/libdevmapper.so.1.02\r\n        libcurses.so (ELF) => /opt/lib/libcurses.so\r\n        libcrypt.so.1 (ELF) => /opt/lib/libcrypt.so.1\r\n        libcrypt.so (ELF) => /opt/lib/libcrypt.so\r\n        libc.so.1 (ELF) => /opt/lib/libc.so.1\r\n        libblkid.so.1 (ELF) => /opt/lib/libblkid.so.1\r\n        libblkid.so (ELF) => /opt/lib/libblkid.so\r\n        ld-uClibc.so.1 (ELF) => /opt/lib/ld-uClibc.so.1\r\n        ld-uClibc.so.0 (ELF) => /opt/lib/ld-uClibc.so.0\r\nroot@RT-N16:/tmp/home/root# ldd `which lvm`\r\n        libdl.so.1 => not found\r\n        libblkid.so.1 => not found\r\n        libdevmapper.so.1.02 => not found\r\n        libreadline.so.6 => not found\r\n        libncurses.so.6 => not found\r\n        libuuid.so.1 => not found\r\n        libm.so.1 => not found\r\n        libc.so.1 => not found\r\n        ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x2aaa8000)\r\nroot@RT-N16:/tmp/home/root# LD_LIBRARY_PATH=/opt/lib/ lvm\r\n\r\nlvm: can't handle reloc type 0x2f\r\n\r\n```\r\nAny clues ? Some help is really appreciated.\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/Entware-ng/Entware-ng/issues/comments/202148086","html_url":"https://github.com/Entware-ng/Entware-ng/issues/226#issuecomment-202148086","issue_url":"https://api.github.com/repos/Entware-ng/Entware-ng/issues/226","id":202148086,"user":{"login":"zyxmon","id":6533749,"avatar_url":"https://avatars.githubusercontent.com/u/6533749?v=3","gravatar_id":"","url":"https://api.github.com/users/zyxmon","html_url":"https://github.com/zyxmon","followers_url":"https://api.github.com/users/zyxmon/followers","following_url":"https://api.github.com/users/zyxmon/following{/other_user}","gists_url":"https://api.github.com/users/zyxmon/gists{/gist_id}","starred_url":"https://api.github.com/users/zyxmon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zyxmon/subscriptions","organizations_url":"https://api.github.com/users/zyxmon/orgs","repos_url":"https://api.github.com/users/zyxmon/repos","events_url":"https://api.github.com/users/zyxmon/events{/privacy}","received_events_url":"https://api.github.com/users/zyxmon/received_events","type":"User","site_admin":false},"created_at":"2016-03-27T21:28:10Z","updated_at":"2016-03-27T21:28:10Z","body":"Thanks for reporting. The last two versions are linked incorrectly.\r\nYou can try 2.02.138 from archive subfolder or just wait when this bug is fixed."}}