![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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
|
||||
|
||||
|
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">. |
|
#4
|
|||
|
|||
|
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 |