file not found (SOS)


 
Thread Tools Search this Thread
Operating Systems Solaris file not found (SOS)
# 8  
Old 05-06-2010
Yes, the pgplot was installed in my system. I try to ln libpgplot.so to where it was installed, but, as you see below:
$ ln /usr/local/pgplot/libpgplot.so libpgplot.so
ln: libpgplot.so is on a different file system
# 9  
Old 05-06-2010
... so now you either copy libpgplot.so to /usr/bin or you link it with ln -s
# 10  
Old 05-06-2010
Hi, friend. Still can not work.
# ln -s /usr/local/pgplot/libpgplot.so libpgplot.so
# ls
libpgplot.so vmed
# vmed
vmed: not found
# ldd vmed
libX11.so.4 => /usr/lib/libX11.so.4
libpgplot.so => (file not found)
libm.so.2 => /lib/libm.so.2
........
I also copy libpgplot.so to /usr/bin.
# 11  
Old 05-07-2010
Hold on...

First, the command vmed is not on your directory path. Either put it in your path or go to the directory where vmed is and use ./vmed to run it.

Second, you'd link /usr/local/pgplot/libpgplot.so to the spot vmed is looking for it. I have to apologize I mistype the directory, is not /usr/bin. You would link it or copy it to any of the paths vmed searches:

search path=/opt/sunstudio12.1/lib (RPATH from file vmed)
trying path=/opt/sunstudio12.1/lib/libpgplot.so
search path=/lib:/usr/lib (default)
trying path=/lib/libpgplot.so
trying path=/usr/lib/libpgplot.so

.. so put it or link it to /usr/lib and you should be good to go, as in
Code:
 ln -s /usr/local/pgplot/libpgplot.so /usr/lib/libpgplot.so

This User Gave Thanks to System Shock For This Post:
# 12  
Old 05-07-2010
Hi, Sir, Thanks you a million!
I did ln -s /usr/local/pgplot/libpgplot.so /usr/lib/libpgplot.so, and ./vmed worked.
But i am still confused about this problem, I will think it over.
And I have another question that in another system, if you 'ldd vmed' , there will be a line /usr/platform/SUNW,Ultra-4/lib/libc_psr.so.1 at last, as you can see, in my 'ldd vmed' there isnt. Do you know what`s wrong with my system?
I really appreciate your kindly help.

---------- Post updated at 01:48 AM ---------- Previous update was at 12:10 AM ----------

And if I want to run this program in the other folder not used the / just type the commend. What should I do ? Thanks!

Last edited by wholesome80; 05-07-2010 at 02:16 AM..
# 13  
Old 05-11-2010
Quote:
Originally Posted by h@foorsa.biz
i'm not sure libpgplot.so is a part of which package
try to search for it
Code:
#find / -name  libpgplot*

Dude what about ....
Code:
cat /var/sadm/install/content | egrep -i libpgplot.so

Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. HP-UX

sos about swpackage AND swinstall

hi all, I just want to make a depot package.All steps: 1. make a psf file # PSF which define the myutil product depot layout_version 1.0 tag ddmi_linux_installer title ddmi_linux_installer # Product definition vendor tag HP title Hewlett-Packard Company product tag... (0 Replies)
Discussion started by: lb1111830
0 Replies

2. Shell Programming and Scripting

SOS whit SED

Hello, I know how to get a solution of a filtering problem with AWK, but i need change default field separator by a regular expression. awk -F "xxx" What i want to do is take a stranza as a field, so the field separator must be a EMPTY line. Does anybody how to do that?? a example: ... (1 Reply)
Discussion started by: antuan
1 Replies

3. Solaris

sun connect :SOS

hi all, does someone have any information about "sun connect" (like documentation , web site , forums , explanations .....) ? because i will need this software in my job & i don't know how to use it :o (4 Replies)
Discussion started by: lid-j-one
4 Replies

4. Shell Programming and Scripting

Sos

Dear "expert", I need to know the command syntax to get the last field of the line below using shell or awk. MD5... (4 Replies)
Discussion started by: Lee Soon Yau
4 Replies

5. Shell Programming and Scripting

Sos Sos

INPUT---> USER | User1 | DisplayName1 | HomeTown1 | 987654321 | 27-07-1991 | M i want to separate out all the fields of the file which has the format specified above , with the use of awk. I was writing that to the mysql by batch-file. But now there is problem , in databse i have defined the... (2 Replies)
Discussion started by: yogesh_powar
2 Replies

6. UNIX for Dummies Questions & Answers

[sos]How to resure my system.

Yesterday,I have a unnormal shutdown of my SCO Unix system,when I boot again,There are lots of Errors (e.g policy manager error, ifor_pmd error etc.),Most seriously,I can use my "CC" compiler: when I compile my *.c files. Who Can Help Me ! Please Don't spare your instructions! Thanks a... (5 Replies)
Discussion started by: dingxf
5 Replies

7. UNIX for Dummies Questions & Answers

(SOS) Please help !

Does anybody can help me with the definition of "terminal" DTE and DCE in context to Unix ?. This has something to do with devices in Unix. I need it asap. Thank you very much !:confused: (1 Reply)
Discussion started by: aqua_jan
1 Replies
Login or Register to Ask a Question