The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
-- Need help from a AIX guru -- nymus7 AIX 15 03-07-2006 02:38 AM
To all the Java guru... laila63 UNIX for Dummies Questions & Answers 10 12-28-2004 11:39 AM
DNS guru needed... btmitch UNIX for Dummies Questions & Answers 1 07-31-2003 08:47 AM
sun guru help! hassan2 UNIX for Advanced & Expert Users 7 07-25-2002 09:34 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 06-11-2002
Registered User
 

Join Date: Mar 2002
Location: London, England
Posts: 262
Red face Perl Guru help

I am trying to install Perl 5.005 on solaris 2.5, following the perl
installation guide in INSTALL file that comes with Perl software

However, according to the installation procedure, it instruct me to to excute "make" command after running the Configure which I did but everytime I excute "make" command respond with an error message

"ld.so.1: make: fatal: relocation error: file make: symbol stat64: referenced
symbol not found
Killed"

I have set my path variable to include /usr/ucb and my LD_LIBRARY_PATH variable to include /usr/local/lib:/usr/lib:/usr/ccs/lib:/lib

but still having problems, can you help please

Thanks in Advance
Forum Sponsor
  #2  
Old 06-11-2002
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Which compiler are you using? In the INSTALL file you should find the following:

If you have problems with dynamic loading using gcc on SunOS or
Solaris, and you are using GNU as and GNU ld, you may need to add
-B/bin/ (for SunOS) or -B/usr/ccs/bin/ (for Solaris) to your
$ccflags, $ldflags, and $lddlflags so that the system's versions of as
and ld are used. Note that the trailing '/' is required.
Alternatively, you can use the GCC_EXEC_PREFIX
environment variable to ensure that Sun's as and ld are used. Consult
your gcc documentation for further information on the -B option and
the GCC_EXEC_PREFIX variable.

One convenient way to ensure you are not using GNU as and ld is to
invoke Configure with

sh Configure -Dcc='gcc -B/usr/ccs/bin/'

for Solaris systems. For a SunOS system, you must use -B/bin/
instead.

Alternatively, recent versions of GNU ld reportedly work if you
include C<-Wl,-export-dynamic> in the ccdlflags variable in
config.sh.

=item ld.so.1: ./perl: fatal: relocation error:

If you get this message on SunOS or Solaris, and you're using gcc,
it's probably the GNU as or GNU ld problem in the previous item
L<"Solaris and SunOS dynamic loading">.
  #3  
Old 06-11-2002
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Another link which may help
  #4  
Old 06-12-2002
Registered User
 

Join Date: Mar 2002
Location: London, England
Posts: 262
Red face

Thanks for your reply.

I have tried the above but still receiving the same error message. I am using gcc version 2.8.1
would upgrading gcc solve the problem?


Thanks again
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 02:56 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0