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

Re: First package: A library



On Tue, May 19, 1998 at 09:23:38PM +0300, Fabrizio Polacco wrote:
> > 
> libgc4 and libgc4-dev you should consider if you want to build a libgc4-dbg
>  [...]
> -shared -Wl,-soname,libgc4.so.4 -o libgc4.so.4.13alpha1 

-shared -Wl,-soname,libgc.so.4 -o libgc.so.4.13alpha1 

Sorry, while the major version number is added to the package name to permit
installation of several versions of the same lib, this is not needed in the
actual name of the library files or in the soname, as it already include the
version.
I cut-n-pasted those lines from libdb2 which adds the major number to the
soname to permit coexistance with a different instance of the same lib, same
version. That was a really unfortunate case.


> Build the static lib in the usual way, while you can create the shared lib
> using   -shared -Wl,-soname,libgc4.so.4 -o libgc4.so.4.13alpha1   as usual,
> but without stripping it.

The same applies here:
using   -shared -Wl,-soname,libgc.so.4 -o libgc.so.4.13alpha1   as usual,


fab
-- 
| fpolacco@icenet.fi    fpolacco@debian.org    fpolacco@pluto.linux.it
| 6F7267F5 fingerprint 57 16 C4 ED C9 86 40 7B 1A 69 A1 66 EC FB D2 5E
> support the open-source initiative! http://www.opensource.org/


--
To UNSUBSCRIBE, email to debian-mentors-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: