LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 07-05-2010, 03:10 AM   #16
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641

Have you got a fortran 77 compiler installed ?
The files are dated 1997 !

# zypper in gcc33-fortran

.....
 
Old 08-14-2010, 05:58 PM   #17
moravveji
LQ Newbie
 
Registered: May 2010
Posts: 10

Rep: Reputation: 0
Hi all. The last replies were perfect. I really thank you.
I use Ubuntu 10.04. This time, I need to link Xext library to another program to generate on-screen outputs. the link is supposed to be:
-L/usr/lib/pgplot5 -lpgplot -L/usr/lib -lX11 -lxcb -lXau -lXdmcp -lpng -lz -lXext
But the last term -lXext gives an error:
/usr/bin/ld: cannot find -lXext
I tried to install x11proto-xext-dev from synaptic but nothing improved.
Note that locate Xext gives
/usr/lib/libXext.so.6
/usr/lib/libXext.so.6.4.0
So my linking path must be correct.

Do you have any idea?
 
Old 08-15-2010, 12:43 PM   #18
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Post # 17 :

Linking is done with lXext = libXext.so

No package-devel = No libXext.so

sudo apt-get install libxext-dev
.. will do.

And that goes for any other library too: '-devel' packages are required
for compiling / linking.
The whole idea is to link against "the .so link to the run time library".
Which means, if you have say two versions of the same library, the ".so"
is used to decide, wich version to use.

Last edited by knudfl; 08-15-2010 at 12:46 PM.
 
  


Reply



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
pgplot problem sarahf60 Linux - Newbie 5 02-25-2010 07:11 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:35 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
Open Source Consulting | Domain Registration