- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have compiled a test program with l_fce_pc_8.1.024. This compiler has worked with FC3 64bit.
I could build the binar file using FC4. But when I tried to run the file I got the error messege:
./a.out: error while loading shared libraries: libcxaguard.so.5: cannot open shared object file: No such file or directory
The test program's code:
PROGRAM test
WRITE(*,*) 'Hello World'
END PROGRAM test
I have built the binar file with the command
ifort test.f90
I have tried with the version I_fce_pc_8.1.027 with the same result.
Any ideas?
My system:
AMD Athlon 64 3500+ 2.2 GHz
Asus A8N-SLI DeLuxe nForce
I could build the binar file using FC4. But when I tried to run the file I got the error messege:
./a.out: error while loading shared libraries: libcxaguard.so.5: cannot open shared object file: No such file or directory
The test program's code:
PROGRAM test
WRITE(*,*) 'Hello World'
END PROGRAM test
I have built the binar file with the command
ifort test.f90
I have tried with the version I_fce_pc_8.1.027 with the same result.
Any ideas?
My system:
AMD Athlon 64 3500+ 2.2 GHz
Asus A8N-SLI DeLuxe nForce
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is your LD_LIBRARY_PATH variable set at run time, to point to the library provided with the 64-bit ifort? This is a familiar problem, unlikely to be peculiar to your distro or hardware. If you have the environment set for compilation, you should not see this problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My LD_LIBRARY_PATH was empty and I had to define manually. Then I could run my excecutable file. This is strange because I have defined the envirement set for compilation in my .bash_profile and I can see that the PATH variable includes the correct value but the LD_LIBRARY_PATH variable is not defined. Why?

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page