Sunday, July 6th 2008, 4:28pm UTC+1

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

sincnarf

Beginner

Posts: 5

Location: Philippines

Occupation: Programmer

1

Sunday, September 30th 2007, 9:33am

Unsolved ubuntu installation of qt problem

Hello I have problems on installing qt-x11-opensource-src-4.3.1 with Ubuntu Feisty Fawn. I followed the instruction on the INSTALL and README file that's unzipped from the archive.... Had errors on x11 so I followed the instructions on

Quoted

http://www.qtforum.org/thread.php?threadid=21636
but I get a different error this time.

nts/qt-x11-opensource-src-4.3.1/lib -lrt -lpthread -lXext -lX11 -lm -ldl
/usr/bin/ld: cannot find -lXext
collect2: ld returned 1 exit status
make[1]: *** [../../lib/libQtGui.so.4.3.1] Error 1
make[1]: Leaving directory `/home/cisnarf/Documents/qt-x11-opensource-src-4.3.1/src/gui'
make: *** [sub-gui-make_default-ordered] Error 2


I badly need to compile qt on Ubuntu. By the way I used the same qt install (qt-x11-opensource-src-4.3.1) on Mandriva Linux 2007 and the installation went smoothly.
-Qt, teach me-
  • Go to the top of the page

Messenger

Intermediate

Posts: 325

Location: Lt

2

Sunday, September 30th 2007, 9:52am

RE: Unsolved ubuntu installation of qt problem

Xext is X server extensions (as follows from name). You need to review all ubuntu (I use mandriva. still waiting for 2008) packages and find one with libXext....so file.
Done googling. Something like. But first search your official ubuntu repositories.

http://www.google.com/search?client=oper…=utf-8&oe=utf-8

http://packages.ubuntu.com/feisty/libdevel/libxext-dev

http://packages.ubuntu.com/feisty/libs/libxext6

Quoted


usr/lib/libXext.so.6 libs/libxext6
usr/lib/libXext.so.6.4.0 libs/libxext6
usr/share/doc/libxext6/changelog.Debian.gz libs/libxext6
usr/share/doc/libxext6/changelog.gz libs/libxext6
usr/share/doc/libxext6/copyright libs/libxext6


If you have one (libXext.so.x.x.x) and do not have libXext.so then do symbolic link
As I remember (but check documentation of ln). Edit. I think this step is not needed.
] cd /usr/lib
] ln -s libXext.so.6.4.0 libXext.so

I have not used linux quite a time. Something could slipped. Install devel package also (I think dev package will solve everything).
Fighting fire with fire.

This post has been edited 2 times, last edit by "Messenger" (Sep 30th 2007, 9:57am)

  • Go to the top of the page

jferrando

Beginner

Posts: 7

Location: Vila-real / Spain

Occupation: Tech Mgr / Industrial Automation

3

Friday, October 26th 2007, 7:27pm

RE: Unsolved ubuntu installation of qt problem

You need to install the development libraries.
I usually install:
libpq-dev
libx11-dev
libxext-dev

Then
$ ./configure
$ make
$ sudo make install

You will need to edit the ~/.bash_profile file and add
export PATH=/usr/local/Trolltech/Qt-4.3.1/bin:$PATH
  • Go to the top of the page

4

Friday, February 29th 2008, 1:25pm

RE: Unsolved ubuntu installation of qt problem

Thanks for the replies. Installing the dev libraries worked for me!
  • Go to the top of the page

Rate this thread