what is happening with -lxxx for .so libraries?
From: Andrei Voropaev (avorop_at_mail.ru)
Date: 02/28/05
- Next message: Måns Rullgård: "Re: what is happening with -lxxx for .so libraries?"
- Previous message: junky_fellow_at_yahoo.co.in: "Re: Extended attributes"
- Next in thread: Måns Rullgård: "Re: what is happening with -lxxx for .so libraries?"
- Reply: Måns Rullgård: "Re: what is happening with -lxxx for .so libraries?"
- Reply: Paul Pluzhnikov: "Re: what is happening with -lxxx for .so libraries?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 28 Feb 2005 13:13:05 GMT
Hello!
When creating .so libraries on the elf system, out of habbit, I was
always placing -lxxx switches, to indicate all of the libraries that I'm
linking against. One of my collegues didn't do that, but his so library
was still working. But today he tried to do the same thing on some other
machine and there things failed untill he added -lxxx switch. Now I got
curious, why?
Why it was working on the first machine and stopped on the other?
What is so different between the so linked with -lxxx switch and the one
linked without it? In both the symbols from other libraries are marked
with 'U'.
At first I thought that it has something to do with the placement of
those libxxxx.so. But on the machine, where things were failing these
libraries were in /usr/lib and on the machine where it worked it was in
the subdirectory of it.
-- Minds, like parachutes, function best when open
- Next message: Måns Rullgård: "Re: what is happening with -lxxx for .so libraries?"
- Previous message: junky_fellow_at_yahoo.co.in: "Re: Extended attributes"
- Next in thread: Måns Rullgård: "Re: what is happening with -lxxx for .so libraries?"
- Reply: Måns Rullgård: "Re: what is happening with -lxxx for .so libraries?"
- Reply: Paul Pluzhnikov: "Re: what is happening with -lxxx for .so libraries?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|