LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-03-2009, 10:07 PM   #1
huangmi0212
LQ Newbie
 
Registered: May 2009
Posts: 1

Rep: Reputation: 0
Unhappy a problem when compiling intel c++ professional package for linux


Hi, guys,

I confront a problem when I compile intel C++ professional package for linux.

The problem is:

icc intrin_time_sample.c
/opt/intel/Compiler/11.0/083/bin/intel64/mcpcom: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
compilation aborted for intrin_time_sample.c (code 127)

I think maybe I need to install libstdc++.so.5
so I use 'yum install compat-libstdc++-33.i386'
But after that, the problem still exists!

so Why?

Thanks,
Ming
 
Old 05-03-2009, 10:28 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

I suspect that the "libstdc++" your Intel C++ compiler needs is part of the Intel compiler package.

A couple of suggestions:
1. Search for libstdc++ in your Intel directory:
Quote:
find /opt/intel/Compiler -name "libstdc++*" -print 2>/dev/null
2. Be sure to add the Intel libraries to you $LD_LIBRARY_PATH:
Quote:
EXAMPLE:
export LD_LIBRARY_PATH="/opt/intel/Compiler/11.0/069/lib/ia32:$LD_LIBRARY_PATH"
3. Add "-L/opt/intel/Compiler/11.0/069/lib/ia32" (or the equivalent) to your icc link command line

http://software.intel.com/en-us/arti...shared-object/
http://laksmono.com/2008/11/10/how-t...ntu-linux-810/

'Hope that helps .. PSM

Last edited by paulsm4; 05-03-2009 at 10:32 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Crossover Linux Professional and WoW: Burning Crusade Problem TVGlotzerrr Linux - Games 0 08-08-2007 12:26 AM
package compiling error nesta Programming 1 04-09-2007 06:41 AM
Suse Linux 9.3 Professional and IMAP server problem Noaman Linux - Enterprise 3 06-25-2005 03:21 PM
Suse Linux 9.3 Professional and Imap Server problem Noaman SUSE / openSUSE 1 06-21-2005 04:15 PM
Looking to hire a linux professional to fix a problem on my server sjrowe Linux - General 6 08-07-2004 06:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration