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

Re: Help me fix a bug!



> On Sat, Mar 14, 1998 at 02:05:23PM +0100, Ole J. Tetlie wrote:
> > OK. It is statically linked, but how do I make it dynamically linked?
> > I tried adding -lc to the Makefile, but to no avail:
> 
> You did it right.
> > gcc -fPIC -o verbose.o -c -s -Wall -O2 -I. verbose.c
> > gcc -shared -Wl,-soname,libshhmsg.so.1 -o libshhmsg.so.1.3.3 vars.o streams.o progname.o errno.o error.o fatal.o message.o verbose.o -lc
> 
> However,
> > [olet@apollo] ~/debian/shhmsg/shhmsg-1.3.3> ldd libshhmsg.so.1.3.3
> >         statically linked
> 
> this isn't the right test. ldd's search behaviour is quite peculiar: the ldd

Peculiar indeed. Is there any reason for this? I can hardly see ldd
as a severe security hazard...

> you did is on the installed library. If you do ldd ./libshhmsg.so.1.3.1
>                                                    ^^
> you'll see that the library you've now built has the dependency information.

Smegg! I've been holding my bug-fix release for three days because of
this (I even got a nag --- aka personal failure :-). Perhaps lintian
should say make us aware of this in the info for the warning?

-- 
/\/\/\/\/\/\ Ole J. Tetlie, stud. CS & math, U. of Oslo /\/\/\/\/\/\
olet@ifi.uio.no | http://www.stud.ifi.uio.no/~olet/ | Take a look at:
olet@debian.org | Cxu vi parlas esperanton?         | http.../~olet/world.html
\/\/\/\/\/\/  Eiffel - Debian  GNU/Linux - KDE - Gnome  \/\/\/\/\/\/


--
E-mail the word "unsubscribe" to debian-devel-request@lists.debian.org
TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble? E-mail to listmaster@lists.debian.org


Reply to: