PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

PGI 6.13 on Suse 9.3 - crtbegin.o

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Licenses and Installation
View previous topic :: View next topic  
Author Message
Bobo



Joined: 27 Jan 2005
Posts: 1

PostPosted: Mon Mar 13, 2006 11:54 am    Post subject: PGI 6.13 on Suse 9.3 - crtbegin.o Reply with quote

Hello,

I have downloaded and installed the last version of PGI (pgilinux-613) on Linux Suse 9.3.
I have been trying to compile a program with pgf90 and at the end of the compilation process I had the following error:
========================================================================
/usr/bin/ld: /crtbegin.o: No such file: No such file or directory

Could you please help me.

thanking you in advance.

Boris.
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6129
Location: The Portland Group Inc.

PostPosted: Mon Mar 13, 2006 2:58 pm    Post subject: Reply with quote

Hi Boris,

Your installation may have failed for some reason. crtbegin.o is part of your GCC installation (typically found at /usr/lib/gcc-lib/i586-suse-linux/3.3.5/ on SuSE 9.3), which the PGI installer tries to detect during installation. Can you try re-installing or review your install log to see if any errors occur? Also, what is the contents of your "localrc" file found in the PGI bin directory?

Thanks,
Mat
Back to top
View user's profile
lhj



Joined: 15 Feb 2005
Posts: 2

PostPosted: Thu May 04, 2006 7:37 am    Post subject: Reply with quote

An interesting observation:

when installing PGI, the scripts makelocalrc tries to find the location of gcc-lib files. In doing so, it runs
Code:
gcc -print-search-dirs
and parse the result.
But the parse works in english (i.e. with LANG=C),
Code:
gcc -print-search-dirs  | sed -e 's/^install: //' -e 1q

returns /usr/lib/gcc/i386-redhat-linux/3.4.3/
but fails in another langage (typically, in French, with LANG=fr_FR.UTF-8)
Code:
gcc -print-search-dirs  | sed -e 's/^install: //' -e 1q

returns installÚs: /usr/lib/gcc/i386-redhat-linux/3.4.3/

This makes the
Code:
test -d
in makelocalrc fail, and localrc is not updated, so crtbegin.o is not found.

Solution : Please, run the ./install script with LANG=C, or rerun the makelocalrc script with LANG=C
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6129
Location: The Portland Group Inc.

PostPosted: Thu May 04, 2006 3:01 pm    Post subject: Reply with quote

Hi lhj,

I forwarded this to the person who maintains our install scripts. He'll investigate the issue and should be able to update the install script so you won't need to change your GCC language variables.

Thanks,
Mat
Back to top
View user's profile
lhj



Joined: 15 Feb 2005
Posts: 2

PostPosted: Thu May 04, 2006 11:43 pm    Post subject: Reply with quote

Hello,

The best solution would be to nclude a LANG=C command in the makelocalrc script, just before the call to gcc

Thanks for the reply
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Licenses and Installation All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group