Hi Thomas,

------------------------------------------------------------------------------------------------------------------------
first thanks to Peter Eisengrein and another user (that name i dont know). With their Methods some scripts run now.
------------------------------------------------------------------------------------------------------------------------

my main problem is not yet  solved. I will tell a little more about what i have done.

1. I installed MRTG (To monitor my network status)
2. Then i wanted to install the RRDTool to use it together with MRTG, but  the RRDTool tried to make a binary Perl Module and the installed Perl Version which is shipped with Solaris is not able to do this, because i  must have the same compiler (perl was created with the sun solaris compiler and i have only the gcc compiler).
3. The only solution was to compile my own Perl with my gcc compiler.
4. After that i was able to compile all RDD Modules successfully
5. Now i want to start MRTG again, but i get the following Error Message:

-----------------------------------------------------------------------------------------------------------------------------------------------------------------
ld.so.1: /usr/perl5/5.6.1/bin/perl: fatal: relocation error: file /usr/local/rrdtool-1.2.11/lib/perl/5.8.7/sun4-solaris//auto/RRDs/RRDs.so: symbol Perl_sv_2pv_flags: referenced symbol not found
Killed
------------------------------------------------------------------------------------------------------------------------------------------------------------------

in the /usr/bin directory is a symblolic link called "perl" which points to the old Perl Version.
If i let the "symbolic perl link" point to the new Perl Version my MRTG works fine, but i have a lot of programms that need the old "Perl link". Do you now know what i meant with "I can't always change my Perl link to the right Perl Version" if i want to start a Programm.


Thanks a lot in advanced

-Tom-





Thomas, Mark - BLS CTR schrieb:
I recompile perl on Solaris machines all the time, with no problems.

What do you mean by the programs "don't start"? What's the output of perl
-V? Can you execute your old programs by typing "perl progname"?

- Mark. 

  
-----Original Message-----
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]] On 
Behalf Of nobody
Sent: Tuesday, September 13, 2005 5:07 AM
To: perl-unix-users@listserv.ActiveState.com
Subject: [Perl-unix-users] Install Perl under Solaris 9

Hi all,

i have the following Problem. Solaris has a Perl Version (5.6.1) 
installed. But this Version was not compiled with gcc so i decided to 
install an own Version of Perl. The Problem now is, that 
older Programms 
look at /usr/bin/perl (which is now linked to the newer Version) and 
don't start anymore. If i change the link /usr/bin/perl back 
to the old 
perl version, the older programms run fine, but the Programms which 
where installed later dont start anymore. I can not change every time 
the /usr/bin/perl if i start another programm!
Is there a possibility to fix this problem?

Thanks a lot

-Tom-
_______________________________________________
Perl-Unix-Users mailing list
Perl-Unix-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


    

  

_______________________________________________
Perl-Unix-Users mailing list
Perl-Unix-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to