List:General Discussion« Previous MessageNext Message »
From:jan nusteling Date:November 1 2003 4:08pm
Subject:mysql library problem
View as plain text  
>Description:
I'm using SuSE linux 8.2 and making a database application with Qt.
I have installed all the packages needed.
Making the application is OK.

 jannus@flores:~/Remind_db> make
  g++  -o remind .obj/remind.o .obj/main.o .obj/createCon.o .obj/moc_remind.o
  -L/usr/lib/  -L/usr/lib/qt3/lib/ -L/usr/X11R6/lib/
  -L/usr/lib/qt3/plugins/sqldrivers/ -lq sqlmysql -lqt -lXext -lX11 -lm
 jannus@flores:~/Remind_db>

When running the program there is an error message like follows.

jannus@flores:~/Remind_db> ./remind
./remind: error while loading shared libraries: libqsqlmysql.so.1: cannot open
shared object file: No such file or directory

The contents of directory /usr/lib/qt3/plugins/sqldrivers is:

drwxr-xr-x    2 root     root     4096 Nov  1 15:54 ./
drwxr-xr-x    5 root     root     4096 Oct 25 11:53 ../
-rwxr-xr-x    1 root     root    35680 Mar 17  2003 libqsqlmysql.non-mt.so*
-rwxr-xr-x    1 root     root    35720 Mar 17  2003 libqsqlmysql.so*

derived from package  qt3-mysql-3.1.1-68.i586.rpm

Can you tell me what's wrong?

Thanks in advance!
	
>How-To-Repeat:
	
>Fix:
	

>Submitter-Id:	<submitter ID>
>Originator:	jan nusteling
>Organization:
 
>MySQL support: [none | licence | email support | extended email support ]
>Synopsis:	
>Severity:	
>Priority:	
>Category:	mysql
>Class:		
>Release:	mysql-3.23.55 (Source distribution)
>Server: /usr/bin/mysqladmin  Ver 8.23 Distrib 3.23.55, for suse-linux on i686
Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license

Server version		3.23.55-log
Protocol version	10
Connection		Localhost via UNIX socket
UNIX socket		/var/lib/mysql/mysql.sock
Uptime:			2 hours 6 min 51 sec

Threads: 1  Questions: 2  Slow queries: 0  Opens: 6  Flush tables: 1  Open 
tables: 0 Queries per second avg: 0.000
>Environment:
	
System: Linux flores 2.4.20-4GB #1 Mon Mar 17 17:54:44 UTC 2003 i686 unknown 
unknown GNU/Linux
Architecture: i686

Some paths:  /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc 
/usr/bin/cc
GCC: Reading specs from /usr/lib/gcc-lib/i486-suse-linux/3.3/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr 
--with-local-prefix=/usr/local --infodir=/usr/share/info 
--mandir=/usr/share/man --libdir=/usr/lib 
--enable-languages=c,c++,f77,objc,java,ada --disable-checking --enable-libgcj 
--with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib 
--with-system-zlib --enable-shared --enable-__cxa_atexit i486-suse-linux
Thread model: posix
gcc version 3.3 20030226 (prerelease) (SuSE Linux)
Compilation info: CC='gcc'  CFLAGS='-O2 -march=i586 -mcpu=i686 
-fmessage-length=0 -DPIC -fPIC'  CXX='g++'  CXXFLAGS='-O2 -march=i586 
-mcpu=i686 -fmessage-length=0 				-felide-constructors 				-fno-exceptions 				
-fno-rtti 				-fPIC -DPIC'  LDFLAGS=''
LIBC: 
-rwxr-xr-x    1 root     root      1491599 2003-03-14 00:33 /lib/libc.so.6
-rw-r--r--    1 root     root     43012516 2003-03-14 00:13 /usr/lib/libc.a
-rw-r--r--    1 root     root          204 2003-03-14 00:13 /usr/lib/libc.so
Configure command: ./configure '--disable-shared' 
'--with-mysqld-ldflags=-static' '--with-client-ldflags=-static' 
'--without-berkeley-db' '--without-innodb' '--enable-assembler' 
'--enable-large-files' '--infodir=/usr/share/info' '--libdir=/usr/lib' 
'--libexecdir=/usr/sbin' '--localstatedir=/var/lib/mysql' 
'--mandir=/usr/share/man' '--prefix=/usr' '--sysconfdir=/etc' 
'--with-mysqld-user=mysql' '--without-debug' '--datadir=/usr/share' 
'--includedir=/usr/include' '--with-extra-charsets=complex' 
'--with-unix-socket-path=/var/lib/mysql/mysql.sock' '--with-libwrap' 
'CFLAGS=-O2 -march=i586 -mcpu=i686 -fmessage-length=0 -DPIC -fPIC' 
'CXXFLAGS=-O2 -march=i586 -mcpu=i686 -fmessage-length=0 				
-felide-constructors 				-fno-exceptions 				-fno-rtti 				-fPIC -DPIC'


Thread
mysql library problemjan nusteling1 Nov
  • Problem with query comparing to a DATE on Linux OpenOfficeMarc11 Nov