Hi,


I do not know which version you actually downloaded this way, but you will 
probably want to use the pkg-config approach:



gcc -o myprogram myprogram.c `pkg-config -libs plplotd`



The pkg-config command was designed for this sort of things.



Regards,



Arjen







From: Xue, Hui (NIH/NHLBI) [E] [mailto:hui....@nih.gov]
Sent: Monday, June 08, 2015 8:17 PM
To: plplot-general@lists.sourceforge.net
Subject: [Plplot-general] PLplot on ubuntu 14.04

Dear PLplot team,

I am trying to install plplot on Ubuntu 14.04 using
apt-get install libplplot-dev

It went through and installed the libraries. However, it only installed 
libplplotd.so and libplplotcxxd.so and others. When I was trying to link 
against plplot by -lplplot, the gcc told me that it cannot find plplot lib. I 
am wondering whether the Ubuntu installation package is broken for 14.04. Or, 
please advise me how to proceed.

Best regards

Hui Xue

MRI Technology Program
National Heart, Lung, and Blood Institute
National Institutes of Health
10 Center Drive, MSC-1061
Bethesda, MD 20892-1061
USA
Email: hui....@nih.gov<mailto:hui....@nih.gov>
Phone: 301-496-3052
Cell: 609-712-3398
Fax: 301-402-2389

DISCLAIMER: This message is intended exclusively for the addressee(s) and may 
contain confidential and privileged information. If you are not the intended 
recipient please notify the sender immediately and destroy this message. 
Unauthorized use, disclosure or copying of this message is strictly prohibited. 
The foundation 'Stichting Deltares', which has its seat at Delft, The 
Netherlands, Commercial Registration Number 41146461, is not liable in any way 
whatsoever for consequences and/or damages resulting from the improper, 
incomplete and untimely dispatch, receipt and/or content of this e-mail.
------------------------------------------------------------------------------
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to