problem on installing
When I tried to install ELDK on my computer, the following things happened:
[root at RD8linux u-boot]# /opt/ppc-2004-02-16/install -d /opt/eldk ppc_82xx
Do you really want to install into /opt/eldk directory[y/n]?: y
Creating directories/opt/eldk/bin/rpm: error while loading shared libraries: libbz2.so.1: cannot open shared object file: No such file or directory
What's the problem?
Quoted 10 lines · zhonglei
When I tried to install ELDK on my computer, the following things happened:
[root at RD8linux u-boot]#/opt/ppc-2004-02-16/install-d/opt/eldkppc_82xxDo you really want to install into
/opt/eldkdirectory[y/n]?: yCreating directories
/opt/eldk/bin/rpm: error while loading shared libraries: libbz2.so.1: cannot open shared object file: No such file or directoryWhat's the problem?
You don't have a /usr/lib/libbz2.so.1 (bzip2 shared library). Check for /usr/lib/libbz2* and see if you have any bzip2 shared libraries available. Most likely not. Find and install the appropriate package.
Sometimes you will find a newer shared library, occasionally an older shared library, and very occasionally a missing symlink. If this is the case and you like to live dangerously, you can symlink what you have to libbz2.so.1, but don't tell anyone that I told you that ;-)
$ ls -l /usr/lib/libbz2.so.1* lrwxrwxrwx 1 root root 15 Jan 16 2003 /usr/lib/libbz2.so.1 -> libbz2.so.1.0.2 -rwxr-xr-x 1 root root 68659 Jun 23 2002 /usr/lib/libbz2.so.1.0.2
gvb
Quoted 5 lines · In message <[email protected]> you wrote:
Creating directories
/opt/eldk/bin/rpm: error while loading shared libraries: libbz2.so.1: cannot open shared object file: No such file or directoryWhat's the problem?
there are most probably two problems: you are using an old version of the ELDK, and an old Linux distribution. Specifically, your Linux distribution is missing the libbz2 shared library (/usr/lib/libbz2.so*).
Best regards,
Wolfgang Denk
Signature · 5 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Change is the essential process of all existence. -- Spock, "Let That Be Your Last Battlefield", stardate 5730.2