Re: Static Compiling -> -static option problem



>Okay, its all right!
>But now, the linker not found -lSM (SM library) but I don't know what is
>this library (I don't know so many libraries!) and others,
>now I downloaded the libsmi...i386.rpm packages but happened the same
>thing... cannot find -lSM.
>
>Someone can help-me in this ?

havoc has already explained the basics.

for every library that you want to link statically, you have to have a
static copy of the library, typically called "libsomething.a". if you
don't have them on your system, all too common in an age where people
are just downloading RPMs without any real clue of what they are or
whats in them, you'll need to get them either by finding a -devel RPM,
or by building it from source yourself.

--p



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