Error- ld.so.1: expr: fatal: libgmp.so.3: open failed:No such file or directory


 
Thread Tools Search this Thread
Operating Systems Solaris Error- ld.so.1: expr: fatal: libgmp.so.3: open failed:No such file or directory
# 1  
Old 07-16-2009
Error- ld.so.1: expr: fatal: libgmp.so.3: open failed:No such file or directory

Hi Friends

I have a compiler(Sun Forte,I believe) running in my Solaris 9 box.
since y'day my development team is finding this error when they compile:

ld.so.1: expr: fatal: libgmp.so.3: open failed: No such file or directory

I ran a search for this file and found it in one of my file systems.Am appending the output herewith:

[!]root: find / -name libgmp.so.3
/oasis/ist75dev/pdir/lib/libgmp.so.3
[!]root: ls -l /oasis/ist75dev/pdir/lib/libgmp.so.3
lrwxrwxrwx 1 ist75dev oasis 41 Jul 15 19:41 /oasis/ist75dev/pdir/lib/libgmp.so.3 -> /home2/adamnjan/sun/lib/engines/libgmp.so
@ /
[!]root: ls -l /home2/adamnjan/sun/lib/engines/libgmp.so
-r-xr-xr-x 1 715 501 4092 Mar 28 01:41 /home2/adamnjan/sun/lib/engines/libgmp.so
@ /
[!]root: cd /home2
@ /home2
[!]root: ls -ld /home2
drwxrwxr-x 176 root 522 3584 May 22 23:30 /home2
@ /home2
[!]root: ls -ld /home2/ad
adamnjan admin
@ /home2
[!]root: ls -ld /home2/ad
adamnjan admin
@ /home2
[!]root: ls -ld /home2/adamnjan/
drwxr-xr-x 87 715 501 10752 Jul 16 03:24 /home2/adamnjan/
@ /home2
[!]root: ls -ld /home2/adamnjan/sun/
drwxrwxr-x 14 715 501 512 Apr 29 00:55 /home2/adamnjan/sun/
@ /home2
[!]root: ls -ld /home2/adamnjan/sun/lib
drwxrwxr-x 7 715 501 1536 May 27 03:06 /home2/adamnjan/sun/lib
@ /home2
[!]root: ls -ld /home2/adamnjan/sun/lib/engines
drwxrwxr-x 2 715 501 512 Mar 28 01:41 /home2/adamnjan/sun/lib/engines

The lib file is present and the link to it looks fine.
Any suggections on this issue??

Thanks
HG
# 2  
Old 07-16-2009
add the path "/oasis/ist75dev/pdir/lib/" to your
LD_LIBRARY_PATH env variable
# 3  
Old 07-16-2009
Hi Amrit

The path is available in LD_LIBRARY_PATH and am still getting the error.Smilie

HG

---------- Post updated at 11:28 AM ---------- Previous update was at 10:38 AM ----------

Amit,

It seems that my dev team is getting a new error.

libcrypto.so.0.9.8 open failed.

Attaching the below which might help :

[!]root: ldd /oasis/ist75dev/pdir/lib/libgmp.so.3
libcrypto.so.0.9.8 => (file not found)
libsocket.so.1 => /usr/lib/libsocket.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libdl.so.1 => /usr/lib/libdl.so.1
libc.so.1 => /usr/lib/libc.so.1
libmp.so.2 => /usr/lib/libmp.so.2
/usr/platform/SUNW,Sun-Fire-V490/lib/libc_psr.so.1

Any idea how i can download this?

HG

---------- Post updated at 02:50 PM ---------- Previous update was at 11:28 AM ----------

Folks,

Can somebody chip in as it's a production issue.
Thanks -in- advance.

HG

---------- Post updated at 03:22 PM ---------- Previous update was at 02:50 PM ----------

Folks,

I copied libcrypto.so file from one of my other servers(Same OS version and hardware) and linked it to libcrypto.so.0.9.8.

The ldd command referred it correctly:

[!]root: ldd /oasis/ist75dev/pdir/lib/libgmp.so.3
libcrypto.so.0.9.8 => /usr/openwin/lib/libcrypto.so.0.9.8
libsocket.so.1 => /usr/lib/libsocket.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libdl.so.1 => /usr/lib/libdl.so.1
libc.so.1 => /usr/lib/libc.so.1
libmp.so.2 => /usr/lib/libmp.so.2
/usr/platform/SUNW,Sun-Fire-V490/lib/libc_psr.so.1

But i am getting this error when i compile:

ld.so.1: expr: fatal: relocation error: file /usr/local/bin/expr: symbol __gmpz_init_set_str: referenced symbol not found

Stalemate...as of now...

HG
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. 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

3. Programming

Fatal error: mcrypt.h: No such file or directory

Hi All, I am trying to include a mcrypt.h header but I am getting the below error: test01> gcc test1.c test1.c:5:20: fatal error: mcrypt.h: No such file or directory #include <mcrypt.h> ^ compilation terminated. As I cannot put my encryption program here, so have... (4 Replies)
Discussion started by: Shre
4 Replies

4. Solaris

./curl -V showing fatal: libldap.so.5: open failed: No such file or directory

Hi Guys, I am facing this Error bash-2.03$ ./curl -V ld.so.1: curl: fatal: libldap.so.5: open failed: No such file or directory Killed bash-2.03$ while executing ./curl -V in /opt/sfw/bin directory. I am using Sun Solaris 10. which package upgrage can give me this missing... (9 Replies)
Discussion started by: manalisharmabe
9 Replies

5. Solaris

fatal error: stdio.h: No such file or directory

Trying to compile a C program recievin this hello.c:1:19: fatal error: stdio.h: No such file or directory gcc is installed on the system. echo $PATH /usr/bin:/usr/sbin:/usr/gcc/4.5/include/c++/4.5.2/tr1 root@Sol11swtb01:/media/NO NAME/Programming/C/Testing# cd... (2 Replies)
Discussion started by: Fingerz
2 Replies

6. Shell Programming and Scripting

fatal: cannot open file `TNAME' for reading (No such file or directory)

Hi, I am running this command through a shell script and getting the error mentioned in the subject line: testing.awk -f x.txt TNAME My testing.awk file contains something like ++++++++++++++++++ #!/usr/bin/awk -f BEGIN{ TAB_NAME="INSERT_ONE_" ARGV ; } if ( $1=="JAM_ONE" &&... (1 Reply)
Discussion started by: kunwar
1 Replies

7. Solaris

Cygwin X Server error: xdmcp fatal error session failed session 23 failed for display

Hi, i got the following error when i tried to access the cygwin x server from a windows XP PC. "xdmcp fatal error session failed session 23 failed for display" Alternatively, when i tried to access the same Cygwin X Server from another windows XP PC which is on a different LAN... (3 Replies)
Discussion started by: HarishKumarM
3 Replies

8. Shell Programming and Scripting

make Fatal error: Command failed for target 'exp_inter.o'

I am trying to install Expect 5.43 on my Solaris 10 x86 PC. When I run the make file I get - Command failed for target 'exp_inter.o'. I tried to find the file (find / -name exp_inter.o -print 2>/dev/null) but could not. Where can I get this file from? (2 Replies)
Discussion started by: pazzy
2 Replies

9. Solaris

Fatal error: Command failed for target `build_crypto'

Dear brothers. i tried so many times to install openssl-0.9.8g in x86 machine. i have done ./config without any error notification. when i execute the make command i am having the same error fatal error: Command failed for target `build_crypto'. i installed c compiler the verson of... (1 Reply)
Discussion started by: sayed_021
1 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