Instead of changing the #! line, I'd symlink /bin/bash to /bin/sh
As for the /lib/libdl.so, check /etc/ld.so.conf, to make sure that
/lib is there. You _could_ copy /lib/libdl.so to /usr/lib ( then
you'll probably find other libs you're missing so I don't recommend it
). Alternatively again, you could export
LD_LIBRARY_PATH=/lib:$LD_LIBRARY_PATH
Rory
On Feb 7, 2008 10:36 AM, John Kinsella <John.Kinsella at ul.ie> wrote:
> Hi.
>> I'm running a fully (I think) up to date Ubuntu Gutsy Gibbon.
>> I have a licenced install cdrom for Maple 10 for Linux.
>> I copied cdrom to temp local dir
> (as the first line in the installer:
> #!/bin/sh
> had to be changed to
> #!/bin/bash
> )
>> Then installer ran but failed with errors (below)
> indicating libraries are missing/not installed?
> Eg libdl.so.2
>> But when I searched for libdl.so.2 (see below)
> it is present.
>> Can anyone advise?
>> Thanks
>> John
>>> ==========FIND FOR libdl.so.2=======8<===============
>>root at jkcray:/usr/local/M10Temp# find / -name libdl.so.2
> /lib/tls/i686/cmov/libdl.so.2
> /lib/libdl.so.2
>>> =================INSTALLATION==========8<=========
>>root at jkcray:/usr/local/M10Temp# ./installMaple -i console
> Preparing to install...
> Extracting the JRE from the installer archive...
> Unpacking the JRE...
> Extracting the installation resources from the installer archive...
> Configuring the installer for this system's environment...
> nawk: error while loading shared libraries: libdl.so.2: cannot open
> shared object file: No such file or directory
> dirname: error while loading shared libraries: libc.so.6: cannot open
> shared object file: No such file or directory
> /bin/ls: error while loading shared libraries: librt.so.1: cannot open
> shared object file: No such file or directory
> basename: error while loading shared libraries: libc.so.6: cannot open
> shared object file: No such file or directory
> dirname: error while loading shared libraries: libc.so.6: cannot open
> shared object file: No such file or directory
> basename: error while loading shared libraries: libc.so.6: cannot open
> shared object file: No such file or directory
>> Launching installer...
>> grep: error while loading shared libraries: libc.so.6: cannot open
> shared object file: No such file or directory
> /tmp/install.dir.22235/Linux/resource/jre/bin/java: error while loading
> shared libraries: libpthread.so.0: cannot open shared object file: No
> such file or directory
>> --
> John A. Kinsella Ph: +353-61-202148 (Direct)
> +353-61-333644 x 2148 (Switch)
> Mathematics Dept. e-mail: John.Kinsella at ul.ie> University of Limerick FAX: +353-61-334927
> IRELAND Web: http://jkcray.maths.ul.ie>> --
> Irish Linux Users' Group mailing list
> About this list : http://mail.linux.ie/mailman/listinfo/ilug> Who we are : http://www.linux.ie/> Where we are : http://www.linux.ie/map/>
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!