Mailing List Archive

Support open source code!


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

Re: tlug: PJE



On Fri, 21 Aug 1998, Chris Sekiya wrote:

> On Fri, 21 Aug 1998, Manuel M. T. Chakravarty wrote:
> 
> > Otherwise, you may try installing from source, but then you need to have
> > the development versions of all the needed libraries installed. 
> 
> Huh?  Only if you're planning to throw the resultant binaries on gdb. 
> Otherwise, should just be a straightforward compile. 
> 
> Unless RH doesn't install the library headers by default.  Scott, tell me
> that TL doesn't behave in this manner.

In order to link a library, you need to have either a .a or a .so file
(the .so file would be a symlink to the .so.major.minor file).  Most
library packages have something like

libfoo-1.0-1.i386.rpm
libfoo-devel-1.0-1.i386.rpm

whereas libfoo-xxx contains the shared library and things needed by
applications which need the shared library at runtime.  the libfoo-devel
package would contain the static (.a) library and the .so link (or not,
and let ldconfig make it), for compiling dynamic executables.  The header
files would be installed with the -devel package, as they're only needed
when compiling, and you can't compile without the .a or .so file anyway,
so they belong together.

--------------------------------------------------
Scott M. Stone <sstone@example.com, sstone@example.com>
               <sstone@example.com>
Head of TurboLinux Development/Systems Administrator
Pacific HiTech, Inc (USA) / Pacific HiTech, KK (Japan)
http://www.pht.com		http://armadillo.pht.co.jp
http://www.pht.co.jp	        http://www.turbolinux.com


--------------------------------------------------------------
Next Nomikai: 18 September, 19:30 Tengu TokyoEkiMae 03-3275-3691
Next Meeting: 10 October, Tokyo Station Yaesu central gate 12:30
--------------------------------------------------------------
Sponsor: PHT, makers of TurboLinux http://www.pht.co.jp


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links