PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

"ERROR: Linker : not found" ubuntu linux server 7
Goto page 1, 2  Next
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Licenses and Installation
View previous topic :: View next topic  
Author Message
Simon Kammerer



Joined: 15 Jul 2007
Posts: 3

PostPosted: Sun Jul 15, 2007 11:05 am    Post subject: "ERROR: Linker : not found" ubuntu linux server 7 Reply with quote

Hi forum,

during installation , this error occurs:


Installing software into /opt/pgi (this may take some time).
###############################################

ERROR: Linker : not found
test: 604: ==: unexpected operator
test: 489: ==: unexpected operator
Please enter your name:


my installation is ubuntu-server-7.04-amd64 with build-essential package installed (compilers, libc6, ...).

Any hints?

thx
Simon
Back to top
View user's profile
mkcolg



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

PostPosted: Mon Jul 16, 2007 4:42 pm    Post subject: Reply with quote

Hi Simon,

While we have not seen this error before and are unable to recreate it, we suspect that it might be due to the PGI installer's makelocalrc script use of macro variables that are not enclosed with double quotes. Please try the following:

In your $PGI/linux86-64/7.0-6/bin directory, modify line 581 of the makelocalrc script to enclose the $G77DIR variable in quotes (see below). Next, run "$PGI/linux86-64/7.0-6/bin/makelocalrc -x $PGI/linux86/7.0-6". (Replace 7.0-6 with the actual release number if different).

Thanks,
Mat

Change line 581 of makelocalrc from
Code:
if test $G77DIR == '""' ; then  # {
to
Code:

if test "$G77DIR" == '""' ; then  # {
Back to top
View user's profile
Simon Kammerer



Joined: 15 Jul 2007
Posts: 3

PostPosted: Tue Jul 17, 2007 4:45 am    Post subject: Reply with quote

Modification of makelocalrc didn't solve the problem.

The problem (found in tmpfile generated by makelocalrc):


In file included from /usr/include/features.h:346,
from /usr/include/stdio.h:28,
from /tmp/PGI-INSTALL.6139/hello-6139.c:1:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory


Fixed with installation of the package

libc6-dev-i386



Now the linker is found, but this error occurs:

Installing software into /opt/pgi (this may take some time).
###############################################

test: 604: ==: unexpected operator
test: 604: ==: unexpected operator
test: 489: ==: unexpected operator
Please enter your name:


Regardless of these errors, I was able to compile netcdf, make test and make check didn't report any errors.

But WRFV2.2 test cases don't compile.


ubuntu-server is quite minimal, I'll try xubuntu desktop edition. If this works, I know it's due to missing packets.

S.
Back to top
View user's profile
Simon Kammerer



Joined: 15 Jul 2007
Posts: 3

PostPosted: Tue Jul 17, 2007 6:05 am    Post subject: dash vs. bash Reply with quote

Problem

test: 604: ==: unexpected operator
test: 604: ==: unexpected operator
test: 489: ==: unexpected operator

solved by replacing symlink /bin/sh -> /bin/dash with /bin/sh -> /bin/bash

xubuntu desktop made no difference.

S.
Back to top
View user's profile
Goudi



Joined: 23 Jan 2008
Posts: 4

PostPosted: Wed Mar 19, 2008 6:03 pm    Post subject: Can't find Linker... Reply with quote

All,

I am having the same problem; The only difference is that I am using a 32 bit machine with the latest version of Ubuntu. When I try to install the libc6-devi386 I get the error message that this library was meant for the AMD 64 architecture. When I try to install the version appropriate for the 32 bit Intel, I get a message which says that I already have an updated version installed. I am now very frustrated and have no idea what to do... Cheers, Nathaniel
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
Goto page 1, 2  Next
Page 1 of 2

 
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