Sponsored Content
Full Discussion: failure in lucreate
Operating Systems Solaris failure in lucreate Post 302318524 by pupp on Thursday 21st of May 2009 07:50:18 PM
Old 05-21-2009
looks like the binary can't find liblu.so.1. did you set your LD_LIBRARY_PATH or edit crle ?

usually crle will have /lib and /usr/lib set. you will need to add the path to liblu.so.1 in either LD_LIBRARY_PATH or crle. it could be in something like /usr/local/lib or maybe in /opt somewhere. search for it.

examples:

in bash, export the variable. the order will matter.
Code:
 
# export LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib:/usr/sfw/lib

you can also run `ldd` on the binary. for example, i've ran it against wireshark:
Code:
$ ldd /usr/local/bin/wireshark
        libwiretap.so.0 =>       /usr/local/lib/libwiretap.so.0
        libwireshark.so.0 =>     /usr/local/lib/libwireshark.so.0
        libcrypto.so.0.9.8 =>    /usr/local/ssl/lib/libcrypto.so.0.9.8
        libpcre.so.0 =>  /usr/local/lib/libpcre.so.0
        libpcap.so =>    /usr/local/lib/libpcap.so
        libgtk-x11-2.0.so.0 =>   /usr/lib/libgtk-x11-2.0.so.0
        libgdk-x11-2.0.so.0 =>   /usr/lib/libgdk-x11-2.0.so.0
        libatk-1.0.so.0 =>       /usr/lib/libatk-1.0.so.0
        libgdk_pixbuf-2.0.so.0 =>        /usr/lib/libgdk_pixbuf-2.0.so.0
        libmlib.so.2 =>  /usr/lib/libmlib.so.2
        libpangocairo-1.0.so.0 =>        /usr/local/lib/libpangocairo-1.0.so.0
        libpangoft2-1.0.so.0 =>  /usr/local/lib/libpangoft2-1.0.so.0
        libpango-1.0.so.0 =>     /usr/local/lib/libpango-1.0.so.0
        libcairo.so.2 =>         /usr/local/lib/libcairo.so.2
        libfontconfig.so.1 =>    /usr/lib/libfontconfig.so.1
        libfreetype.so.6 =>      /usr/sfw/lib/libfreetype.so.6
        libexpat.so.1 =>         /usr/sfw/lib/libexpat.so.1
        libresolv.so.2 =>        /usr/lib/libresolv.so.2
        libpng12.so.0 =>         /usr/lib/libpng12.so.0
        libXrender.so.1 =>       /usr/sfw/lib/libXrender.so.1
        libSM.so.6 =>    /usr/lib/libSM.so.6
        libICE.so.6 =>   /usr/lib/libICE.so.6
        libX11.so.4 =>   /usr/lib/libX11.so.4
        libm.so.2 =>     /usr/lib/libm.so.2
        libgobject-2.0.so.0 =>   /usr/lib/libgobject-2.0.so.0
        libgmodule-2.0.so.0 =>   /usr/lib/libgmodule-2.0.so.0
        libgthread-2.0.so.0 =>   /usr/lib/libgthread-2.0.so.0
        libpthread.so.1 =>       /usr/lib/libpthread.so.1
        libthread.so.1 =>        /usr/lib/libthread.so.1
        librt.so.1 =>    /usr/lib/librt.so.1
        libglib-2.0.so.0 =>      /usr/lib/libglib-2.0.so.0
        libadns.so =>    /usr/local/lib/libadns.so
        libiconv.so.2 =>         /usr/local/lib/libiconv.so.2
        libgnutls.so.13 =>       /usr/local/lib/libgnutls.so.13
        libgcrypt.so.11 =>       /usr/local/lib/libgcrypt.so.11
        libgpg-error.so.0 =>     /usr/local/lib/libgpg-error.so.0
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libz.so =>       /usr/lib/libz.so
        libc.so.1 =>     /usr/lib/libc.so.1
        libgcc_s.so.1 =>         /usr/local/lib/libgcc_s.so.1
        libdl.so.1 =>    /lib/libdl.so.1
        libpangoxft-1.0.so.0 =>  /usr/lib/libpangoxft-1.0.so.0
        libpango-1.0.so.0 =>     /usr/lib/libpango-1.0.so.0
        libpangox-1.0.so.0 =>    /usr/lib/libpangox-1.0.so.0
        libXft.so.2 =>   /usr/openwin/lib/libXft.so.2
        libXrandr.so.2 =>        /usr/X11/lib/libXrandr.so.2
        libXi.so.5 =>    /usr/openwin/lib/libXi.so.5
        libXext.so.0 =>  /usr/openwin/lib/libXext.so.0
        libgcc_s.so.1 (GCC_3.4) =>       (version not found)
        libaio.so.1 =>   /lib/libaio.so.1
        libmd.so.1 =>    /lib/libmd.so.1
        libmp.so.2 =>    /lib/libmp.so.2
        libscf.so.1 =>   /lib/libscf.so.1
        libpangoft2-1.0.so.0 =>  /usr/lib/libpangoft2-1.0.so.0
        libdoor.so.1 =>  /lib/libdoor.so.1
        libuutil.so.1 =>         /lib/libuutil.so.1
        libgen.so.1 =>   /lib/libgen.so.1
        /usr/lib/libmlib/libmlib_sse2.so.2

if you see libgcc_s.so.1, you will see it can't find it properly. again, crle or the variable will solve this issue.
 

10 More Discussions You Might Find Interesting

1. Programming

ld failure

Hi, I am using gmake to compile a c program with a makefile. The make file runs ld. I get the following error jsh1035c:/users/egate453/admegate/kapil/samples $ gmake -e -f GNUmakefile queue_c gmake -f ./GNUmakefile queue_c in_objdir=1 build_root=/users/egate453/admegate/kapil/samples... (2 Replies)
Discussion started by: handak9
2 Replies

2. Linux

Boot failure

Hi all I used a dual boot operating system and it works fine for me. Now , i install a Ati radeon 9250 Agp card on my system and this results in boot failure of fedora 6. The graphics card is working fine with windows XP , i.e i have no compatibility issues.The system also refuses to boot when i... (2 Replies)
Discussion started by: joshighanshyam
2 Replies

3. UNIX for Advanced & Expert Users

su failure

Usually when su rejects an attempt to switch user it responds with "Sorry" but with a certain username on some unix servers the response is "Killed". I'm guessing the su accepted the username/password but refused to spawn child shell with the specified username. What's causing this and what has to... (8 Replies)
Discussion started by: twk
8 Replies

4. Solaris

lucreate error

Hello, On solaris 10, trying to run lucreate as below, lucreate -c Solaris10 -n Solaris10_lu -m /:/dev/dsk/c0t2d0s0:ufs -m -:/dev/dsk/c0t2d0s1:swap -m /export/home:/dev/dsk/c0t2dufs7 but it's resulting in an error as below, Discovering physical storage devices Discovering logical... (5 Replies)
Discussion started by: upengan78
5 Replies

5. Solaris

Sun Live Upgrade - lucreate fails

Hi, I currently have one BE and would like to create an ABE. # lustatus BE_name Complete Active ActiveOnReboot CopyStatus ------------------------------------------------------------------------ coolthreads yes yes yes - But... (3 Replies)
Discussion started by: pgarousi
3 Replies

6. Solaris

Boot failure

I have installed Solaris 10 OS in Sun Virtual Box that uses x86 32 bit system. After an abnormal shutdown i'm getting the following message on the console when i try to boot. SunOS Release 5.10 Version Generic_127128_11 32-bit Copyright 1983-200 Sun Microsystems, Inc. All rights reserrved. Use... (3 Replies)
Discussion started by: Sesha
3 Replies

7. Shell Programming and Scripting

SFTP Failure

Hi , I need to write a IF condition to know if a SFTP file transfer is successful or not and send email if its failed. `sftp username@servername <<comm1 cd /directory put filename comm1 bye` I use above commands for my connections. So please help me to write a IF statement. ... (0 Replies)
Discussion started by: krishna87
0 Replies

8. UNIX for Dummies Questions & Answers

boot up failure unix sco after power failure

hi power went out. next day unix sco wont boot up error code 303. any help appreciated as we are clueless. (11 Replies)
Discussion started by: fredthayer
11 Replies

9. Solaris

Copying disk - dd or lucreate?

Got server that I want to have an 'image' of disk to keep in case of failure. What I want to be able to do is, in the event of disk failure, remove system disk replace with cloned disk (same slot) and reboot. Trouble is I cant take this server down to single user. Is dd still a viable... (6 Replies)
Discussion started by: psychocandy
6 Replies

10. UNIX for Beginners Questions & Answers

Lucreate Fails to Create Boot Environment;

My OS solarius 5.10 Generic_147148-2 i86 Error: please review new boots environments using options 1. Solution - show me the commands Partition is full, try to remove some unneeded files, then try to compress some other unneeded files. man command creates a temp file under... (0 Replies)
Discussion started by: zbest1966
0 Replies
All times are GMT -4. The time now is 08:58 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy