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

Re: OT: compiler flags: what is "-lqt" ?



On Thu, Apr 19, 2001 at 08:39:08 -0700, Kenward Vaughan wrote:
> I get an error after the object file compilation about /usr/bin/ld being
> unable to find -lqt.  I assume this is the -lqt in the LIBS line.

> I'm not a programmer, so even my changes are guesses based on what I think
> I'm looking at in my directories.  Does someone know what I have to do?  

"-lqt" tells the linker to link against a library called "libqt.so" or
"libqt.a". The ".so" version is a symlink to the actual version, which is
something like "libqt.so.2.3.0".

In Debian, development versions of libraries are typically called something
like libfoo1.2-dev. In the case of Debian "unstable", the package you're
looking for is called simply "libqt-dev"; if you run a different tree, grep
for "libqt.so" in the appropriate "Contents" file of your local mirror.

So, install "libqt-dev" (or the appropriate one for your tree) and try
building it again.

HTH,
Ray
-- 
LEADERSHIP  A form of self-preservation exhibited by people with auto-
destructive imaginations in order to ensure that when it comes to the crunch 
it'll be someone else's bones which go crack and not their own.       
    - The Hipcrime Vocab by Chad C. Mulligan    



Reply to: