Error compiling QT dependant programs

I have the latest SUSE 9.1 x86_64 bit version installed. I am having problems compiling programs (that require kde at least). I can't configure without performing a export QTDIR=/usr/lib/qt3/lib64 after which configure runs fine... but at the make stage I get the following error grep: /usr/lib/libart_lgpl_2.la: No such file or directory Shouldn't it be looking for the file in /usr/lib64 How can I change it so that it will use the /usr/lib64 libraries? This is my ld.so.conf... /usr/X11R6/lib64/Xaw95 /usr/X11R6/lib64/Xaw3d /usr/X11R6/lib64 /usr/X11R6/lib/Xaw95 /usr/X11R6/lib/Xaw3d /usr/X11R6/lib /usr/x86_64-suse-linux/lib64 /usr/x86_64-suse-linux/lib /usr/local/lib /usr/openwin/lib /opt/kde/lib /opt/kde2/lib /opt/kde3/lib /opt/gnome/lib /opt/gnome2/lib /lib64 /lib /usr/lib64 /usr/lib /usr/local/lib64 /usr/openwin/lib64 /opt/kde/lib64 /opt/kde2/lib64 /opt/kde3/lib64 /opt/gnome/lib64 /opt/gnome2/lib64

* Steve Wagoner <mars@marsonist.com> [040512 13:44]:
I have the latest SUSE 9.1 x86_64 bit version installed. I am having problems compiling programs (that require kde at least).
I can't configure without performing a export QTDIR=/usr/lib/qt3/lib64
better use --with-qt-libraries=/usr/lib/qt3/lib64
after which configure runs fine... but at the make stage I get the following error
grep: /usr/lib/libart_lgpl_2.la: No such file or directory
Shouldn't it be looking for the file in /usr/lib64
How can I change it so that it will use the /usr/lib64 libraries?
Try adding --libdir=/usr/lib64 to the configure call
-- Check the List-Unsubscribe header to unsubscribe For additional commands, email: suse-amd64-help@suse.com
Stefan -- Stefan Fent SuSE Linux AG, Maxfeldstr. 5, D-90409 Nuernberg

Steve Wagoner wrote:
I have the latest SUSE 9.1 x86_64 bit version installed. I am having problems compiling programs (that require kde at least).
I can't configure without performing a export QTDIR=/usr/lib/qt3/lib64
after which configure runs fine... but at the make stage I get the following error
grep: /usr/lib/libart_lgpl_2.la: No such file or directory
Shouldn't it be looking for the file in /usr/lib64
How can I change it so that it will use the /usr/lib64 libraries?
This is my ld.so.conf...
/usr/X11R6/lib64/Xaw95 /usr/X11R6/lib64/Xaw3d /usr/X11R6/lib64 /usr/X11R6/lib/Xaw95 /usr/X11R6/lib/Xaw3d /usr/X11R6/lib /usr/x86_64-suse-linux/lib64 /usr/x86_64-suse-linux/lib /usr/local/lib /usr/openwin/lib /opt/kde/lib /opt/kde2/lib /opt/kde3/lib /opt/gnome/lib /opt/gnome2/lib /lib64 /lib /usr/lib64 /usr/lib /usr/local/lib64 /usr/openwin/lib64 /opt/kde/lib64 /opt/kde2/lib64 /opt/kde3/lib64 /opt/gnome/lib64 /opt/gnome2/lib64
I haven't tried export, but ./configure --prefix=/opt/kde3 --with-qt-dir=/usr/lib64/qt3 --with-qt-includes=/usr/lib64/qt3/include --with-qt-libraries=/usr/lib64/qt3/lib64 while building kmymoney builds until it tries to link /usr/lib/libpcreposix.la, which is only in /usr/lib64, when it builds libtool, it inserts lib and not lib64 into the lib searchpath lines, even changing libtool to lib64 still makes it look in /usr/lib. Giving configure just --with-qt-dir=/usr/lib64/qt3 doesn't, config.log still looks for /usr/lib/qt3. My ld.so.conf is the same as above. It doesn't seem at all straightforward. Regards Sid. -- Sid Boyce .... Hamradio G3VBV and keen Flyer Linux Only Shop.

Hi, On Wed, 12 May 2004, Sid Boyce wrote:
Steve Wagoner wrote:
grep: /usr/lib/libart_lgpl_2.la: No such file or directory
Shouldn't it be looking for the file in /usr/lib64
How can I change it so that it will use the /usr/lib64 libraries?
I haven't tried export, but ./configure --prefix=/opt/kde3 --with-qt-dir=/usr/lib64/qt3 --with-qt-includes=/usr/lib64/qt3/include --with-qt-libraries=/usr/lib64/qt3/lib64 while building kmymoney builds until it tries to link /usr/lib/libpcreposix.la, which is only in /usr/lib64, when it builds libtool, it inserts lib and not lib64 into the lib searchpath lines, even changing libtool to lib64 still makes it look in /usr/lib. Giving configure just --with-qt-dir=/usr/lib64/qt3 doesn't, config.log still looks for /usr/lib/qt3.
You both should try "--enable-libsuffix=64" as additional configure argument. Ciao, Michael.

Michael Matz wrote:
Hi,
On Wed, 12 May 2004, Sid Boyce wrote:
Steve Wagoner wrote:
grep: /usr/lib/libart_lgpl_2.la: No such file or directory
Shouldn't it be looking for the file in /usr/lib64
How can I change it so that it will use the /usr/lib64 libraries?
I haven't tried export, but ./configure --prefix=/opt/kde3 --with-qt-dir=/usr/lib64/qt3 --with-qt-includes=/usr/lib64/qt3/include --with-qt-libraries=/usr/lib64/qt3/lib64 while building kmymoney builds until it tries to link /usr/lib/libpcreposix.la, which is only in /usr/lib64, when it builds libtool, it inserts lib and not lib64 into the lib searchpath lines, even changing libtool to lib64 still makes it look in /usr/lib. Giving configure just --with-qt-dir=/usr/lib64/qt3 doesn't, config.log still looks for /usr/lib/qt3.
You both should try "--enable-libsuffix=64" as additional configure argument.
Ciao, Michael.
The generated libtool still looks for /usr/lib/libpcreposix.la, so my guess is it's something in the configure file that only generates search paths only in /usr/lib. I've been looking, but so far haven't figured it ou. Regards Sid. -- Sid Boyce .... Hamradio G3VBV and keen Flyer Linux Only Shop.

Hi, On Thu, 13 May 2004, Sid Boyce wrote:
The generated libtool still looks for /usr/lib/libpcreposix.la, so my guess is it's something in the configure file that only generates search paths only in /usr/lib. I've been looking, but so far haven't figured it ou.
This would mean that some .la file directly hardcodes "/usr/lib/libpcreposix.la" in its dependency_libs list. This would be a bug in that .la file. Otherwise configure shouldn't look into /usr/lib at all (with that option), i.e. anything else also would be a bug. Ciao, Michael.

Michael Matz wrote:
Hi,
On Thu, 13 May 2004, Sid Boyce wrote:
The generated libtool still looks for /usr/lib/libpcreposix.la, so my guess is it's something in the configure file that only generates search paths only in /usr/lib. I've been looking, but so far haven't figured it ou.
This would mean that some .la file directly hardcodes "/usr/lib/libpcreposix.la" in its dependency_libs list. This would be a bug in that .la file. Otherwise configure shouldn't look into /usr/lib at all (with that option), i.e. anything else also would be a bug.
Ciao, Michael.
grep -r couldn't find any reference to libpcreposix.la. Adding --extra-libs=/usr/lib64 didn't change the search paths in libtool, so I get the same error. Perhaps you could have a go at building kmymoney2-0.6rc4 to see the problem. Regards Sid. -- Sid Boyce .... Hamradio G3VBV and keen Flyer Linux Only Shop.

"Steve Wagoner" <mars@marsonist.com> writes:
I have the latest SUSE 9.1 x86_64 bit version installed. I am having problems compiling programs (that require kde at least).
I can't configure without performing a export QTDIR=/usr/lib/qt3/lib64
after which configure runs fine... but at the make stage I get the following error
grep: /usr/lib/libart_lgpl_2.la: No such file or directory
Shouldn't it be looking for the file in /usr/lib64
Yes, it should. Add -Wl,-v to the command line and investigate why it looks there. Could also be a broken libtool that does not search lib64.
How can I change it so that it will use the /usr/lib64 libraries?
This is my ld.so.conf...
ld.so.conf is only about running of applications but not about linking of applications. Andreas -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SUSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
participants (5)
-
Andreas Jaeger
-
Michael Matz
-
Sid Boyce
-
Stefan Fent
-
Steve Wagoner