libucb.s0.1: open failed...


 
Thread Tools Search this Thread
Operating Systems Solaris libucb.s0.1: open failed...
# 8  
Old 01-26-2010
I tried to create the symbolic link for the libucb.so.1 at /usr/lib.
Code:
# ln -s /usr/ucblib/libucb.so.1 /usr/lib/libucb.so.1
#
# cd /usr/lib
# ls -l
...
...
...
libucb.so.1 -> /usr/ucblib/libucb.so.1

But after adding in LD_LYBRARY_PATH - /usr/ucblib. OpenWindows run not OK.
see above.
Thanks.
# 9  
Old 01-26-2010
You might have something else going on. If you left breadcrumbs, remove the links you created in /usr/lib and revert .login back to original. Concentrate on getting OpenWindows working then re-create the sym links.

Is the OpenWindows error the same as before?
# 10  
Old 01-26-2010
The answer is to not change the LD_LIBRARY_PATH for your whole environment (never a good idea anyway) so don't put the change in ~/.login or ~/.profile but to write a wrapper scipt for you particular application, e.g.:
Code:
cat appl123.sh
#!/bin/ksh
LD_LIBRARY_PATH=/usr/ucblib:/usr/lib:/usr/openwin/lib:/usr/dt/lib
export LD_LIBRARY_PATH
appl123

That way only the environment for the application is changed.

chmod appl123.sh to 755 and then run appl123.sh instead of running appl123 directly.

HTH
# 11  
Old 01-26-2010
ОK. I'm going to try that today.
I did that just the same Solaris 2.6 simply.
At 2.6 version that run without problem.
What is difference?

Thanks.

Last edited by wolfgang; 01-26-2010 at 08:51 PM..
# 12  
Old 01-28-2010
Quote:
Originally Posted by wolfgang
ОK. I'm going to try that today.
That's similar to what I suggested here two days ago but you apparently failed to copy/paste ... :
libucb.s0.1: open failed...
Quote:
I did that just the same Solaris 2.6 simply.
At 2.6 version that run without problem.
What is difference?
14 years.
# 13  
Old 01-28-2010
I tried following.

1. I have two missing librarys ( libucb.so.1 and libXpm.so.4.0), see above please.
2. By adding the path where is libucb.so.1, OpenWindows run not OK.
3. I did the copy of libucb.so.1 from old mashine (sol 2.6)to new mashine/usr/ucblib. Old mashine ran appl23 some time.
4. At /usr/lib I created the symbolic link to /usr/ucblib/libucb.so.1
5. I did the copy of libXpm.so.4.0 from old mashine (sol 2.6) to new mashine /usr/lib.
6. I did LD_LIBRARY_PATH=usr/openwin/lib:/usr/lib:
7. I checked OpenWindows starting - OK
8. appl23 was starting with other problems.

It's correctly?
# 14  
Old 01-29-2010
In short, no.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Linux open failed: No such file or directory error

Hi, The below commands works fine on serverB . /etc/profile; cd /export/home/user2/utils/plugin/ ./runme.shHowever, when i run the same commands from serverA it fails $ ssh -q user2@serverB ". /etc/profile; cd /export/home/user2/utils/plugin; ./runme.sh"Output Error: Please find the below... (8 Replies)
Discussion started by: mohtashims
8 Replies

2. UNIX for Beginners Questions & Answers

Rdesktop - ERROR: Failed to open keymap en-us

I just updated my rdesktop to 1.8.3 from source ( on Slackware 11 ) and had troubles with arrow keys/page up/page down not working. I see this on the console: ERROR: Failed to open keymap en-us The fix is a permission change. I initially looked at /usr/share/rdesktop/keymaps and everything... (1 Reply)
Discussion started by: agentrnge
1 Replies

3. Solaris

Sendmai l: libssl.so.0.9.7: open failed

Hey for some reason I think I deleted a critical file for sendmail. I was looking the log file on /var/log/cron for cron, and the file isn't there and I found out the reason why is because I'm missing libssl.so.0.9.7. Im running Solaris 11. I checked smtp and got the following: #svcs -xv... (3 Replies)
Discussion started by: picolin
3 Replies

4. Red Hat

rpmdb open failed

Hi, # yum --skip-broken -y update rpmdb: Thread/process 6657/3078387392 failed: Thread died in Berkeley DB library error: db3 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery error: cannot open Packages index using db3 - (-30974) error: cannot open... (3 Replies)
Discussion started by: sef alislam
3 Replies

5. UNIX for Dummies Questions & Answers

NDM: Source file open failed. Error= 2

Hi, I have try to ndm to one server to another server. but i am getting this error. what is this error? are files not in source folder? Source file open failed. Error= 2 Regards, Balamurgan (1 Reply)
Discussion started by: krbala1985
1 Replies

6. UNIX for Dummies Questions & Answers

Rdesktop failed to open keymap common#015

Hi everybody... I have installed qrdesktop(is a tool similar to rdesktop used to access remote desktop) on Ubuntu 8.10. when i am accessing the remote desktop some of the keyboard keys are not working on remote desktop like up arrow ,down arrow, left, right, delete etc. the output of tail... (5 Replies)
Discussion started by: lokeshsingla
5 Replies

7. Solaris

Solaris10..Open boot diagnostic failed

Hi all, when am rebooting the server (SF v890) we are facing "open boot diagnostic failed". Thanks in Adv. (5 Replies)
Discussion started by: arjunreddy3
5 Replies

8. Solaris

Error:: libm.so.2:open failed

Hi, I am working with solaris 9 and I want to install perforce on that,so I downloaded the p4v.bin file and try to install it by the command ./p4v after that it is giving the error--- ld.so.1: ./p4v.bin: fatal: libm.so.2: open failed: No such file or directory Killed I am not... (3 Replies)
Discussion started by: smartgupta
3 Replies

9. Solaris

libCstd.so.1: open failed

Morning all, I have a problem with a Sun workstation which is running Solaris 8. When I attempt to open an application, the executable fails with this message : "fatal: libcstd.so.1: open failed: No such file or directory" It was suggested to me that I need to add these patches to fix the... (4 Replies)
Discussion started by: AndyD
4 Replies

10. Shell Programming and Scripting

Failed to open output file Error

Hi guys, I Have written a script,In that it will call another file which contains the sql quaries. while wxecuting that I am getting the below exception 01/16|06:28:06:16800: Operating System Error|Failed to open output file Can anybody help me about this,,Its urgent (0 Replies)
Discussion started by: Anji
0 Replies
Login or Register to Ask a Question