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

Re: Upcoming Debian Releases: linking shlibs against shlibs...

On %M %N, Federico Di Gregorio wrote
> >* Link shared libs against other shared libs instead of static [14]
> To put it simply how do I link that way. I tryied to do that
> with the lib libtkstep4.2.so.1 in my package tkstep4.2 but
> when I ldd it I always obtain a "statically lynked" 
> message...

Use the appropriate -l options when running 'gcc -shared'.  For example,
to make libtkstep4.2.so.1 dynamically linked with libc, build like this

	gcc -shared -o libtkstep4.2.so.1 ... -lc

David Engel                        ODS Networks
david@sw.ods.com                   1001 E. Arapaho Road
(972) 234-6400                     Richardson, TX  75081

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .

Reply to: