---------- Forwarded message ---------- From: smriti Sebastian <[EMAIL PROTECTED]> Date: Thu, Jun 26, 2008 at 1:48 PM Subject: Re: [Perldl] Instaliing PGPLOT in ubuntu To: Hernán De Angelis <[EMAIL PROTECTED]>
i done that.. again it's giving the same error.. On Thu, Jun 26, 2008 at 12:18 PM, Hernán De Angelis < [EMAIL PROTECTED]> wrote: > Sorry, I wanted to say: > > /etc/ld.so.conf > > > > > > 2008/6/26 Hernán De Angelis <[EMAIL PROTECTED]>: > > Add "/usr/local/pgplot" to your "/etc/ld.conf.so" and then run > "ldconfig" > > > > > > Hernán > > > > > > 2008/6/26 smriti Sebastian <[EMAIL PROTECTED]>: > >> hi, > >> thanks for the help. > >> i have installed the pgplot > >> but when i try to run a program with just 'use PGPLOT' it's showing: > >> Can't load '/usr/local/lib/perl/5.8.8/auto/PGPLOT/PGPLOT.so' for module > >> PGPLOT: /usr/local/lib/perl/5.8.8/auto/PGPLOT/PGPLOT.so: undefined > symbol: > >> cpgdraw at /usr/lib/perl/5.8/DynaLoader.pm line 225. > >> plz help. > >> > >> On Sun, Jun 22, 2008 at 6:42 PM, Hernán De Angelis > >> <[EMAIL PROTECTED]> wrote: > >>> > >>> just logoff and on again > >>> > >>> > >>> > >>> 2008/6/20 smriti Sebastian <[EMAIL PROTECTED]>: > >>> > i have set my path variable.Do i need to restart the system after > that? > >>> > > >>> > On Thu, Jun 19, 2008 at 5:06 PM, Hernán De Angelis > >>> > <[EMAIL PROTECTED]> wrote: > >>> >> > >>> >> Hi, > >>> >> > >>> >> My instructions are valid for openSUSE only. The bash.bashrc.local > >>> >> file is located in /etc and this is where you set up your > environment > >>> >> variables, i.e. where the system looks for the PATH. I do not know > >>> >> which is the equivalent in your system, but I am sure it should be > >>> >> one. > >>> >> > >>> >> > >>> >> Hernán > >>> >> > >>> >> > >>> >> 2008/6/19 smriti Sebastian <[EMAIL PROTECTED]>: > >>> >> > hi, > >>> >> > i hav a confusion in this step. > >>> >> > add to bash.bashrc.local export > PGPLOT_DIR=/usr/local/pgplot > >>> >> > export PATH=$PATH:/usr/local/pgplot > >>> >> > i didn't found this file:bash.bashrc.local > >>> >> > there is a bash.bashrc file.Do I need to add the line to this > file? > >>> >> > > >>> >> > On Thu, Jun 19, 2008 at 1:18 AM, Hernán De Angelis > >>> >> > <[EMAIL PROTECTED]> wrote: > >>> >> >> > >>> >> >> Hi, > >>> >> >> > >>> >> >> Here I post my installation notes in the hope that they might be > of > >>> >> >> som utility. I fixed these with the kind help of some in this > list. > >>> >> >> I > >>> >> >> use openSUSE 10.3 64 bit. > >>> >> >> > >>> >> >> > >>> >> >> Download, uncompress and untar in: /usr/local/src > >>> >> >> create a directory /usr/local/pgplot > >>> >> >> open the drivers.list file and select drivers wanted > >>> >> >> copy the drivers.list file to /usr/local/pgplot > >>> >> >> change directory to /usr/local/pgplot > >>> >> >> > >>> >> >> execute the makemake: > >>> >> >> /usr/local/src/pgplot/makemake /usr/local/src/pgplot linux > g77_gcc > >>> >> >> > >>> >> >> Now comes the tricky part ... In openSUSE 10.3 the modify the > make > >>> >> >> file to point to gfortran: > >>> >> >> > >>> >> >> FCOMPL=gfortran > >>> >> >> FFLAGC=-ffixed-form -ffixed-line-length-none -u -Wall -fPIC -O > >>> >> >> > >>> >> >> Also the png driver will not compile if the following line: > >>> >> >> > >>> >> >> pndriv.o : ./png.h ./pngconf.h ./zlib.h ./zconf.h > >>> >> >> > >>> >> >> is not replaced by: > >>> >> >> > >>> >> >> pndriv.o : /usr/include/png.h /usr/include/pngconf.h > >>> >> >> /usr/include/zlib.h /usr/include/zconf.h > >>> >> >> > >>> >> >> make > >>> >> >> make cpg > >>> >> >> > >>> >> >> add to bash.bashrc.local export > PGPLOT_DIR=/usr/local/pgplot > >>> >> >> export > PATH=$PATH:/usr/local/pgplot > >>> >> >> > >>> >> >> In the CPAN shell, install the PGPLOT module. > >>> >> >> > >>> >> >> > >>> >> >> > >>> >> >> Hope this helps!!! > >>> >> >> > >>> >> >> > >>> >> >> Hernán > >>> >> >> > >>> >> >> > >>> >> >> > >>> >> >> 2008/6/18 Jarle Brinchmann <[EMAIL PROTECTED]>: > >>> >> >> > Hi Sebastian, > >>> >> >> > > >>> >> >> > This does look like one of the annoying compilation problems on > >>> >> >> > 64bit > >>> >> >> > systems. I can't help you with pgplot as I haven't run into > this > >>> >> >> > problem > >>> >> >> > for pgplot myself. However I have seen similar noises when > linking > >>> >> >> > in > >>> >> >> > other libraries on 64bit systems - in particular the HDF4 > library. > >>> >> >> > > >>> >> >> > The solution as far as I can see is to rebuild the pgplot > library > >>> >> >> > yourself, but make sure to edit the makefile to include -fPIC > as > >>> >> >> > an > >>> >> >> > option to the compiler & linker when you build cpgplot. If this > >>> >> >> > works > >>> >> >> > I'd sent a note to the maintainer of the pgplot5 package to > inform > >>> >> >> > them > >>> >> >> > that they need to specify the -fPIC option when compiling the > code > >>> >> >> > to > >>> >> >> > allow it to be linked into Perl. > >>> >> >> > > >>> >> >> > Since I haven't done this myself I might be sitting here > writing > >>> >> >> > rubbish > >>> >> >> > though! > >>> >> >> > > >>> >> >> > Cheers, > >>> >> >> > Jarle. > >>> >> >> > > >>> >> >> > > >>> >> >> > > >>> >> >> > smriti Sebastian wrote: > >>> >> >> >> hi, > >>> >> >> >> i have tried installing it from CPAN according to the > >>> >> >> >> instructions > >>> >> >> >> given in > >>> >> >> >> this site.But i'm getting the same error. > >>> >> >> >> > >>> >> >> >> On Wed, Jun 18, 2008 at 4:40 PM, Xavier Calbet > >>> >> >> >> <[EMAIL PROTECTED]> > >>> >> >> >> wrote: > >>> >> >> >> > >>> >> >> >>> Have a look at > >>> >> >> >>> > >>> >> >> >>> > >>> >> >> >>> > >>> >> >> >>> > >>> >> >> >>> > >>> >> >> >>> > http://wiki.jach.hawaii.edu/pdl_wiki-bin/wiki/Installing_PDL_the_quick_and_easy_way > >>> >> >> >>> > >>> >> >> >>> If you have any problems let us know. > >>> >> >> >>> > >>> >> >> >>> Xavier > >>> >> >> >>> > >>> >> >> >>> On Wed, Jun 18, 2008 at 8:50 AM, smriti Sebastian > >>> >> >> >>> <[EMAIL PROTECTED]> wrote: > >>> >> >> >>>> Hi all, > >>> >> >> >>>> I am trying to install pgplot in ubuntu. > >>> >> >> >>>> I insatlled pgplot5 from aptitude. > >>> >> >> >>>> While I was trying to install pgperl module I'm getting an > >>> >> >> >>>> error > >>> >> >> >>>> saying: > >>> >> >> >>>> > >>> >> >> >>>> /usr/bin/ld: /usr/lib/libcpgplot.a(cpgarro.o): relocation > >>> >> >> >>>> R_X86_64_32 > >>> >> >> >>>> against `a local symbol' can not be used when making a > shared > >>> >> >> >>>> object; > >>> >> >> >>>> recompile with -fPIC/usr/lib/libcpgplot.a: could not read > >>> >> >> >>>> symbols: > >>> >> >> >>>> Bad > >>> >> >> >>> value > >>> >> >> >>>> collect2: ld returned 1 exit status > >>> >> >> >>>> make: *** [blib/arch/auto/PGPLOT/PGPLOT.so] Error 1 > >>> >> >> >>>> > >>> >> >> >>>> How can I solve this.Plz help. > >>> >> >> >>>> I'm using ubuntu 7.10. > >>> >> >> >>>> > >>> >> >> >>>> thanks in advance > >>> >> >> >>>> _______________________________________________ > >>> >> >> >>>> Perldl mailing list > >>> >> >> >>>> [email protected] > >>> >> >> >>>> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl > >>> >> >> >>>> > >>> >> >> >>>> > >>> >> >> >> > >>> >> >> >> > >>> >> >> >> > >>> >> >> >> > >>> >> >> >> > >>> >> >> >> > ------------------------------------------------------------------------ > >>> >> >> >> > >>> >> >> >> _______________________________________________ > >>> >> >> >> Perldl mailing list > >>> >> >> >> [email protected] > >>> >> >> >> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl > >>> >> >> > > >>> >> >> > > >>> >> >> > _______________________________________________ > >>> >> >> > Perldl mailing list > >>> >> >> > [email protected] > >>> >> >> > http://mailman.jach.hawaii.edu/mailman/listinfo/perldl > >>> >> >> > > >>> >> >> > >>> >> >> > >>> >> >> > >>> >> >> -- > >>> >> >> > >>> >> >> Hernán De Angelis > >>> >> >> Linux user # 397217 > >>> >> > > >>> >> > > >>> >> > >>> >> > >>> >> > >>> >> -- > >>> >> > >>> >> Hernán De Angelis > >>> >> Linux user # 397217 > >>> > > >>> > > >>> > >>> > >>> > >>> -- > >>> > >>> Hernán De Angelis > >>> Linux user # 397217 > >> > >> > > > > > > > > -- > > > > Hernán De Angelis > > Linux user # 397217 > > > > > > -- > > Hernán De Angelis > Linux user # 397217 >
_______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
