Purify-SGI Fatal Error


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Purify-SGI Fatal Error
# 1  
Old 11-26-2005
Purify-SGI Fatal Error

Hi ,

attempting to purify code on the link line generates a fatal error
like this

#ERROR: (fatal) Cannot find libtest.so in the search path [/home/users/avadhani/test/cat_PMI].

command line:
-------------
purify -show-directory=yes -always-use-cache-dir -cache-dir=/ppic/users/avadhani/sgi/pure /usr/bin/CC -n32 -mips3 -DFDT_BUILD -DERR_LOG -DSIGNALS -DVERSION_NUMBER=3.0 -DPATCH_NUMBER=1 -signed -use_readonly_const -rdata_shared -xansi -no_auto_include -ptnone -prelink -O2 -OPT:Olimit=5000 -o /home/users/avadhani/test/cat_IMP /home/users/avadhani/test/udu_file.o -L/ppic/users/avadhani/test/lib -ltest -lpthread -lXm -lXt -lX11 -lm
Execution output:
#ERROR: (fatal) Cannot find libtest.so in the search path [/home/users/avadhani/test/cat_PMI].

I have placed libtest.so in mentioned dir. Above command works fine without purify.


SGI OS:
-------
IRIX64 6.5 6.5.22m IP30 mips
CC compiler:
-----------
MIPSpro Compilers: Version 7.4.2m


Plz give me any suggestions for such kind of errors.


Thanks
Avadhani
# 2  
Old 11-27-2005
Please cut and paste a full "ls -l" listing of the directory:

/home/users/avadhani/test/cat_PMI
# 3  
Old 11-28-2005
Quote:
Originally Posted by Neo
Please cut and paste a full "ls -l" listing of the directory:

/home/users/avadhani/test/cat_PMI
I thank for your interest.

I made following changes to command line.

purify -show-directory=yes -always-use-cache-dir -cache-dir=/ppic/users/avadhani/sgi/pure /usr/bin/CC -n32 -mips3 -DFDT_BUILD -DERR_LOG -DSIGNALS -DVERSION_NUMBER=3.0 -DPATCH_NUMBER=1 -signed -use_readonly_const -rdata_shared -xansi -no_auto_include -ptnone -prelink -O2 -OPT:Olimit=5000 -L/ppic/users/avadhani/test/lib -ltest -o /home/users/avadhani/test/cat_IMP /home/users/avadhani/test/udu_file.o -lpthread -lXm -lXt -lX11 -lm

i,e I first made include dir of lib. However I believe , it should not matter with above change . It has worked now and generated the executable.


Thanks
Avadhani
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. What is on Your Mind?

PHP Fatal Errors During SSL Cert Management - PHP Fatal error: xc_fcntl_mutex failed

Today, I noticed some errors in our SSL cert renewal log files, mostly related to domains where the IP address had changed. Concerned about this, rebuilt out SSL cert, which normally goes well without a hiccup. However, for today, for some reason which I cannot explain, there was a PHP error... (0 Replies)
Discussion started by: Neo
0 Replies

2. AIX

Error while instrumenting purify

when i instrument ourify i am getting error like .*** OI_init: Error, cannot connect to X server Purify or PureCoverage slave: Warning: Can't open display "localhost:0", using tty mode. . Got it] I am using AIX1.6 OS i have xwin32 installed in my windows.. (1 Reply)
Discussion started by: greenworld123
1 Replies

3. AIX

Getting error when instrumenting a C program with Purify

When I use this command: purify gcc -g hello_world.c to instrument a C program with Purify, I get this error : Purify engine:Error: The /usr/lib/syscalls.imp file either does not exist or has incorrect permissions.You may need to install bos.adt.syscalls I understand that I need to install... (11 Replies)
Discussion started by: SteAlma
11 Replies

4. UNIX for Dummies Questions & Answers

GCC compiler Ld fatal error

Hi all I'm trying to install sudo. When I first ran the sudo configure script it errored saying that I didn't have a C compiler. I have since installed the GCC 3.4.6 package for sol8 from sun freeware. Doing that resolved the no C complier found error. I was then getting an error saying... (1 Reply)
Discussion started by: Donkey25
1 Replies

5. AIX

dbx fatal error

Background ------------- Os: IBM AIXL 5.1 (Unix) Problem ------------- I run the dbx in csh as follows % dbx mainprog -- The following is the systemm replay Type 'help' for help. reading symbolic information ...warning: stab entry unrecognized: name ,type 45, class a8, value 0' ... (1 Reply)
Discussion started by: skfn1203
1 Replies

6. Programming

ld: fatal error

i am trying to compile my program using a makefile and i keep getting this message: Undefined first referenced symbol in file main /usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3/crt1.o ld: fatal: Symbol referencing errors. No output written to prog5 collect2: ld returned 1 exit status ***... (2 Replies)
Discussion started by: betterdayz
2 Replies

7. Programming

Fatal Error

Hi, I just pulled out my code from source control, then I compiled, the compilation is successful at that time. Then I modified one of the source file, Then I compiled, I got the following error ld: fatal: Symbol referencing errors. No output written to ../../CM/bin/cato Before... (1 Reply)
Discussion started by: sarwan
1 Replies

8. Shell Programming and Scripting

Glance Fatal Error

Hi , I a stuck with this problem. I am trying to execute this script1 on SERVER 1 from SERVER 2 using script2 script1 on SERVER 1 #!/usr/bin/ksh /opt/perf/bin/glance -f -adviser_only -iterations 2 -maxpages 2 > /home/user/scripts/glance.op cpuval1=`grep ^CPU... (4 Replies)
Discussion started by: newbie07
4 Replies

9. Programming

ld: fatal error

dear all , iam trying to compile a progam using gcc compiler on a sun 280 R machine running solaris 9 . iam getting an error in the last step when the compiler tries to link the objects , although the compiler executes some applicarions that contains no objects smoothly, the error that... (1 Reply)
Discussion started by: ppass
1 Replies

10. UNIX for Advanced & Expert Users

Fatal error in disk

I have a doubt with an error message, and i want to be sure if this is a normal situation or not. Situation: I was formating and installing a SCSI 36Gb HD with UNIX SCO 5.05, the problem happens when is making the division and filesystem on disk 1, and the message error is "Exit value 139... (1 Reply)
Discussion started by: jav_v
1 Replies
Login or Register to Ask a Question