ksh error


 
Thread Tools Search this Thread
Operating Systems Linux Ubuntu ksh error
# 1  
Old 01-27-2010
ksh error

hi,

When I try to go to het ksh shell i get het errror below.
Deleting, reinstalling via apt-get does'nt work.
Manually deleting and then reinstalling also does'nt work.
Any seen this error before?

Code:
ksh
ksh: error while loading shared libraries: libdll.so: cannot open shared object file: No such file or directory


Code:
ldd /usr/bin/ksh
        libm.so.6 => /bin/../lib/ultra3/libm.so.6 (0xf7df8000)
        libdll.so => not found
        libdl.so.2 => /bin/../lib/ultra3/libdl.so.2 (0xf7de0000)
        libc.so.6 => /bin/../lib/ultra3/libc.so.6 (0xf7c54000)
        /lib/ld-linux.so.2 (0xf7f08000)


Code:
dpkg-query -l libdll.so
No packages found matching libdll.so.

# 2  
Old 01-27-2010
This seems to be kornshell 93, because libdll.so is a library from the ast-open project. But on my linux systems, ksh93 does not have a reference to libdll.so

Code:
$ ldd /opt/ast/bin/ksh
        libm.so.6 => /lib/libm.so.6 (0x4001d000)
        libdl.so.2 => /lib/libdl.so.2 (0x4003f000)
        libc.so.6 => /lib/libc.so.6 (0x40042000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Maybe this is a packaging error. You might want to use ksh93 directly from the AT&T download site at software download selections - it always worked for me.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Error with while loop ksh

while ];do first=${hat} echo "${first}" b=$((b+1)) a=$((a+5)) done I'm trying to append values from the indicated index of one array to other, but it gives me an error with while loop....suggesting that ....... In the hat array, it contains many values... (2 Replies)
Discussion started by: TestKing
2 Replies

2. Shell Programming and Scripting

KSH syntax error

Hi all, Anyone know why I get the error below under ksh? $ EXCLUDES=( $(< "$EXCLUDES_FILE") ) sh: syntax error: `(' unexpected I'm trying to use the above line in a script and it's not working. The guy that gave me the script was running in a linux environment, so I'm thinking this might... (1 Reply)
Discussion started by: mmw
1 Replies

3. Shell Programming and Scripting

if else fi error in ksh

while ;do check=`psu|grep -i ASP |grep -v grep|wc -l` if ] ; then ASP_SH 101 sleep 10 else echo "Process is running" fi done Getting error else ./testDaemons.sh: syntax error at line 13 : `else' unexpected can any one please help me out!!! (4 Replies)
Discussion started by: mitsyjohn
4 Replies

4. Shell Programming and Scripting

Receiving error: ./ang.ksh[35]: 0403-057 Syntax error at line 116 : `done' is not expected.

Hi All I am quite new to Unix. Following is a shell script that i have written and getting the subject mentioned error. #!/bin/ksh #------------------------------------------------------------------------- # File: ang_stdnld.ksh # # Desc: UNIX shell script to extract Store information.... (3 Replies)
Discussion started by: amitsinha
3 Replies

5. Shell Programming and Scripting

KSH - Selection Sort Error

I have 'translated' selection sort from java to KSH, here is my code #1. get the inputs and put into arr print "Enter the integers (separated by a space):" read integers set -A arr $integers #2. start sorting process, using selection sort min=0 tmp=0 i=0 while test $i -lt... (2 Replies)
Discussion started by: laduch
2 Replies

6. Shell Programming and Scripting

expr error in ksh

Hi ALL, i am so much confused y the following script is not working in the korn shel which works in bash shell. please solve the error that i am facing. i want to extract the format of the size from a variable i.e. GB or KB or MB or B or BYTES code: -------- size_dir_pass=1.2gb... (2 Replies)
Discussion started by: G.K.K
2 Replies

7. Shell Programming and Scripting

du command error in ksh

Hi, i am facing an error in the korn shell by executing the following script, can anyone help me out in solving the error.. Note: /root/kamal is a directory size_dir=$(du -s /root/kamal | cut -f1) echo $size_dir error: invalid $ at ( in size_dir Thanks &... (2 Replies)
Discussion started by: G.K.K
2 Replies

8. Shell Programming and Scripting

error in ksh script

Hi, i am facing an error in the following script in the korn shell but in bash it is working , can any help me to convert the below script to korn shell script without errors. echo 123.4566 | bc -l | awk -F '.' '{ print $1; exit; }' Thanks in advance kamal (5 Replies)
Discussion started by: G.K.K
5 Replies

9. UNIX for Dummies Questions & Answers

Ksh error

I am running the below script to call an already existing concurrent program using the CONCSUB utility. #!/bin/ksh echo "==================================================" echo "Beginning program " `date "+%m/%d/%y %H:%M:%S"` "\n" echo "=================================================" #... (1 Reply)
Discussion started by: Begins
1 Replies

10. UNIX for Dummies Questions & Answers

ksh with bc command error

Hi, I don't understand why the below code gave me error message: worked: not found I am using ksh program. worked =`/usr/ucb/echo "scale=2; ($logend-$logstart)/3600" | bc` Thank you very much for your help! (1 Reply)
Discussion started by: cin2000
1 Replies
Login or Register to Ask a Question