Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

How do you know what -lqt-mt is?

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
jw3525
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 114
Joined: Thu Apr 17, 2003 4:49 am
Location: Moscow, ID

How do you know what -lqt-mt is?

  • Quote

Post by jw3525 » Sat Nov 22, 2003 5:53 am

Does anyone know how you can figure out where a library such as -lqt-mt is? I have a compile that says it cannot find it. But I see something called libqt-mt.so in my /usr/qt/3/lib directory.


Any thoughts?


Joe
Top
Jesse
Tux's lil' helper
Tux's lil' helper
Posts: 148
Joined: Wed Apr 24, 2002 2:05 am

  • Quote

Post by Jesse » Sat Nov 22, 2003 6:48 am

Hmm, seems you already know where it is :)

Add -L/usr/qt/3/lib to the compile line and see if that helps.

As for locating libraries I'm not sure. Usually I might try to ldd a certain binary and hope it dynamically links to the one I want. For instance: ldd /usr/kde/3.1/bin/kate will print out a bunch of libraries. And then I try to find the location of the one I'm looking for. Haven't had to do this much though ...
Top
jw3525
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 114
Joined: Thu Apr 17, 2003 4:49 am
Location: Moscow, ID

  • Quote

Post by jw3525 » Sat Nov 22, 2003 6:52 am

First, I circumvented the issue by making a dir called /usr/qt/3/lib64 that contains all of what /usr/qt/3/lib contained. Now, the configure gets further (some other bullSH*$ problem). Anyway, I need to know why the configure was looking at /usr/qt/3/lib64 when that directory never existed. Someone told it to look in that directory and it wasnt me. What file is configured to do that. Is this a bug?

How could I be the only person seeing this?

Thanks
Joe
Top
Jesse
Tux's lil' helper
Tux's lil' helper
Posts: 148
Joined: Wed Apr 24, 2002 2:05 am

  • Quote

Post by Jesse » Sat Nov 22, 2003 7:01 am

lib64 eh? What architecture are you running? The new AMD's or Itanium? I would fathum that when you emerged qt something was awol and it somehow detected your machine as 64bit perhaps?

Do you have any specific 'exports' that affect QT. Namely, QTDIR="/usr/qt/3" and maybe LD_LIBRARY_PATH="/usr/qt/3/lib:/usr/kde/3.1/lib (this is just an example and I don't think you really need this though you might) Does configure fail when it does it's "Checking for QT ..." parts?

Now, if you really are 64bit, I'm not really sure. What are your other errors now?
Top
jw3525
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 114
Joined: Thu Apr 17, 2003 4:49 am
Location: Moscow, ID

  • Quote

Post by jw3525 » Sat Nov 22, 2003 7:11 am

Jesse,

you are totally correct. All my failures are at the checking for qt parts.

Here is my /etc/ld.so.conf
/usr/local/lib
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3
/usr/lib/opengl/xfree/lib
/usr/lib/mozilla
/usr/X11R6/lib
/opt/blackdown-jdk-1.4.1/jre/lib/i386/
/opt/blackdown-jdk-1.4.1/jre/lib/i386/native_threads/
/usr/qt/3/lib
/usr/kde/3.1/lib
/usr/games/lib
My emerge info:

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.22)
=================================================================
System uname: 2.4.22 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache -autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/gentoo http://csociety-ftp.ecn.purdue.edu/pub/gentoo http://gentoo.mirrors.pair.com/ http://adelie.polymtl.ca/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="oss crypt encode mad mikmod ncurses quicktime truetype xv directfb gdbm berkdb slang tetex aalib nas svga ggi guile sdl gpm python esd imlib oggvorbis motif gphoto2 scanner acpi apache2 apm arts avi cdr cups doc foomaticdb gif -gnome -gtk gtk2 imap innodb java jpeg kde libg++ libwww maildir mbox mmx mozilla mpeg mysql nls oci8 odbc opengl pam pdflib perl png postgres prelude qt readline samba sasl slp snmp spell ssl tcltk tcpd usb videos wmf X xml xml2 xmms xosd zlib x86"
I have no clue why I'd be having these issues. Just for fun here is more info

here is my ldconfig -v | grep qt
libqthreads.so.0 -> libqthreads.so.0.0.1
libqthreads.so.12 -> libqthreads.so.12.3.0
/usr/qt/3/lib:
libqt-mt.so.3 -> libqt-mt.so.3.2.2
libqtmcop.so.1 -> libqtmcop.so.1.0.0

I just dont see why that configure step would look for qt libraries in /usr/qt/3/lib64 That directory didnt exist at all. In fact, the only lib64 dirs that I have (that I know of) are /lib64 and /usr/lib64

Only after making a copy of /usr/qt/3/lib to /usr/qt/3/lib64 did I get past that 'checking for qt' step.

What do you think now?


Joe
Top
Jesse
Tux's lil' helper
Tux's lil' helper
Posts: 148
Joined: Wed Apr 24, 2002 2:05 am

  • Quote

Post by Jesse » Sat Nov 22, 2003 7:25 am

Well that's just odd :)

Lemme get this straight. You run ./configure and it goes on merrily until it reaches Checking for QT ... At this point it fails because the libs are not in a specific directory /usr/qt/3/lib64 ?

What package are you trying to build? Maybe it's their ./configure that's messed up. Does it have a ./autogen.sh file or maybe a Makefile.cvs in the toplevel directory. If it does either do ./autogen and reconfigure or do make -f Makefile.cvs and reconfigure.

There's no reason configure shouldn't look in lib when everything else tells it to.
Top
jw3525
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 114
Joined: Thu Apr 17, 2003 4:49 am
Location: Moscow, ID

  • Quote

Post by jw3525 » Sat Nov 22, 2003 7:27 am

Well, I type "emerge kportage" or "emerge ksambaplugin" and it just goes until 'checking for QT' and then it takes a dump.


You're level of stumpitude on this issue is appreciated, though. If you notice the last 50 posts I've made in the past 3 days have been about this. I had the problem months ago, posted, got nowhere and quit. Now, I am fighting the good fight.

I REALLY WANT TO SOLVE THIS

joe
Top
Post Reply

7 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic