Melinda,

I haven't seen a reply for this yet, so I thought I'd give it a go.

Not having my linux box up at the mo' but I think you will find that the .so files are 
just the "runtime" libraries dynamically linked. You need to have the development 
versions of both X11 and pgplot libraries which will be .a. If you are building  a 
standard package, normally running "configure" will tell you that you don't have the 
required libraries. >From memory the Makefile will define an environment variable (or 
add -L flag????) as to where to get the libraries during linking.

I'm short on detail and confidence, but hopefully this leads you in the right 
direction :-)


Martin Visser
Network Consultant - Global Services
COMPAQ, part of the new HP

3 Richardson Place
North Ryde, Sydney NSW 2113, Australia
Phone *: +61-2-9022-1670    Mobile *: +61-411-254-513
   Fax 7: +61-2-9022-1800     E-mail * : martin.visserAThp.com




-----Original Message-----
From: Melinda Taylor [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 10 July 2002 4:50 PM
To: [EMAIL PROTECTED]
Subject: [SLUG] (no subject)



This is probably a sily question but I keep getting X11 and pgplot errors
when compiling things like:

/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
make[1]: *** [sm] Error 1

/usr/bin/ld: cannot find -lpgplot

The X libraries are installed as is pgplot with PGPLOT environment
settings all set.

If I check /etc/ld.so.conf:

/usr/kerberos/lib
/usr/X11R6/lib
/usr/lib/qt-3.0.3/lib
/usr/lib/qt2/lib
/usr/lib/wine
/usr/lib/sane
/usr/local/pgplot

and

ldconfig -v | grep pgplot
ldconfig: Path `/sw/pgplot' given more than once
/usr/local/pgplot:
        libpgplot.so -> libpgplot.so


Doesn't this mean any -lpgplot calls should work?

ANy help would be appreciated.

Thanks,

Melinda

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to