LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-22-2010, 09:58 PM   #1
sarahf60
LQ Newbie
 
Registered: Feb 2010
Posts: 20

Rep: Reputation: 1
pgplot problem


Hello
I have insttaled pglpot5.2 but when i want to run a file with this programm it gaves me this error

"can not load or share libpgplot5.so there is not such file or directory"

although i have this library in my lib directory

what should i do ?

Sarah

Last edited by sarahf60; 02-22-2010 at 10:02 PM.
 
Old 02-22-2010, 10:05 PM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Hi sarahf60, Welcome to LQ. It would help us to help you if we know what Distro and kernel you're using, and how you installed the program.
Good luck. ;-)
 
Old 02-24-2010, 04:17 PM   #3
sarahf60
LQ Newbie
 
Registered: Feb 2010
Posts: 20

Original Poster
Rep: Reputation: 1
pgplot problem

hello
I've used this guidance "install.html.maff/1264065517050_652/index.html
and also i work with OpenSuse 10.3
tar xzf pgplot5.2.tar.gz
cd pgplot
cp drivers.list /usr/local/pgplot/
vi /usr/local/pgplot/drivers.list
uncomment these:
GIDRIV 1/GIF
PNDRIV 1/PNG
PNDRIV 2/TPNG
PSDRIV 1/PS
PSDRIV 2/VPS
PSDRIV 3/CPS
PSDRIV 4/VCPS
XWDIRV 1/XWINDOW
XWDRIV 2/XSERVE
cd /usr/locaal/pgplot
/home/username/src/pgplot/makemake /home/username/src/pgplot linux g77_gcc
vim makefile
change pndriv.o : ./png/h ./pngconf.h ./zlib.h ./zconf.h
to
/usr/local/include/png.h ..........
write in bash:
export PGPLOT_DIR=/usr/local/pgplot setven PGPLOT_DIR /usr/local/pgplot
source .bashrc
ln -s libpgplot.so /usr/lib/libpgplot.so
ln -s libcpgplot.a /usr/lib/libcpgplot.a
ln -s cpgplot.h /usr/include/cpgplot.h

also i have errors in last 3line
"too many syntax "
 
Old 02-24-2010, 05:39 PM   #4
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Did you try linking libpgplot5.so to libpgplot.so?

Code:
ln -s libpgplot5.so /usr/lib/libpgplot.so
Good luck. ;-)
 
Old 02-25-2010, 05:53 AM   #5
sarahf60
LQ Newbie
 
Registered: Feb 2010
Posts: 20

Original Poster
Rep: Reputation: 1
yes i have tried to link but nothing happen still i have the same problem
"error: can not load or share libpgplot.so; there is no such file or directory"
 
Old 02-25-2010, 07:11 PM   #6
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
I would start over with these instructions.

http://www.astro.caltech.edu/~tjp/pgplot/install.html

Good luck. ;-)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Pgplot mghuffman Linux - Software 15 03-04-2010 08:27 AM
[SOLVED] Compiled pgplot with g77, but it thinks I used gfortran?? deathsfriend99 Linux - Newbie 1 01-29-2010 01:55 PM
[SOLVED] A problem during PGPLOT installation msbstar Linux - Newbie 7 01-28-2010 10:33 AM
pgplot installation in fedora 10 pratyuze Linux - Software 4 01-16-2009 10:08 AM
PGPLOT&can not find libpng lengyue Linux - Software 1 08-16-2008 12:00 PM


All times are GMT -5. The time now is 02:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration