Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tlug: X11 libs



--------------------------------------------------------
tlug note from Craig Oda <craig@example.com>
--------------------------------------------------------
On Sun, 11 May 1997, Jason Molenda wrote:

> --------------------------------------------------------
> tlug note from Jason Molenda <crash@example.com>
> --------------------------------------------------------
> 
> > I'm using   g++ -o secdb secdb.C -lXm -lXt -lX11   that's the command.
> 
> 
> gcc (or g++, same thing really) will only look in a few places by
> default for your library files.  Specifically, it won't look in
> /usr/X11R6/lib (or wherever your library files are).  If your X
> libraries are in /usr/X11/lib, then you'd want to run
> 
>  g++ -o secdb secdb.C -L/usr/X11/lib -lXm -lXt -lX11
> 
> If you're including X11 header files, you should probably have
> something like -I/usr/X11/include on your command line.  
> 
> There may be some sym-links to mae these header files or library files
> available invisibly.  But in general, you need to tell the compiler
> where they are.

 Just a thought, did you do the

   ldconfig -v

as root.

Also, do  
 
  $ cat /etc/ld.so.conf

and make sure you have the proper paths.



-----------------------------------------------------------------
a word from the sponsor will appear below
-----------------------------------------------------------------
The TLUG mailing list is proudly sponsored by TWICS - Japan's First
Public-Access Internet System.  Now offering 20,000 yen/year flat
rate Internet access with no time charges.  Full line of corporate
Internet and intranet products are available.   info@example.com
Tel: 03-3351-5977   Fax: 03-3353-6096


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links