You are not logged in.

#1 2006-08-16 14:45:54

alikas
Member
From: Lithuania, Vilnius
Registered: 2006-05-24
Posts: 319
Website

Were must be libqt.so.2?

I want install waveforge and write, that need libqt.so.2.
I download from internet libqt.so.2 and do not know were paste it.
[al@myhost ~]$ '/home/al/tar.gz,tgz/waveforge.0.1.2/WaveForge'
/home/al/tar.gz,tgz/waveforge.0.1.2/WaveForge: error while loading shared libraries: libqt.so.2: cannot open shared object file: No such file or directory


Goodbye!

Offline

#2 2006-08-16 16:12:29

jaboua
Member
Registered: 2005-11-05
Posts: 634

Re: Were must be libqt.so.2?

Just in case: make sure QT is installed...


I don't have QT installed now so I can't test your app, but this error usually means that the app is compiled for another version of QT. In most cases symlinking would work. Run something like this as root:

ln -s /usr/lib/libqt.so /usr/lib/libqt.so.2

If the above command says that there is no such file or directory, try looking for libqt:

locate libqt.so

And then replace /usr/lib/libqt.so with the location of libqt.so or libqt.so.0 or something like that.

If the app still doesn't work, you have to recompile the application for your version of QT.

Offline

#3 2006-08-16 16:45:02

alikas
Member
From: Lithuania, Vilnius
Registered: 2006-05-24
Posts: 319
Website

Re: Were must be libqt.so.2?

In README file write: "Installation
============
Brief installation instructions:

make".
So I write make:
[al@myhost waveforge.0.1.2]$ make
make -e -C extension
make[1]: Entering directory `/home/al/tar.gz,tgz/waveforge.0.1.2/extension'
g++ -c Wave.cpp -Wall -I/usr/local/qt/include/
Wave.cpp:7:26: error: qapplication.h: Нет такого файла или каталога
In file included from Wave.h:5,
                 from Wave.cpp:8:
wavetypes.h:51:7: warning: no newline at end of file
In file included from Wave.cpp:8:
Wave.h:48:7: warning: no newline at end of file
Wave.cpp:367:2: warning: no newline at end of file
Wave.cpp: In constructor 'Wave::Wave(char*, int, int)':
Wave.cpp:18: error: 'fatal' was not declared in this scope
Wave.cpp:28: error: 'fatal' was not declared in this scope
Wave.cpp: In member function 'void* Wave::getData()':
Wave.cpp:97: error: 'fatal' was not declared in this scope
Wave.cpp: In member function 'void Wave::flush()':
Wave.cpp:105: error: 'fatal' was not declared in this scope
make[1]: *** [Wave.o] Ошибка 1
make[1]: Leaving directory `/home/al/tar.gz,tgz/waveforge.0.1.2/extension'
make: *** [dirs] Ошибка 2

I make how yuo say, then:
[al@myhost ~]$ '/home/al/tar.gz,tgz/waveforge.0.1.2/WaveForge'
/home/al/tar.gz,tgz/waveforge.0.1.2/WaveForge: error while loading shared libraries: libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory

So maybe I can install something package, that not dowload, maybe, ten or more files?


Goodbye!

Offline

#4 2006-08-17 06:13:10

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: Were must be libqt.so.2?

libqt.so.2 is QT 2.x, which won't work with symlinking to 3.x libraries. The libstdc++ libc thingy also shows that this package is really outdated, it links to glibc 2.1, which was outdated even long before the first version of arch existed.

Looking at the compile errors, I think this is very old software that would need fixing to get it compiled with any compiler more recent than gcc 2.95.

Offline

#5 2006-08-17 10:49:52

alikas
Member
From: Lithuania, Vilnius
Registered: 2006-05-24
Posts: 319
Website

Re: Were must be libqt.so.2?

So waveforge.0.1.2 is old software and I can not install it, yes?
Thanks!


Goodbye!

Offline

Board footer

Powered by FluxBB